diff --git a/include/common_structs.h b/include/common_structs.h index 61d197f629..4fc4ac9466 100644 --- a/include/common_structs.h +++ b/include/common_structs.h @@ -2208,26 +2208,6 @@ typedef struct PartnerActionStatus { /* 0x35C */ char unk_35C[0x4]; } PartnerActionStatus; // size = 0x360 -typedef struct Temp8025D160 { - /* 0x00 */ s32 unk_00; - /* 0x04 */ char unk_04[8]; - /* 0x0C */ struct Temp8025D160_2* unk_0C; -} Temp8025D160; // size = 0x10 (?) - -typedef struct Temp8025D160_2 { - /* 0x00 */ s32 unk_00; - /* 0x04 */ f32 unk_04; - /* 0x08 */ f32 unk_08; - /* 0x0C */ f32 unk_0C; - /* 0x10 */ char unk_10[12]; - /* 0x1C */ s32 unk_1C; - /* 0x20 */ s32 unk_20; - /* 0x24 */ char unk_24[8]; - /* 0x2C */ s32 unk_2C; - /* 0x30 */ s32 unk_30; - /* 0x34 */ f32 unk_34; -} Temp8025D160_2; // size = 0x38 (?) - typedef struct EntityModel { /* 0x00 */ s32 flags; /* 0x04 */ u8 renderMode; diff --git a/include/effects.h b/include/effects.h index c4e47af3df..4b458408f0 100644 --- a/include/effects.h +++ b/include/effects.h @@ -545,6 +545,27 @@ typedef struct EffectWhirlwind { /* 0x30 */ f32 unk_30; } EffectWhirlwind; +typedef struct Effect6BData { + /* 0x00 */ s32 unk_00; + /* 0x04 */ Vec3f pos; + /* 0x10 */ char unk_10[12]; + /* 0x1C */ s32 unk_1C; + /* 0x20 */ s32 unk_20; + /* 0x24 */ char unk_24[8]; + /* 0x2C */ s32 unk_2C; + /* 0x30 */ s32 unk_30; + /* 0x34 */ f32 scale; + /* 0x38 */ f32 unk_38; + /* 0x3C */ s32 unk_3C; + /* 0x40 */ char unk_40[0x4]; +} Effect6BData; // size = 0x44 + +typedef struct Effect6BInstance { + /* 0x00 */ s32 unk_00; + /* 0x04 */ char unk_04[8]; + /* 0x0C */ Effect6BData* data; +} Effect6BInstance; + typedef struct Effect6FData { /* 0x00 */ EffectInstanceDataThing* unk_00; /* 0x04 */ Vec3f pos; diff --git a/include/enums.h b/include/enums.h index cca5a0f7a4..f75c55c7d4 100644 --- a/include/enums.h +++ b/include/enums.h @@ -1652,6 +1652,8 @@ enum PlayerBuffs { enum StatusFlags { STATUS_FLAG_1 = 0x00000001, + STATUS_FLAG_8 = 0x00000008, + STATUS_FLAG_20 = 0x00000020, STATUS_FLAG_100 = 0x00000100, STATUS_FLAG_200 = 0x00000200, STATUS_FLAG_SLEEP = 0x00001000, diff --git a/include/functions.h b/include/functions.h index 2da947d1f9..d7a3d96333 100644 --- a/include/functions.h +++ b/include/functions.h @@ -769,6 +769,12 @@ void render_generic_entities_world(void); void render_effects_world(void); s32 get_asset_offset(char*, s32*); void initialize_status_menu(void); +void status_menu_start_blinking_fp(void); +void status_menu_start_blinking_hp(void); +void status_menu_start_blinking_sp(void); +void status_menu_stop_blinking_fp(void); +void status_menu_stop_blinking_hp(void); +void status_menu_stop_blinking_sp(void); void set_background_size(s16, s16, s16, s16); void read_background_size(BackgroundHeader*); void set_max_SP(s8); diff --git a/include/script_api/battle.h b/include/script_api/battle.h index 0d01bb56f8..67a298222a 100644 --- a/include/script_api/battle.h +++ b/include/script_api/battle.h @@ -175,6 +175,7 @@ ApiStatus RemovePlayerBuffs(Evt* script, s32 isInitialCall); ApiStatus SetPartAlpha(Evt* script, s32 isInitialCall); ApiStatus CreatePartShadow(Evt* script, s32 isInitialCall); ApiStatus RemovePartShadow(Evt* script, s32 isInitialCall); +ApiStatus func_8026F60C(Evt* script, s32 isInitialCall); ApiStatus SetBattleVar(Evt* script, s32 isInitialCall); ApiStatus GetBattleVar(Evt* script, s32 isInitialCall); ApiStatus ResetAllActorSounds(Evt* script, s32 isInitialCall); @@ -324,6 +325,7 @@ ApiStatus func_8026ED20(Evt* script, s32 isInitialCall); ApiStatus func_8026EBF8(Evt* script, s32 isInitialCall); ApiStatus SetupMashMeter(Evt* script, s32 isInitialCall); ApiStatus SetActionResult(Evt* script, s32 isInitialCall); +ApiStatus func_8024EB84(Evt* script, s32 isInitialCall); extern EvtScript PlayerScriptDispatcher; extern EvtScript PeachScriptDispatcher; @@ -376,6 +378,7 @@ extern EvtScript D_8029A76C; extern EvtScript D_80294720; extern EvtScript DoImmune; extern EvtScript DoDeath; +extern EvtScript D_8029AF08; extern EvtScript Collapse; extern EvtScript DoScareAway; extern EvtScript DoSpinSmashHit; diff --git a/include/script_api/macros.h b/include/script_api/macros.h index 8da11e64b9..b7188a5159 100644 --- a/include/script_api/macros.h +++ b/include/script_api/macros.h @@ -16,7 +16,10 @@ /// Decimal constant. /// Despite the name, "floats" are actually stored as fixed-point values. -#define EVT_FLOAT(DOUBLE) (((Bytecode)(DOUBLE * 1024.0f) + -230000000)) + + // This fixes an issue with fixed point numbers not being correct. POtentially a truncation vs round difference. +#define EVT_FLOAT_ROUND(x) ((x)>=0?(f64)((x) + 0.9):(f64)(x)) +#define EVT_FLOAT(DOUBLE) (((Bytecode)EVT_FLOAT_ROUND((DOUBLE * 1024.0f)) + -230000000)) /// Address/pointer constant. #define EVT_ADDR(sym) (((Bytecode) &((sym)))) diff --git a/src/16c8e0.c b/src/16c8e0.c index 0c3fcc5145..41dc9e4d56 100644 --- a/src/16c8e0.c +++ b/src/16c8e0.c @@ -63,7 +63,7 @@ EvtScript BtlBringPartnerOut = { EVT_SETF(EVT_VAR(0), EVT_FIXED(0.1)) EVT_LOOP(20) EVT_CALL(SetActorScale, 256, EVT_VAR(0), EVT_VAR(0), EVT_FIXED(1.0)) - EVT_ADDF(EVT_VAR(0), EVT_FIXED(0.05078125)) + EVT_ADDF(EVT_VAR(0), EVT_FIXED(0.05)) EVT_WAIT_FRAMES(1) EVT_END_LOOP EVT_CALL(SetActorScale, 256, EVT_FIXED(1.0), EVT_FIXED(1.0), EVT_FIXED(1.0)) diff --git a/src/1AF120.c b/src/1AF120.c index af01f62bf7..f593db254b 100644 --- a/src/1AF120.c +++ b/src/1AF120.c @@ -4,8 +4,6 @@ #include "script_api/battle.h" extern EvtScript D_80299828; -extern EvtScript D_8029AF08; -extern EvtScript D_8029A76C; extern EvtScript D_8029B818; ApiStatus GetDamageIntensity(Evt* script, s32 isInitialCall) { @@ -93,7 +91,7 @@ EvtScript D_80294AFC = { EVT_CALL(SetAnimation, ACTOR_SELF, LW(0), LW(1)) EVT_WAIT_FRAMES(10) EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.2001953125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.2)) EVT_CALL(SetGoalPos, ACTOR_PARTNER, LW(0), LW(1), LW(2)) EVT_CALL(JumpToGoal, ACTOR_PARTNER, 10, FALSE, TRUE, FALSE) EVT_CALL(SetGoalPos, ACTOR_PARTNER, LW(0), LW(1), LW(2)) @@ -119,7 +117,7 @@ EvtScript D_80294C68 = { EVT_CALL(GetGoalPos, ACTOR_PARTNER, LW(0), LW(1), LW(2)) EVT_SUB(LW(0), 60) EVT_ADD(LW(1), 40) - EVT_CALL(SetActorJumpGravity, ACTOR_PARTNER, EVT_FLOAT(0.1005859375)) + EVT_CALL(SetActorJumpGravity, ACTOR_PARTNER, EVT_FLOAT(0.1)) EVT_CALL(SetJumpAnimations, ACTOR_PARTNER, 0, LW(10), LW(10), LW(10)) EVT_CALL(SetGoalPos, ACTOR_PARTNER, LW(0), LW(1), LW(2)) EVT_CALL(JumpToGoal, ACTOR_PARTNER, 5, FALSE, FALSE, FALSE) @@ -141,7 +139,7 @@ EvtScript D_80294C68 = { EVT_CALL(GetGoalPos, ACTOR_PARTNER, LW(0), LW(1), LW(2)) EVT_ADD(LW(0), 30) EVT_SET(LW(1), 0) - EVT_CALL(SetActorJumpGravity, ACTOR_PARTNER, EVT_FLOAT(1.400390625)) + EVT_CALL(SetActorJumpGravity, ACTOR_PARTNER, EVT_FLOAT(1.4)) EVT_CALL(SetGoalPos, ACTOR_PARTNER, LW(0), LW(1), LW(2)) EVT_CALL(JumpToGoal, ACTOR_PARTNER, 15, FALSE, TRUE, FALSE) EVT_SUB(LW(0), 20) @@ -165,7 +163,7 @@ EvtScript D_80294FE4 = { EVT_CALL(GetGoalPos, ACTOR_PARTNER, LW(0), LW(1), LW(2)) EVT_SUB(LW(0), 60) EVT_ADD(LW(1), 40) - EVT_CALL(SetActorJumpGravity, ACTOR_PARTNER, EVT_FLOAT(0.1005859375)) + EVT_CALL(SetActorJumpGravity, ACTOR_PARTNER, EVT_FLOAT(0.1)) EVT_CALL(SetJumpAnimations, ACTOR_PARTNER, 0, LW(10), LW(10), LW(10)) EVT_CALL(SetGoalPos, ACTOR_PARTNER, LW(0), LW(1), LW(2)) EVT_CALL(JumpToGoal, ACTOR_PARTNER, 5, FALSE, FALSE, FALSE) @@ -187,7 +185,7 @@ EvtScript D_80294FE4 = { EVT_CALL(GetGoalPos, ACTOR_PARTNER, LW(0), LW(1), LW(2)) EVT_ADD(LW(0), 30) EVT_SET(LW(1), 0) - EVT_CALL(SetActorJumpGravity, ACTOR_PARTNER, EVT_FLOAT(1.400390625)) + EVT_CALL(SetActorJumpGravity, ACTOR_PARTNER, EVT_FLOAT(1.4)) EVT_CALL(SetGoalPos, ACTOR_PARTNER, LW(0), LW(1), LW(2)) EVT_CALL(JumpToGoal, ACTOR_PARTNER, 15, FALSE, TRUE, FALSE) EVT_SUB(LW(0), 20) @@ -212,7 +210,7 @@ EvtScript D_80295350 = { EVT_CALL(GetGoalPos, ACTOR_PARTNER, LW(0), LW(1), LW(2)) EVT_SUB(LW(0), 60) EVT_ADD(LW(1), 40) - EVT_CALL(SetActorJumpGravity, ACTOR_PARTNER, EVT_FLOAT(0.1005859375)) + EVT_CALL(SetActorJumpGravity, ACTOR_PARTNER, EVT_FLOAT(0.1)) EVT_CALL(SetJumpAnimations, ACTOR_PARTNER, 0, LW(10), LW(10), LW(10)) EVT_CALL(SetGoalPos, ACTOR_PARTNER, LW(0), LW(1), LW(2)) EVT_CALL(JumpToGoal, ACTOR_PARTNER, 5, FALSE, FALSE, FALSE) @@ -234,7 +232,7 @@ EvtScript D_80295350 = { EVT_CALL(GetGoalPos, ACTOR_PARTNER, LW(0), LW(1), LW(2)) EVT_ADD(LW(0), 30) EVT_SET(LW(1), 0) - EVT_CALL(SetActorJumpGravity, ACTOR_PARTNER, EVT_FLOAT(1.400390625)) + EVT_CALL(SetActorJumpGravity, ACTOR_PARTNER, EVT_FLOAT(1.4)) EVT_CALL(SetGoalPos, ACTOR_PARTNER, LW(0), LW(1), LW(2)) EVT_CALL(JumpToGoal, ACTOR_PARTNER, 15, FALSE, TRUE, FALSE) EVT_CALL(SetAnimation, ACTOR_PARTNER, -1, LW(12)) @@ -264,7 +262,7 @@ EvtScript D_80295744 = { EVT_CALL(GetGoalPos, ACTOR_PARTNER, LW(0), LW(1), LW(2)) EVT_SUB(LW(0), 60) EVT_ADD(LW(1), 40) - EVT_CALL(SetActorJumpGravity, ACTOR_PARTNER, EVT_FLOAT(0.1005859375)) + EVT_CALL(SetActorJumpGravity, ACTOR_PARTNER, EVT_FLOAT(0.1)) EVT_CALL(SetJumpAnimations, ACTOR_PARTNER, 0, LW(10), LW(10), LW(10)) EVT_CALL(SetGoalPos, ACTOR_PARTNER, LW(0), LW(1), LW(2)) EVT_CALL(JumpToGoal, ACTOR_PARTNER, 5, FALSE, FALSE, FALSE) @@ -287,7 +285,7 @@ EvtScript D_80295744 = { EVT_CALL(GetGoalPos, ACTOR_PARTNER, LW(0), LW(1), LW(2)) EVT_ADD(LW(0), 30) EVT_SET(LW(1), 0) - EVT_CALL(SetActorJumpGravity, ACTOR_PARTNER, EVT_FLOAT(1.400390625)) + EVT_CALL(SetActorJumpGravity, ACTOR_PARTNER, EVT_FLOAT(1.4)) EVT_CALL(SetGoalPos, ACTOR_PARTNER, LW(0), LW(1), LW(2)) EVT_CALL(JumpToGoal, ACTOR_PARTNER, 15, FALSE, TRUE, FALSE) EVT_SUB(LW(0), 20) @@ -312,7 +310,7 @@ EvtScript D_80295AC0 = { EVT_CALL(GetGoalPos, ACTOR_PARTNER, LW(0), LW(1), LW(2)) EVT_SUB(LW(0), 60) EVT_ADD(LW(1), 40) - EVT_CALL(SetActorJumpGravity, ACTOR_PARTNER, EVT_FLOAT(0.1005859375)) + EVT_CALL(SetActorJumpGravity, ACTOR_PARTNER, EVT_FLOAT(0.1)) EVT_CALL(SetJumpAnimations, ACTOR_PARTNER, 0, LW(10), LW(10), LW(10)) EVT_CALL(SetGoalPos, ACTOR_PARTNER, LW(0), LW(1), LW(2)) EVT_CALL(JumpToGoal, ACTOR_PARTNER, 5, FALSE, FALSE, FALSE) @@ -335,7 +333,7 @@ EvtScript D_80295AC0 = { EVT_CALL(GetGoalPos, ACTOR_PARTNER, LW(0), LW(1), LW(2)) EVT_ADD(LW(0), 30) EVT_SET(LW(1), 0) - EVT_CALL(SetActorJumpGravity, ACTOR_PARTNER, EVT_FLOAT(1.400390625)) + EVT_CALL(SetActorJumpGravity, ACTOR_PARTNER, EVT_FLOAT(1.4)) EVT_CALL(SetGoalPos, ACTOR_PARTNER, LW(0), LW(1), LW(2)) EVT_CALL(JumpToGoal, ACTOR_PARTNER, 15, FALSE, TRUE, FALSE) EVT_CALL(SetAnimation, ACTOR_PARTNER, -1, LW(12)) @@ -356,7 +354,7 @@ EvtScript D_80295AC0 = { EvtScript D_80295EC4 = { EVT_SET(LW(6), LW(3)) - EVT_CALL(SetActorJumpGravity, ACTOR_PARTNER, EVT_FLOAT(1.80078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_PARTNER, EVT_FLOAT(1.8)) EVT_CALL(GetActorPos, ACTOR_PARTNER, LW(7), LW(8), LW(9)) EVT_CALL(SetAnimation, ACTOR_PARTNER, -1, LW(2)) EVT_IF_EQ(LW(6), 000000) @@ -688,15 +686,15 @@ EvtScript D_802975C8 = { EVT_SETF(LW(0), EVT_FLOAT(1.0)) EVT_SETF(LW(1), EVT_FLOAT(1.0)) EVT_LOOP(10) - EVT_ADDF(LW(0), EVT_FLOAT(0.1005859375)) - EVT_SUBF(LW(1), EVT_FLOAT(0.080078125)) + EVT_ADDF(LW(0), EVT_FLOAT(0.1)) + EVT_SUBF(LW(1), EVT_FLOAT(0.08)) EVT_CALL(SetActorScale, ACTOR_PARTNER, LW(0), LW(1), EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(1) EVT_END_LOOP EVT_WAIT_FRAMES(45) EVT_LOOP(5) EVT_SUBF(LW(0), EVT_FLOAT(0.220703125)) - EVT_ADDF(LW(1), EVT_FLOAT(0.2001953125)) + EVT_ADDF(LW(1), EVT_FLOAT(0.2)) EVT_CALL(SetActorScale, ACTOR_PARTNER, LW(0), LW(1), EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(1) EVT_END_LOOP @@ -907,15 +905,15 @@ EvtScript D_80298374 = { EVT_SETF(LW(0), EVT_FLOAT(1.0)) EVT_SETF(LW(1), EVT_FLOAT(1.0)) EVT_LOOP(10) - EVT_ADDF(LW(0), EVT_FLOAT(0.1005859375)) - EVT_SUBF(LW(1), EVT_FLOAT(0.080078125)) + EVT_ADDF(LW(0), EVT_FLOAT(0.1)) + EVT_SUBF(LW(1), EVT_FLOAT(0.08)) EVT_CALL(SetActorScale, ACTOR_PLAYER, LW(0), LW(1), EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(1) EVT_END_LOOP EVT_WAIT_FRAMES(45) EVT_LOOP(5) EVT_SUBF(LW(0), EVT_FLOAT(0.220703125)) - EVT_ADDF(LW(1), EVT_FLOAT(0.2001953125)) + EVT_ADDF(LW(1), EVT_FLOAT(0.2)) EVT_CALL(SetActorScale, ACTOR_PLAYER, LW(0), LW(1), EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(1) EVT_END_LOOP @@ -1132,7 +1130,7 @@ EvtScript D_80298E20 = { EVT_END_IF EVT_CALL(GetStatusFlags, ACTOR_SELF, LW(5)) EVT_IF_FLAG(LW(5), STATUS_FLAG_SHRINK) - EVT_MULF(LW(3), EVT_FLOAT(0.400390625)) + EVT_MULF(LW(3), EVT_FLOAT(0.4)) EVT_END_IF EVT_CALL(GetActorFlags, ACTOR_SELF, LW(6)) EVT_IF_FLAG(LW(6), ACTOR_FLAG_HP_OFFSET_BELOW) @@ -1171,7 +1169,7 @@ EvtScript DoNormalHit = { EVT_END_CASE_GROUP EVT_CASE_DEFAULT EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.0107421875)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.01)) EVT_ADD(LW(1), 55) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(JumpToGoal, ACTOR_SELF, 10, FALSE, FALSE, FALSE) @@ -1190,7 +1188,7 @@ EvtScript DoNormalHit = { EVT_END_CASE_GROUP EVT_CASE_DEFAULT EVT_SUB(LW(1), 55) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.80078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.8)) EVT_IF_EQ(LW(1), 0) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(JumpToGoal, ACTOR_SELF, 15, FALSE, TRUE, FALSE) @@ -1442,7 +1440,7 @@ EvtScript DoBurnHit = { EVT_END_CASE_GROUP EVT_CASE_DEFAULT EVT_CALL(GetActorPos, ACTOR_SELF, LW(4), LW(5), LW(6)) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.0107421875)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.01)) EVT_ADD(LW(5), 55) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(4), LW(5), LW(6)) EVT_CALL(JumpToGoal, ACTOR_SELF, 8, FALSE, FALSE, FALSE) @@ -1461,7 +1459,7 @@ EvtScript DoBurnHit = { EVT_END_CASE_GROUP EVT_CASE_DEFAULT EVT_SUB(LW(5), 55) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.80078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.8)) EVT_IF_EQ(LW(5), 0) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(4), LW(5), LW(6)) EVT_CALL(JumpToGoal, ACTOR_SELF, 15, FALSE, TRUE, FALSE) @@ -1494,8 +1492,8 @@ EvtScript DoBurnHit = { EVT_CALL(GetActorSize, ACTOR_SELF, LW(3), LW(4)) EVT_CALL(GetStatusFlags, ACTOR_SELF, LW(5)) EVT_IF_FLAG(LW(5), STATUS_FLAG_SHRINK) - EVT_MULF(LW(3), EVT_FLOAT(0.400390625)) - EVT_MULF(LW(4), EVT_FLOAT(0.400390625)) + EVT_MULF(LW(3), EVT_FLOAT(0.4)) + EVT_MULF(LW(4), EVT_FLOAT(0.4)) EVT_END_IF EVT_DIVF(LW(3), EVT_FLOAT(2.0)) EVT_CALL(GetActorFlags, ACTOR_SELF, LW(5)) @@ -1508,7 +1506,7 @@ EvtScript DoBurnHit = { EVT_DIVF(LW(3), EVT_FLOAT(10.0)) EVT_CALL(GetStatusFlags, ACTOR_SELF, LW(5)) EVT_IF_FLAG(LW(5), STATUS_FLAG_SHRINK) - EVT_MULF(LW(3), EVT_FLOAT(0.400390625)) + EVT_MULF(LW(3), EVT_FLOAT(0.4)) EVT_IF_LT(LW(3), 1) EVT_SETF(LW(3), EVT_FLOAT(1.0)) EVT_END_IF @@ -1699,7 +1697,7 @@ EvtScript DoScareAway = { EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) EVT_CALL(SetAnimation, ACTOR_SELF, LW(0), LW(2)) EVT_CALL(GetActorFlags, ACTOR_SELF, LW(9)) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.05078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.05)) EVT_CALL(GetActorPos, ACTOR_SELF, LW(10), LW(11), LW(12)) EVT_SET(LW(13), LW(11)) EVT_ADD(LW(13), 20) @@ -1758,7 +1756,7 @@ EvtScript D_8029B494 = { EVT_CALL(SetGoalToTarget, ACTOR_SELF) EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), 0, LW(2)) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.1005859375)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.1)) EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(7.0)) EVT_CALL(JumpToGoal, ACTOR_SELF, 0, FALSE, TRUE, FALSE) EVT_CHILD_THREAD @@ -1782,7 +1780,7 @@ EvtScript D_8029B494 = { EVT_WAIT_FRAMES(20) EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_E) EVT_END_CHILD_THREAD - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.1005859375)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.1)) EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(6.0)) EVT_CALL(SetGoalPos, ACTOR_SELF, 296, 0, 0) EVT_CALL(JumpToGoal, ACTOR_SELF, 0, FALSE, TRUE, FALSE) @@ -1810,15 +1808,15 @@ EvtScript D_8029B8A8 = { EVT_SWITCH(LW(0)) EVT_CASE_LT(1000) EVT_CHILD_THREAD - EVT_CALL(ShakeCam, 1, 0, 3, EVT_FLOAT(0.30078125)) + EVT_CALL(ShakeCam, 1, 0, 3, EVT_FLOAT(0.3)) EVT_END_CHILD_THREAD EVT_CASE_LT(2000) EVT_CHILD_THREAD - EVT_CALL(ShakeCam, 1, 0, 3, EVT_FLOAT(0.6005859375)) + EVT_CALL(ShakeCam, 1, 0, 3, EVT_FLOAT(0.6)) EVT_END_CHILD_THREAD EVT_CASE_DEFAULT EVT_CHILD_THREAD - EVT_CALL(ShakeCam, 1, 0, 3, EVT_FLOAT(0.900390625)) + EVT_CALL(ShakeCam, 1, 0, 3, EVT_FLOAT(0.9)) EVT_END_CHILD_THREAD EVT_END_SWITCH EVT_RETURN @@ -1832,7 +1830,7 @@ EvtScript DoSpinSmashHit = { EVT_EXEC_WAIT(D_8029B494) EVT_CALL(SetActorPos, ACTOR_SELF, -200, 30, 0) EVT_CALL(SetGoalToHome, ACTOR_SELF) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.400390625)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.4)) EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(10.0)) EVT_CALL(AddGoalPos, ACTOR_SELF, -30, 0, 0) EVT_CALL(JumpToGoal, ACTOR_SELF, 0, FALSE, TRUE, FALSE) @@ -1892,7 +1890,7 @@ EvtScript DoJumpBack = { EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_SET(LW(1), 0) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.400390625)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.4)) EVT_CALL(AddGoalPos, ACTOR_SELF, 30, 0, 0) EVT_CALL(JumpToGoal, ACTOR_SELF, 15, FALSE, TRUE, FALSE) EVT_CALL(AddGoalPos, ACTOR_SELF, 15, 0, 0) @@ -1920,7 +1918,7 @@ EvtScript DoReturnHome = { EvtScript DoRecover = { EVT_CALL(SetAnimation, ACTOR_SELF, LW(0), LW(1)) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.80078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.8)) EVT_CALL(GetActorPos, ACTOR_SELF, LW(7), LW(8), LW(9)) EVT_CALL(GetActorFlags, ACTOR_SELF, LW(0)) EVT_IF_FLAG(LW(0), ACTOR_FLAG_FLYING) diff --git a/src/battle/area_arn/4FEA50.c b/src/battle/area_arn/4FEA50.c deleted file mode 100644 index d25f63e557..0000000000 --- a/src/battle/area_arn/4FEA50.c +++ /dev/null @@ -1,7 +0,0 @@ -#include "common.h" - -#define NAMESPACE b_area_arn - -#include "common/StartRumbleWithParams.inc.c" - -#include "common/BattleAreaAngleStuff.inc.c" diff --git a/src/battle/area_arn/4FED30.c b/src/battle/area_arn/4FED30.c deleted file mode 100644 index 39dec34474..0000000000 --- a/src/battle/area_arn/4FED30.c +++ /dev/null @@ -1,10 +0,0 @@ -#include "common.h" - -#define NAMESPACE b_area_arn - -#define NAMESPACE dup_b_area_arn -#include "common/StartRumbleWithParams.inc.c" -#define NAMESPACE b_area_arn - -#define NAMESPACE dup_b_area_arn -#include "common/BattleAreaAngleStuff.inc.c" diff --git a/src/battle/area_arn/4FF010.c b/src/battle/area_arn/4FF010.c deleted file mode 100644 index 75f04cdaae..0000000000 --- a/src/battle/area_arn/4FF010.c +++ /dev/null @@ -1,9 +0,0 @@ -#include "battle/battle.h" - -#define NAMESPACE b_area_arn - -#define NAMESPACE dup2_b_area_arn -#include "common/StartRumbleWithParams.inc.c" -#define NAMESPACE b_area_arn - -#include "common/SetSpinSmashable.inc.c" diff --git a/src/battle/area_arn/4FF0D0.c b/src/battle/area_arn/4FF0D0.c deleted file mode 100644 index 3ecec469cb..0000000000 --- a/src/battle/area_arn/4FF0D0.c +++ /dev/null @@ -1,20 +0,0 @@ -#include "common.h" - -#define NAMESPACE b_area_arn - -ApiStatus func_80218680_4FF0D0(Evt* script, s32 isInitialCall) { - Bytecode *args = script->ptrReadPos; - Temp8025D160* temp8025D160 = (Temp8025D160*)evt_get_variable(script, *args++); - - s32 var1 = evt_get_variable(script, *args++); - s32 var2 = evt_get_variable(script, *args++); - s32 var3 = evt_get_variable(script, *args++); - f32 var4 = evt_get_float_variable(script, *args++); - - temp8025D160->unk_0C->unk_04 = var1; - temp8025D160->unk_0C->unk_08 = var2; - temp8025D160->unk_0C->unk_0C = var3; - temp8025D160->unk_0C->unk_34 = var4; - - return ApiStatus_DONE2; -} diff --git a/src/battle/area_arn/actor/hyper_cleft.c b/src/battle/area_arn/actor/hyper_cleft.c new file mode 100644 index 0000000000..fe663b6797 --- /dev/null +++ b/src/battle/area_arn/actor/hyper_cleft.c @@ -0,0 +1,840 @@ +#include "common.h" +#include "effects.h" +#include "battle/battle.h" +#include "script_api/battle.h" +#include "sprite/npc/cleft.h" + +#define NAMESPACE b_area_arn_hyper_cleft + +extern s32 N(idleAnimations_80221CD4)[]; +extern EvtScript N(init_80220CAC); +extern EvtScript N(idle_80221DD0); +extern EvtScript N(handleEvent_80222140); +extern EvtScript N(takeTurn_80221A58); +extern EvtScript N(takeTurn_80223B5C); +extern EvtScript N(nextTurn_80220D3C); +extern EvtScript N(80222F1C); +extern EvtScript N(80223310); + +s32 N(defenseTable_80220B40)[] = { + ELEMENT_NORMAL, 3, + ELEMENT_FIRE, 99, + ELEMENT_END, +}; + +s32 N(defenseTable_80220B54)[] = { + ELEMENT_NORMAL, 1, + ELEMENT_FIRE, 99, + ELEMENT_END, +}; + +s32 N(statusTable_80220B68)[] = { + STATUS_NORMAL, 0, + STATUS_DEFAULT, 0, + STATUS_SLEEP, 40, + STATUS_POISON, 50, + STATUS_FROZEN, 0, + STATUS_DIZZY, 50, + STATUS_FEAR, 0, + STATUS_STATIC, 50, + STATUS_PARALYZE, 50, + STATUS_SHRINK, 90, + STATUS_STOP, 90, + 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, 0, + STATUS_END, +}; + +ActorPartBlueprint N(partsTable_80220C14)[] = { + { + .flags = ACTOR_PART_FLAG_MULTI_TARGET, + .index = 1, + .posOffset = { 0, 0, 0 }, + .targetOffset = { 0, 22 }, + .opacity = 255, + .idleAnimations = N(idleAnimations_80221CD4), + .defenseTable = N(defenseTable_80220B40), + .eventFlags = ACTOR_EVENT_FLAG_SPIKY_TOP, + .elementImmunityFlags = 0, + .unk_1C = 246, + }, +}; + +ActorBlueprint NAMESPACE = { + .flags = 0, + .type = ACTOR_TYPE_HYPER_CLEFT, + .level = 15, + .maxHP = 4, + .partCount = ARRAY_COUNT(N(partsTable_80220C14)), + .partsData = N(partsTable_80220C14), + .script = N(init_80220CAC), + .statusTable = N(statusTable_80220B68), + .escapeChance = 70, + .airLiftChance = 30, + .spookChance = 30, + .baseStatusChance = 30, + .upAndAwayChance = 95, + .spinSmashReq = 0, + .powerBounceChance = 95, + .coinReward = 2, + .size = { 44, 36 }, + .hpBarOffset = { 0, 0 }, + .statusIconOffset = { -10, 20 }, + .statusMessageOffset = { 10, 20 }, +}; + +s32 N(idleAnimations_80220C60)[] = { + STATUS_NORMAL, NPC_ANIM_cleft_hyper_Anim_4, + STATUS_STONE, NPC_ANIM_cleft_hyper_still, + STATUS_SLEEP, NPC_ANIM_cleft_hyper_sleep, + STATUS_POISON, NPC_ANIM_cleft_hyper_Anim_4, + STATUS_STOP, NPC_ANIM_cleft_hyper_still, + STATUS_STATIC, NPC_ANIM_cleft_hyper_Anim_4, + STATUS_PARALYZE, NPC_ANIM_cleft_hyper_still, + STATUS_DIZZY, NPC_ANIM_cleft_hyper_dizzy, + STATUS_FEAR, NPC_ANIM_cleft_hyper_dizzy, + STATUS_END, +}; + +EvtScript N(init_80220CAC) = { + EVT_CALL(BindIdle, ACTOR_SELF, EVT_ADDR(N(idle_80221DD0))) + EVT_CALL(BindHandleEvent, ACTOR_SELF, EVT_ADDR(N(handleEvent_80222140))) + EVT_CALL(BindTakeTurn, ACTOR_SELF, EVT_ADDR(N(takeTurn_80221A58))) + EVT_CALL(BindNextTurn, ACTOR_SELF, EVT_ADDR(N(nextTurn_80220D3C))) + EVT_CALL(SetActorVar, ACTOR_SELF, 0, 0) + EVT_CALL(SetActorVar, ACTOR_SELF, 2, 0) + EVT_RETURN + EVT_END +}; + +EvtScript N(nextTurn_80220D3C) = { + EVT_CALL(GetBattlePhase, LW(0)) + EVT_SWITCH(LW(0)) + EVT_CASE_EQ(PHASE_PLAYER_BEGIN) + EVT_CASE_EQ(PHASE_ENEMY_BEGIN) + EVT_CASE_EQ(PHASE_ENEMY_END) + EVT_CALL(SetBattleVar, 1, 0) + EVT_CALL(SetActorVar, ACTOR_SELF, 2, 1) + EVT_END_SWITCH + EVT_RETURN + EVT_END +}; + +#include "common/StartRumbleWithParams.inc.c" + +EvtScript N(80220DC0) = { + EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE) + EVT_CALL(EnableIdleScript, ACTOR_SELF, 0) + EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER) + EVT_CALL(GetActorVar, ACTOR_SELF, 0, LW(0)) + EVT_IF_EQ(LW(0), 0) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_14) + EVT_CALL(BattleCamTargetActor, ACTOR_SELF) + EVT_CALL(MoveBattleCamOver, 20) + EVT_WAIT_FRAMES(20) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_POWER_UP) + EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_ADD(LW(1), 10) + EVT_CALL(PlayEffect, EFFECT_ID_6B, 6, LW(0), LW(1), LW(2), EVT_FLOAT(1.0), 45, 0, 0, 0, 0, 0, 0, 0) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_cleft_hyper_Anim_4) + EVT_WAIT_FRAMES(30) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(MoveBattleCamOver, 20) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.0)) + EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(JumpToGoal, ACTOR_SELF, 15, FALSE, TRUE, FALSE) + EVT_CALL(N(StartRumbleWithParams), 200, 10) + EVT_THREAD + EVT_CALL(ShakeCam, 1, 0, 5, EVT_FLOAT(1.5)) + EVT_END_THREAD + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x2D9) + EVT_CALL(PlayEffect, EFFECT_ID_06, 4, LW(0), LW(1), LW(2), 0, 0, 0, 0, 0, 0, 0, 0, 0) + EVT_THREAD + EVT_CALL(ShakeCam, 1, 0, 5, EVT_FLOAT(1.0)) + EVT_END_THREAD + EVT_CALL(SetActorVar, ACTOR_SELF, 0, 2) + EVT_CALL(SetIdleAnimations, ACTOR_SELF, 1, EVT_ADDR(N(idleAnimations_80220C60))) + EVT_CALL(EnableActorGlow, ACTOR_SELF, TRUE) + EVT_CALL(SetPartEventBits, ACTOR_SELF, 1, ACTOR_EVENT_FLAG_400000, 1) + 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_CALL(MoveBattleCamOver, 30) + EVT_LOOP(20) + EVT_CALL(SetActorDispOffset, ACTOR_SELF, 1, 0, 0) + EVT_WAIT_FRAMES(1) + EVT_CALL(SetActorDispOffset, ACTOR_SELF, -1, 0, 0) + EVT_WAIT_FRAMES(1) + EVT_END_LOOP + EVT_CALL(SetActorDispOffset, ACTOR_SELF, 0, 0, 0) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x2DA) + EVT_CALL(SetActorSounds, ACTOR_SELF, 0, 0, 0) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LW(0), 0, 0, 3, BS_FLAGS1_10) + EVT_SWITCH(LW(0)) + EVT_CASE_OR_EQ(HIT_RESULT_MISS) + EVT_CASE_OR_EQ(HIT_RESULT_LUCKY) + EVT_SET(LW(10), LW(0)) + EVT_THREAD + EVT_LOOP(0) + EVT_CALL(GetActorPos, ACTOR_PLAYER, LW(0), LW(1), LW(2)) + EVT_ADD(LW(0), 30) + EVT_CALL(GetActorPos, ACTOR_SELF, LW(3), LW(4), LW(5)) + EVT_IF_GT(LW(0), LW(3)) + EVT_BREAK_LOOP + EVT_END_IF + EVT_WAIT_FRAMES(1) + EVT_END_LOOP + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_B) + EVT_IF_EQ(LW(10), HIT_RESULT_LUCKY) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LW(0), DAMAGE_TYPE_TRIGGER_LUCKY, 0, 0, 0) + EVT_END_IF + EVT_WAIT_FRAMES(15) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_END_THREAD + EVT_THREAD + EVT_LOOP(30) + EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(PlayEffect, EFFECT_ID_07, 2, LW(0), LW(1), LW(2), 0, 0, 0, 0, 0, 0, 0, 0, 0) + EVT_WAIT_FRAMES(1) + EVT_END_LOOP + EVT_END_THREAD + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_cleft_hyper_charge) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(AddGoalPos, ACTOR_SELF, -200, 0, 0) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(12.0)) + EVT_CALL(RunToGoal, ACTOR_SELF, 0, FALSE) + EVT_WAIT_FRAMES(15) + EVT_CALL(EnableActorGlow, ACTOR_SELF, FALSE) + 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(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_cleft_hyper_run) + 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, NPC_ANIM_cleft_hyper_idle) + EVT_CALL(RemoveActorDecoration, ACTOR_SELF, 1, 0) + EVT_CALL(SetActorVar, ACTOR_SELF, 0, 0) + EVT_CALL(SetIdleAnimations, ACTOR_SELF, 1, EVT_ADDR(N(idleAnimations_80221CD4))) + 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(25) + EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(PlayEffect, EFFECT_ID_07, 2, LW(0), LW(1), LW(2), 0, 0, 0, 0, 0, 0, 0, 0, 0) + EVT_WAIT_FRAMES(1) + EVT_END_LOOP + EVT_END_THREAD + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_cleft_hyper_charge) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(12.0)) + EVT_CALL(RunToGoal, ACTOR_SELF, 0, FALSE) + EVT_CALL(ResetAllActorSounds, ACTOR_SELF) + EVT_WAIT_FRAMES(2) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LW(0), 0, 0, 0, 8, BS_FLAGS1_SP_EVT_ACTIVE) + EVT_SWITCH(LW(0)) + 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(LW(0), 0) + EVT_LOOP(60) + EVT_ADD(LW(0), 18) + EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, LW(0)) + EVT_WAIT_FRAMES(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, LW(0), LW(1), LW(2)) + EVT_SUB(LW(0), 50) + EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(JumpToGoal, ACTOR_SELF, 30, FALSE, TRUE, FALSE) + EVT_SUB(LW(0), 40) + EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(JumpToGoal, ACTOR_SELF, 20, FALSE, TRUE, FALSE) + EVT_SUB(LW(0), 30) + EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(JumpToGoal, ACTOR_SELF, 10, FALSE, TRUE, FALSE) + EVT_WAIT_FRAMES(20) + EVT_CALL(YieldTurn) + EVT_CALL(EnableActorGlow, ACTOR_SELF, FALSE) + EVT_CALL(SetPartEventBits, ACTOR_SELF, 1, ACTOR_EVENT_FLAG_400000, 0) + EVT_CALL(SetActorYaw, ACTOR_SELF, 180) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_cleft_hyper_run) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(8.0)) + EVT_CALL(SetGoalToHome, ACTOR_SELF) + EVT_CALL(RunToGoal, ACTOR_SELF, 0, FALSE) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_cleft_hyper_idle) + EVT_CALL(SetActorYaw, ACTOR_SELF, 0) + EVT_CALL(SetActorVar, ACTOR_SELF, 0, 0) + EVT_CALL(SetIdleAnimations, ACTOR_SELF, 1, EVT_ADDR(N(idleAnimations_80221CD4))) + 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_80221A58) = { + EVT_CALL(GetBattlePhase, LW(0)) + EVT_IF_EQ(LW(0), PHASE_FIRST_STRIKE) + EVT_CALL(SetBattleVar, 1, 1) + EVT_EXEC_WAIT(N(80223310)) + EVT_RETURN + EVT_END_IF + EVT_CALL(GetActorVar, ACTOR_SELF, 0, LW(0)) + EVT_IF_EQ(LW(0), 1) + EVT_EXEC_WAIT(N(80222F1C)) + EVT_RETURN + EVT_END_IF + EVT_CALL(GetActorVar, ACTOR_SELF, 0, LW(0)) + EVT_IF_EQ(LW(0), 2) + EVT_EXEC_WAIT(N(80220DC0)) + EVT_RETURN + EVT_END_IF + EVT_CALL(GetBattleVar, 1, LW(0)) + EVT_SWITCH(LW(0)) + EVT_CASE_EQ(0) + EVT_CALL(GetActorVar, ACTOR_SELF, 2, LW(0)) + EVT_IF_EQ(LW(0), 0) + EVT_CALL(RandInt, 1000, LW(0)) + EVT_IF_LT(LW(0), 750) + EVT_CALL(SetBattleVar, 1, 2) + EVT_EXEC_WAIT(N(80220DC0)) + EVT_ELSE + EVT_CALL(SetBattleVar, 1, 1) + EVT_EXEC_WAIT(N(80223310)) + EVT_END_IF + EVT_ELSE + EVT_CALL(RandInt, 1000, LW(0)) + EVT_IF_LT(LW(0), 500) + EVT_CALL(SetBattleVar, 1, 2) + EVT_EXEC_WAIT(N(80220DC0)) + EVT_ELSE + EVT_CALL(SetBattleVar, 1, 1) + EVT_EXEC_WAIT(N(80223310)) + EVT_END_IF + EVT_END_IF + EVT_CASE_EQ(1) + EVT_EXEC_WAIT(N(80223310)) + EVT_RETURN + EVT_CASE_EQ(2) + EVT_EXEC_WAIT(N(80220DC0)) + EVT_RETURN + EVT_END_SWITCH + EVT_RETURN + EVT_END +}; + +s32 N(idleAnimations_80221CD4)[] = { + STATUS_NORMAL, NPC_ANIM_cleft_hyper_idle, + STATUS_STONE, NPC_ANIM_cleft_hyper_still, + STATUS_SLEEP, NPC_ANIM_cleft_hyper_sleep, + STATUS_POISON, NPC_ANIM_cleft_hyper_idle, + STATUS_STOP, NPC_ANIM_cleft_hyper_still, + STATUS_STATIC, NPC_ANIM_cleft_hyper_idle, + STATUS_PARALYZE, NPC_ANIM_cleft_hyper_still, + STATUS_DIZZY, NPC_ANIM_cleft_hyper_dizzy, + STATUS_FEAR, NPC_ANIM_cleft_hyper_dizzy, + STATUS_END, +}; + +s32 N(idleAnimations_80221D20)[] = { + STATUS_NORMAL, NPC_ANIM_cleft_hyper_Anim_5, + STATUS_STONE, NPC_ANIM_cleft_hyper_inverted_still, + STATUS_SLEEP, NPC_ANIM_cleft_hyper_inverted_sleep, + STATUS_POISON, NPC_ANIM_cleft_hyper_Anim_5, + STATUS_STOP, NPC_ANIM_cleft_hyper_inverted_still, + STATUS_STATIC, NPC_ANIM_cleft_hyper_Anim_5, + STATUS_PARALYZE, NPC_ANIM_cleft_hyper_inverted_still, + STATUS_DIZZY, NPC_ANIM_cleft_hyper_inverted_dizzy, + STATUS_FEAR, NPC_ANIM_cleft_hyper_inverted_dizzy, + STATUS_END, +}; + +EvtScript N(80221D6C) = { + EVT_CALL(BindIdle, ACTOR_SELF, EVT_ADDR(N(idle_80221DD0))) + EVT_CALL(BindTakeTurn, ACTOR_SELF, EVT_ADDR(N(takeTurn_80223B5C))) + EVT_CALL(BindHandleEvent, ACTOR_SELF, EVT_ADDR(N(handleEvent_80222140))) + EVT_CALL(SetActorVar, ACTOR_SELF, 0, 0) + EVT_RETURN + EVT_END +}; + +EvtScript N(idle_80221DD0) = { + EVT_RETURN + EVT_END +}; + +#include "common/SetSpinSmashable.inc.c" + +EvtScript N(80221DE0) = { + EVT_CALL(SetActorVar, ACTOR_SELF, 0, 1) + EVT_CALL(SetActorVar, ACTOR_SELF, 1, 2) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_cleft_hyper_run) + EVT_CALL(SetActorRotationOffset, ACTOR_SELF, 0, 16, 0) + EVT_THREAD + EVT_SET(LW(0), 0) + EVT_LOOP(5) + EVT_ADD(LW(0), -36) + EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, LW(0)) + EVT_WAIT_FRAMES(1) + EVT_END_LOOP + EVT_END_THREAD + EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.3)) + EVT_SUB(LW(1), 6) + EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(JumpToGoal, ACTOR_SELF, 20, FALSE, TRUE, FALSE) + EVT_CALL(N(StartRumbleWithParams), 200, 10) + EVT_THREAD + EVT_CALL(ShakeCam, 1, 0, 5, EVT_FLOAT(1.0)) + EVT_END_THREAD + EVT_CALL(PlayEffect, EFFECT_ID_1D, 0, LW(0), LW(1), LW(2), 40, 8, EVT_FLOAT(0.0), 20, 0, 0, 0, 0, 0) + EVT_CALL(SetActorPos, ACTOR_SELF, LW(0), 0, LW(2)) + EVT_CALL(SetActorRotationOffset, ACTOR_SELF, 0, 0, 0) + EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, 0) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_cleft_hyper_inverted_idle) + EVT_CALL(SetIdleAnimations, ACTOR_SELF, 1, EVT_ADDR(N(idleAnimations_80221D20))) + EVT_CALL(SetDefenseTable, ACTOR_SELF, 1, EVT_ADDR(N(defenseTable_80220B54))) + EVT_CALL(SetTargetOffset, ACTOR_SELF, 1, 0, 15) + EVT_CALL(func_8027D4C8, ACTOR_SELF, 1, 0, -7) + EVT_CALL(SetPartEventBits, ACTOR_SELF, 1, ACTOR_EVENT_FLAG_SPIKY_TOP, 0) + EVT_CALL(N(SetSpinSmashable), 0) + EVT_CALL(SetActorFlagBits, ACTOR_SELF, ACTOR_FLAG_400, 1) + EVT_CALL(SetActorRotationOffset, ACTOR_SELF, 0, 0, 0) + EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, 0) + EVT_CALL(EnableActorGlow, ACTOR_SELF, FALSE) + EVT_CALL(SetPartEventBits, ACTOR_SELF, 1, ACTOR_EVENT_FLAG_400000, 0) + EVT_RETURN + EVT_END +}; + +EvtScript N(handleEvent_80222140) = { + EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE) + EVT_CALL(EnableIdleScript, ACTOR_SELF, 0) + EVT_CALL(GetLastEvent, ACTOR_SELF, LW(0)) + EVT_SWITCH(LW(0)) + EVT_CASE_OR_EQ(EVENT_HIT_COMBO) + EVT_CASE_OR_EQ(EVENT_HIT) + EVT_CALL(GetLastElement, LW(0)) + EVT_SWITCH(LW(0)) + EVT_CASE_FLAG(DAMAGE_TYPE_BLAST) + EVT_EXEC_WAIT(N(80221DE0)) + EVT_CASE_DEFAULT + EVT_CALL(GetActorVar, ACTOR_SELF, 0, LW(0)) + EVT_IF_EQ(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_cleft_hyper_Anim_9) + EVT_ELSE + EVT_SET_CONST(LW(1), NPC_ANIM_cleft_hyper_skid) + EVT_END_IF + EVT_SET_CONST(LW(0), 1) + EVT_EXEC_WAIT(DoNormalHit) + EVT_END_SWITCH + EVT_END_CASE_GROUP + EVT_CASE_EQ(EVENT_BURN_HIT) + EVT_CALL(GetLastElement, LW(0)) + EVT_SWITCH(LW(0)) + EVT_CASE_FLAG(DAMAGE_TYPE_BLAST) + EVT_EXEC_WAIT(N(80221DE0)) + EVT_CASE_DEFAULT + EVT_CALL(SetPartEventBits, ACTOR_SELF, 1, ACTOR_EVENT_FLAG_EXPLOSIVE, 1) + EVT_CALL(GetActorVar, ACTOR_SELF, 0, LW(0)) + EVT_IF_EQ(LW(0), 1) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_cleft_hyper_Anim_9) + EVT_SET_CONST(LW(2), -1) + EVT_EXEC_WAIT(DoBurnHit) + EVT_ELSE + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_cleft_hyper_skid) + EVT_SET_CONST(LW(2), -1) + EVT_EXEC_WAIT(DoBurnHit) + EVT_END_IF + EVT_CALL(SetPartEventBits, ACTOR_SELF, 1, ACTOR_EVENT_FLAG_EXPLOSIVE, 0) + EVT_END_SWITCH + EVT_CASE_EQ(EVENT_BURN_DEATH) + EVT_CALL(GetActorVar, ACTOR_SELF, 0, LW(0)) + EVT_IF_EQ(LW(0), 1) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_cleft_hyper_Anim_9) + EVT_SET_CONST(LW(2), -1) + EVT_EXEC_WAIT(DoBurnHit) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_cleft_hyper_Anim_9) + EVT_EXEC_WAIT(DoDeath) + EVT_ELSE + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_cleft_hyper_skid) + EVT_SET_CONST(LW(2), -1) + EVT_EXEC_WAIT(DoBurnHit) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_cleft_hyper_skid) + EVT_EXEC_WAIT(DoDeath) + EVT_END_IF + EVT_RETURN + EVT_CASE_EQ(EVENT_SPIN_SMASH_HIT) + EVT_CALL(GetActorVar, ACTOR_SELF, 0, LW(0)) + EVT_IF_EQ(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_cleft_hyper_Anim_9) + EVT_ELSE + EVT_SET_CONST(LW(1), NPC_ANIM_cleft_hyper_skid) + EVT_END_IF + EVT_SET_CONST(LW(0), 1) + EVT_EXEC_WAIT(DoSpinSmashHit) + EVT_CASE_EQ(EVENT_SPIN_SMASH_DEATH) + EVT_CALL(GetActorVar, ACTOR_SELF, 0, LW(0)) + EVT_IF_EQ(LW(0), 1) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_cleft_hyper_Anim_9) + EVT_EXEC_WAIT(DoSpinSmashHit) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_cleft_hyper_Anim_9) + EVT_EXEC_WAIT(DoDeath) + EVT_ELSE + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_cleft_hyper_skid) + EVT_EXEC_WAIT(DoSpinSmashHit) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_cleft_hyper_skid) + EVT_EXEC_WAIT(DoDeath) + EVT_END_IF + EVT_RETURN + EVT_CASE_EQ(EVENT_SHOCK_HIT) + EVT_CALL(SetActorRotationOffset, ACTOR_SELF, 0, 0, 0) + EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, 0) + EVT_CALL(EnableActorGlow, ACTOR_SELF, FALSE) + EVT_CALL(SetPartEventBits, ACTOR_SELF, 1, ACTOR_EVENT_FLAG_400000, 0) + EVT_CALL(SetActorVar, ACTOR_SELF, 0, 0) + EVT_CALL(SetIdleAnimations, ACTOR_SELF, 1, EVT_ADDR(N(idleAnimations_80221CD4))) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_cleft_hyper_skid) + EVT_EXEC_WAIT(DoShockHit) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_cleft_hyper_skid) + EVT_EXEC_WAIT(DoJumpBack) + EVT_CALL(JumpToGoal, ACTOR_SELF, 5, FALSE, TRUE, FALSE) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_cleft_hyper_run) + 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_CALL(SetActorRotationOffset, ACTOR_SELF, 0, 0, 0) + EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, 0) + EVT_CALL(EnableActorGlow, ACTOR_SELF, FALSE) + EVT_CALL(SetPartEventBits, ACTOR_SELF, 1, ACTOR_EVENT_FLAG_400000, 0) + EVT_CALL(SetActorVar, ACTOR_SELF, 0, 0) + EVT_CALL(SetIdleAnimations, ACTOR_SELF, 1, EVT_ADDR(N(idleAnimations_80221CD4))) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_cleft_hyper_skid) + EVT_EXEC_WAIT(DoShockHit) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_cleft_hyper_skid) + EVT_EXEC_WAIT(DoDeath) + EVT_RETURN + EVT_CASE_EQ(EVENT_STAR_BEAM) + EVT_CALL(GetActorVar, ACTOR_SELF, 0, LW(0)) + EVT_IF_EQ(LW(0), 2) + EVT_CALL(SetActorRotationOffset, ACTOR_SELF, 0, 0, 0) + EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, 0) + EVT_CALL(EnableActorGlow, ACTOR_SELF, FALSE) + EVT_CALL(SetPartEventBits, ACTOR_SELF, 1, ACTOR_EVENT_FLAG_400000, 0) + EVT_CALL(SetActorVar, ACTOR_SELF, 0, 0) + EVT_CALL(SetIdleAnimations, ACTOR_SELF, 1, EVT_ADDR(N(idleAnimations_80221CD4))) + EVT_END_IF + EVT_CALL(GetActorVar, ACTOR_SELF, 0, LW(0)) + EVT_IF_EQ(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_cleft_hyper_inverted_idle) + EVT_ELSE + EVT_SET_CONST(LW(1), NPC_ANIM_cleft_hyper_idle) + EVT_END_IF + EVT_SET_CONST(LW(0), 1) + EVT_EXEC_WAIT(DoImmune) + EVT_CASE_EQ(EVENT_SPIKE_TAUNT) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LW(0)) + EVT_IF_NOT_FLAG(LW(0), 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, NPC_ANIM_cleft_hyper_laugh) + EVT_END_IF + EVT_WAIT_FRAMES(10) + EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LW(3)) + EVT_IF_FLAG(LW(3), STATUS_FLAG_SHRINK) + EVT_ADD(LW(0), -3) + EVT_ADD(LW(1), 10) + EVT_ELSE + EVT_ADD(LW(0), -8) + EVT_ADD(LW(1), 27) + EVT_END_IF + EVT_CALL(PlayEffect, EFFECT_ID_1A, 0, LW(0), LW(1), LW(2), 20, 0, 0, 0, 0, 0, 0, 0, 0) + EVT_WAIT_FRAMES(20) + EVT_CASE_OR_EQ(EVENT_UNKNOWN_TRIGGER) + EVT_CASE_OR_EQ(EVENT_IMMUNE) + EVT_CASE_OR_EQ(EVENT_AIR_LIFT_FAILED) + EVT_CALL(GetActorVar, ACTOR_SELF, 0, LW(0)) + EVT_IF_EQ(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_cleft_hyper_inverted_idle) + EVT_ELSE + EVT_SET_CONST(LW(1), NPC_ANIM_cleft_hyper_idle) + EVT_END_IF + EVT_SET_CONST(LW(0), 1) + EVT_EXEC_WAIT(DoImmune) + EVT_END_CASE_GROUP + EVT_CASE_EQ(EVENT_DEATH) + EVT_CALL(GetActorVar, ACTOR_SELF, 0, LW(0)) + EVT_IF_EQ(LW(0), 1) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_cleft_hyper_Anim_9) + EVT_EXEC_WAIT(DoNormalHit) + EVT_WAIT_FRAMES(10) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_cleft_hyper_Anim_9) + EVT_EXEC_WAIT(DoDeath) + EVT_ELSE + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_cleft_hyper_skid) + EVT_EXEC_WAIT(DoNormalHit) + EVT_WAIT_FRAMES(10) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_cleft_hyper_skid) + EVT_EXEC_WAIT(DoDeath) + EVT_END_IF + EVT_RETURN + EVT_CASE_EQ(EVENT_RECOVER_STATUS) + EVT_CALL(GetActorVar, ACTOR_SELF, 0, LW(0)) + EVT_IF_EQ(LW(0), 0) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_cleft_hyper_idle) + EVT_EXEC_WAIT(DoRecover) + EVT_END_IF + EVT_CASE_EQ(EVENT_SCARE_AWAY) + EVT_CALL(GetActorVar, ACTOR_SELF, 0, LW(0)) + EVT_IF_EQ(LW(0), 1) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_cleft_hyper_inverted_idle) + EVT_EXEC_WAIT(DoImmune) + EVT_ELSE + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_cleft_hyper_run) + EVT_SET_CONST(LW(2), NPC_ANIM_cleft_hyper_skid) + EVT_EXEC_WAIT(DoScareAway) + EVT_RETURN + EVT_END_IF + EVT_CASE_EQ(EVENT_BEGIN_AIR_LIFT) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_cleft_hyper_inverted_dizzy) + EVT_EXEC_WAIT(DoAirLift) + EVT_CASE_EQ(EVENT_BLOW_AWAY) + EVT_CALL(GetActorVar, ACTOR_SELF, 0, LW(0)) + EVT_IF_EQ(LW(0), 1) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_cleft_hyper_inverted_dizzy) + EVT_ELSE + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_cleft_hyper_skid) + EVT_END_IF + 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(80222F1C) = { + EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE) + EVT_CALL(EnableIdleScript, ACTOR_SELF, 0) + EVT_CALL(AddActorDecoration, ACTOR_SELF, 1, 0, 2) + EVT_CALL(SetAnimationRate, ACTOR_SELF, 1, EVT_FLOAT(3.0)) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_cleft_hyper_inverted_idle) + EVT_WAIT_FRAMES(20) + EVT_CALL(SetAnimationRate, ACTOR_SELF, 1, EVT_FLOAT(1.0)) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_cleft_hyper_Anim_5) + EVT_CALL(RemoveActorDecoration, ACTOR_SELF, 1, 0) + EVT_CALL(GetActorVar, ACTOR_SELF, 1, LW(0)) + EVT_IF_GT(LW(0), 0) + EVT_SUB(LW(0), 1) + EVT_CALL(SetActorVar, ACTOR_SELF, 1, LW(0)) + EVT_ELSE + EVT_CALL(SetActorRotationOffset, ACTOR_SELF, 0, 16, 0) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_cleft_hyper_inverted_idle) + EVT_THREAD + EVT_WAIT_FRAMES(3) + EVT_LOOP(5) + EVT_ADD(LW(0), 36) + EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, LW(0)) + EVT_WAIT_FRAMES(1) + EVT_END_LOOP + EVT_END_THREAD + EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_SUB(LW(1), 6) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.3)) + EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(JumpToGoal, ACTOR_SELF, 10, FALSE, TRUE, FALSE) + EVT_CALL(N(StartRumbleWithParams), 200, 10) + EVT_THREAD + EVT_CALL(ShakeCam, 1, 0, 5, EVT_FLOAT(1.0)) + EVT_END_THREAD + EVT_CALL(SetActorRotationOffset, ACTOR_SELF, 0, 0, 0) + EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, 0) + EVT_CALL(SetActorPos, ACTOR_SELF, LW(0), 0, LW(2)) + EVT_CALL(SetActorVar, ACTOR_SELF, 0, 0) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_cleft_hyper_idle) + EVT_CALL(SetIdleAnimations, ACTOR_SELF, 1, EVT_ADDR(N(idleAnimations_80221CD4))) + EVT_CALL(SetDefenseTable, ACTOR_SELF, 1, EVT_ADDR(N(defenseTable_80220B40))) + EVT_CALL(SetTargetOffset, ACTOR_SELF, 1, 0, 22) + EVT_CALL(func_8027D4C8, ACTOR_SELF, 1, 0, -10) + EVT_CALL(SetPartEventBits, ACTOR_SELF, 1, ACTOR_EVENT_FLAG_SPIKY_TOP, 1) + EVT_WAIT_FRAMES(1) + EVT_CALL(N(SetSpinSmashable), 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 +}; + +EvtScript N(80223310) = { + 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(MoveBattleCamOver, 30) + EVT_THREAD + EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(PlayEffect, EFFECT_ID_1D, 1, LW(0), LW(1), LW(2), 32, 4, 0, 10, 0, 0, 0, 0, 0) + EVT_WAIT_FRAMES(10) + EVT_CALL(PlayEffect, EFFECT_ID_1D, 1, LW(0), LW(1), LW(2), 32, 4, 0, 10, 0, 0, 0, 0, 0) + EVT_WAIT_FRAMES(5) + EVT_CALL(PlayEffect, EFFECT_ID_1D, 1, LW(0), LW(1), LW(2), 32, 4, 0, 10, 0, 0, 0, 0, 0) + EVT_END_THREAD + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_cleft_hyper_charge_still) + EVT_WAIT_FRAMES(10) + EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_cleft_hyper_charge) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(AddGoalPos, ACTOR_SELF, 50, 0, -5) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(4.0)) + EVT_CALL(RunToGoal, ACTOR_SELF, 0, FALSE) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_cleft_hyper_still) + EVT_WAIT_FRAMES(8) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x20D1) + EVT_CALL(SetActorSounds, ACTOR_SELF, 0, 0, 0) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LW(0), 0, 0, 3, BS_FLAGS1_10) + EVT_SWITCH(LW(0)) + EVT_CASE_OR_EQ(HIT_RESULT_MISS) + EVT_CASE_OR_EQ(HIT_RESULT_LUCKY) + EVT_SET(LW(10), LW(0)) + EVT_IF_EQ(LW(10), HIT_RESULT_LUCKY) + EVT_THREAD + EVT_WAIT_FRAMES(10) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LW(0), DAMAGE_TYPE_TRIGGER_LUCKY, 0, 0, 0) + EVT_END_THREAD + EVT_END_IF + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_cleft_hyper_charge) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_SUB(LW(0), 100) + EVT_SET(LW(1), 0) + EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(8.0)) + EVT_CALL(RunToGoal, ACTOR_SELF, 0, FALSE) + EVT_CALL(SetPartRotation, ACTOR_SELF, 1, 0, 0, 45) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_cleft_hyper_skid) + EVT_WAIT_FRAMES(15) + EVT_WAIT_FRAMES(8) + EVT_CALL(ResetAllActorSounds, ACTOR_SELF) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(YieldTurn) + EVT_CALL(SetPartRotation, ACTOR_SELF, 1, 0, 0, 0) + EVT_CALL(SetActorYaw, ACTOR_SELF, 180) + EVT_CALL(AddActorDecoration, ACTOR_SELF, 1, 0, 2) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_cleft_hyper_run) + 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, NPC_ANIM_cleft_hyper_idle) + 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(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_cleft_hyper_charge) + EVT_CALL(GetActorPos, ACTOR_PLAYER, LW(0), LW(1), LW(2)) + EVT_ADD(LW(0), 20) + EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(8.0)) + EVT_CALL(RunToGoal, ACTOR_SELF, 0, FALSE) + EVT_CALL(ResetAllActorSounds, ACTOR_SELF) + EVT_WAIT_FRAMES(2) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LW(0), 0, 0, 0, 3, BS_FLAGS1_SP_EVT_ACTIVE) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_cleft_hyper_idle) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_SWITCH(LW(0)) + 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, LW(0), LW(1), LW(2)) + EVT_ADD(LW(0), 15) + EVT_SET(LW(1), 0) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(2.4)) + EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(JumpToGoal, ACTOR_SELF, 6, FALSE, TRUE, FALSE) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_cleft_hyper_idle) + EVT_WAIT_FRAMES(5) + EVT_CALL(YieldTurn) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_cleft_hyper_run) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(8.0)) + EVT_CALL(SetGoalToHome, ACTOR_SELF) + EVT_CALL(RunToGoal, ACTOR_SELF, 0, FALSE) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_cleft_hyper_idle) + 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_80223B5C) = { + EVT_CALL(GetActorVar, ACTOR_SELF, 0, LW(0)) + EVT_IF_EQ(LW(0), 1) + EVT_EXEC_WAIT(N(80222F1C)) + EVT_ELSE + EVT_EXEC_WAIT(N(80223310)) + EVT_END_IF + EVT_RETURN + EVT_END +}; diff --git a/src/battle/area_arn/actor/hyper_paragoomba.c b/src/battle/area_arn/actor/hyper_paragoomba.c new file mode 100644 index 0000000000..e7d56664c3 --- /dev/null +++ b/src/battle/area_arn/actor/hyper_paragoomba.c @@ -0,0 +1,1491 @@ +#include "common.h" +#include "effects.h" +#include "battle/battle.h" +#include "script_api/battle.h" +#include "sprite/npc/goomba.h" +#include "sprite/npc/paragoomba.h" + +#define NAMESPACE b_area_arn_hyper_paragoomba + +extern s32 N(idleAnimations_8021C594)[]; +extern s32 N(idleAnimations_8021C62C)[]; +extern s32 N(idleAnimations_8021C638)[]; +extern s32 N(idleAnimations_8021F05C)[]; +extern EvtScript N(init_8021B564); +extern EvtScript N(idle_8021C690); +extern EvtScript N(handleEvent_8021C9C4); +extern EvtScript N(nextTurn_8021B5F4); +extern EvtScript N(takeTurn_8021C36C); +extern EvtScript N(takeTurn_8021D1DC); +extern EvtScript N(8021C94C); +extern EvtScript N(8021D9F4); +extern EvtScript N(8021E058); +extern EvtScript N(idle_8021F140); +extern EvtScript N(handleEvent_8021F41C); +extern EvtScript N(takeTurn_8021EE34); +extern EvtScript N(takeTurn_8021FE6C); +extern EvtScript N(nextTurn_8021E194); + +s32 N(defenseTable_8021B2F0)[] = { + ELEMENT_NORMAL, 0, + ELEMENT_END, +}; + +s32 N(defenseTable_8021B2FC)[] = { + ELEMENT_NORMAL, 0, + ELEMENT_END, +}; + +s32 N(statusTable_8021B308)[] = { + STATUS_NORMAL, 0, + STATUS_DEFAULT, 0, + STATUS_SLEEP, 80, + STATUS_POISON, 100, + STATUS_FROZEN, 0, + STATUS_DIZZY, 80, + STATUS_FEAR, 100, + STATUS_STATIC, 100, + STATUS_PARALYZE, 100, + STATUS_SHRINK, 80, + STATUS_STOP, 90, + 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_8021B3B4)[] = { + STATUS_NORMAL, 0, + STATUS_DEFAULT, 0, + STATUS_SLEEP, 80, + STATUS_POISON, 80, + STATUS_FROZEN, 0, + STATUS_DIZZY, 90, + STATUS_FEAR, 0, + STATUS_STATIC, 80, + STATUS_PARALYZE, 100, + STATUS_SHRINK, 80, + STATUS_STOP, 90, + 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, +}; + +ActorPartBlueprint N(partsTable_8021B460)[] = { + { + .flags = ACTOR_PART_FLAG_INVISIBLE | ACTOR_PART_FLAG_NO_TARGET, + .index = 1, + .posOffset = { 0, 0, 0 }, + .targetOffset = { 0, 22 }, + .opacity = 255, + .idleAnimations = N(idleAnimations_8021F05C), + .defenseTable = N(defenseTable_8021B2F0), + .eventFlags = ACTOR_EVENT_FLAG_0, + .elementImmunityFlags = 0, + .unk_1C = 246, + }, + { + .flags = ACTOR_PART_FLAG_MULTI_TARGET, + .index = 2, + .posOffset = { 0, 0, 0 }, + .targetOffset = { 0, 24 }, + .opacity = 255, + .idleAnimations = N(idleAnimations_8021C594), + .defenseTable = N(defenseTable_8021B2FC), + .eventFlags = ACTOR_EVENT_FLAG_GROUNDABLE, + .elementImmunityFlags = 0, + .unk_1C = 246, + }, + { + .flags = ACTOR_PART_FLAG_INVISIBLE | ACTOR_PART_FLAG_NO_TARGET, + .index = 3, + .posOffset = { 0, 0, 0 }, + .targetOffset = { -16, 24 }, + .opacity = 255, + .idleAnimations = N(idleAnimations_8021C62C), + .defenseTable = N(defenseTable_8021B2F0), + .eventFlags = ACTOR_EVENT_FLAG_0, + .elementImmunityFlags = 0, + .unk_1C = 246, + }, + { + .flags = ACTOR_PART_FLAG_INVISIBLE | ACTOR_PART_FLAG_NO_TARGET, + .index = 4, + .posOffset = { 0, 0, 0 }, + .targetOffset = { -16, 24 }, + .opacity = 255, + .idleAnimations = N(idleAnimations_8021C638), + .defenseTable = N(defenseTable_8021B2F0), + .eventFlags = ACTOR_EVENT_FLAG_0, + .elementImmunityFlags = 0, + .unk_1C = 246, + }, +}; + +ActorBlueprint NAMESPACE = { + .flags = ACTOR_FLAG_FLYING, + .type = ACTOR_TYPE_HYPER_PARAGOOMBA, + .level = 12, + .maxHP = 7, + .partCount = ARRAY_COUNT(N(partsTable_8021B460)), + .partsData = N(partsTable_8021B460), + .script = N(init_8021B564), + .statusTable = N(statusTable_8021B3B4), + .escapeChance = 50, + .airLiftChance = 95, + .spookChance = 95, + .baseStatusChance = 80, + .upAndAwayChance = 95, + .spinSmashReq = 0, + .powerBounceChance = 90, + .coinReward = 1, + .size = { 36, 26 }, + .hpBarOffset = { 0, 0 }, + .statusIconOffset = { -10, 20 }, + .statusMessageOffset = { 10, 20 }, +}; + +s32 N(idleAnimations_8021B518)[] = { + STATUS_NORMAL, NPC_ANIM_paragoomba_hyper_aim, + STATUS_STONE, NPC_ANIM_paragoomba_hyper_still, + STATUS_SLEEP, NPC_ANIM_paragoomba_hyper_sleep, + STATUS_POISON, NPC_ANIM_paragoomba_hyper_aim, + STATUS_STOP, NPC_ANIM_paragoomba_hyper_still, + STATUS_STATIC, NPC_ANIM_paragoomba_hyper_aim, + STATUS_PARALYZE, NPC_ANIM_paragoomba_hyper_still, + STATUS_DIZZY, NPC_ANIM_paragoomba_hyper_dizzy, + STATUS_FEAR, NPC_ANIM_paragoomba_hyper_dizzy, + STATUS_END, +}; + +EvtScript N(init_8021B564) = { + EVT_CALL(BindIdle, ACTOR_SELF, EVT_ADDR(N(idle_8021C690))) + EVT_CALL(BindHandleEvent, ACTOR_SELF, EVT_ADDR(N(handleEvent_8021C9C4))) + EVT_CALL(BindNextTurn, ACTOR_SELF, EVT_ADDR(N(nextTurn_8021B5F4))) + EVT_CALL(BindTakeTurn, ACTOR_SELF, EVT_ADDR(N(takeTurn_8021C36C))) + EVT_CALL(SetActorVar, ACTOR_SELF, 0, 0) + EVT_CALL(SetActorVar, ACTOR_SELF, 1, 0) + EVT_RETURN + EVT_END +}; + +EvtScript N(nextTurn_8021B5F4) = { + EVT_CALL(GetBattlePhase, LW(0)) + EVT_SWITCH(LW(0)) + EVT_CASE_EQ(PHASE_PLAYER_BEGIN) + EVT_CASE_EQ(PHASE_ENEMY_BEGIN) + EVT_CASE_EQ(PHASE_ENEMY_END) + EVT_CALL(SetBattleVar, 1, 0) + EVT_CALL(SetActorVar, ACTOR_SELF, 1, 1) + EVT_END_SWITCH + EVT_RETURN + EVT_END +}; + +EvtScript N(8021B678) = { + EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE) + EVT_CALL(EnableIdleScript, ACTOR_SELF, 0) + EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER) + EVT_CALL(GetActorVar, ACTOR_SELF, 0, LW(0)) + EVT_IF_EQ(LW(0), 0) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_14) + EVT_CALL(BattleCamTargetActor, ACTOR_SELF) + EVT_CALL(MoveBattleCamOver, 20) + EVT_WAIT_FRAMES(20) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_POWER_UP) + EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_ADD(LW(1), 10) + EVT_CALL(PlayEffect, EFFECT_ID_6B, 6, LW(0), LW(1), LW(2), EVT_FLOAT(1.0), 45, 0, 0, 0, 0, 0, 0, 0) + EVT_CALL(SetAnimation, ACTOR_SELF, 2, NPC_ANIM_paragoomba_hyper_aim) + EVT_WAIT_FRAMES(30) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(MoveBattleCamOver, 20) + EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.0)) + EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(JumpToGoal, ACTOR_SELF, 20, FALSE, FALSE, FALSE) + EVT_CALL(SetActorVar, ACTOR_SELF, 0, 1) + EVT_CALL(SetIdleAnimations, ACTOR_SELF, 2, EVT_ADDR(N(idleAnimations_8021B518))) + EVT_CALL(EnableActorGlow, ACTOR_SELF, TRUE) + EVT_CALL(SetPartEventBits, ACTOR_SELF, 2, ACTOR_EVENT_FLAG_400000, 1) + 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_CALL(MoveBattleCamOver, 30) + EVT_LOOP(20) + EVT_CALL(SetActorDispOffset, ACTOR_SELF, 1, 0, 0) + EVT_WAIT_FRAMES(1) + EVT_CALL(SetActorDispOffset, ACTOR_SELF, -1, 0, 0) + EVT_WAIT_FRAMES(1) + EVT_END_LOOP + EVT_CALL(SetActorDispOffset, ACTOR_SELF, 0, 0, 0) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x20E0) + EVT_CALL(SetActorSounds, ACTOR_SELF, 2, 0, 0) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(5.0)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.8)) + EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_ADD(LW(1), 20) + EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(JumpToGoal, ACTOR_SELF, 10, FALSE, FALSE, FALSE) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_UNUSED_2C1) + EVT_CALL(SetActorSounds, ACTOR_SELF, 2, 0, 0) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LW(0), 0, 0, 1, BS_FLAGS1_10) + EVT_SWITCH(LW(0)) + EVT_CASE_OR_EQ(HIT_RESULT_MISS) + EVT_CASE_OR_EQ(HIT_RESULT_LUCKY) + EVT_SET(LW(10), LW(0)) + EVT_CALL(SetActorRotationOffset, ACTOR_SELF, 0, 16, 0) + EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, -60) + EVT_THREAD + EVT_SET(LW(0), -60) + EVT_LOOP(60) + EVT_ADD(LW(0), 19) + EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, LW(0)) + EVT_WAIT_FRAMES(1) + EVT_END_LOOP + EVT_END_THREAD + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_SET(LW(1), 0) + EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.01)) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(15.0)) + EVT_CALL(JumpToGoal, ACTOR_SELF, 0, FALSE, FALSE, FALSE) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_B) + EVT_CALL(ResetAllActorSounds, ACTOR_SELF) + EVT_CALL(AddGoalPos, ACTOR_SELF, -60, 0, 0) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.3)) + EVT_CALL(JumpToGoal, ACTOR_SELF, 15, FALSE, TRUE, FALSE) + EVT_IF_EQ(LW(10), HIT_RESULT_LUCKY) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LW(0), DAMAGE_TYPE_TRIGGER_LUCKY, 0, 0, 0) + EVT_END_IF + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(6.0)) + EVT_CALL(AddGoalPos, ACTOR_SELF, -200, 0, 0) + EVT_CALL(RunToGoal, ACTOR_SELF, 0, FALSE) + EVT_WAIT_FRAMES(20) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(YieldTurn) + EVT_CALL(EnableActorGlow, ACTOR_SELF, FALSE) + EVT_CALL(SetPartEventBits, ACTOR_SELF, 2, ACTOR_EVENT_FLAG_400000, 0) + EVT_THREAD + EVT_SET(LW(0), 0) + EVT_LOOP(30) + EVT_ADD(LW(0), 24) + EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, LW(0)) + EVT_WAIT_FRAMES(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(SetActorPos, ACTOR_SELF, 300, 0, 0) + EVT_CALL(SetGoalToHome, ACTOR_SELF) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(8.0)) + EVT_CALL(AddGoalPos, ACTOR_SELF, 30, 0, 0) + EVT_CALL(RunToGoal, ACTOR_SELF, 0, FALSE) + EVT_CALL(AddActorDecoration, ACTOR_SELF, 2, 0, 2) + EVT_CALL(ResetAllActorSounds, ACTOR_SELF) + EVT_CALL(SetAnimation, ACTOR_SELF, 2, NPC_ANIM_paragoomba_hyper_run) + EVT_CALL(SetGoalToHome, ACTOR_SELF) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(6.0)) + EVT_CALL(FlyToGoal, ACTOR_SELF, 0, 1, 11) + EVT_CALL(SetAnimation, ACTOR_SELF, 2, NPC_ANIM_paragoomba_hyper_idle) + EVT_CALL(RemoveActorDecoration, ACTOR_SELF, 2, 0) + EVT_CALL(SetActorVar, ACTOR_SELF, 0, 0) + EVT_CALL(SetIdleAnimations, ACTOR_SELF, 2, EVT_ADDR(N(idleAnimations_8021C594))) + EVT_CALL(EnableIdleScript, ACTOR_SELF, 1) + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_RETURN + EVT_END_CASE_GROUP + EVT_END_SWITCH + EVT_CALL(SetActorRotationOffset, ACTOR_SELF, 0, 12, 0) + EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, -70) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.01)) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(15.0)) + EVT_CALL(JumpToGoal, ACTOR_SELF, 0, FALSE, FALSE, FALSE) + EVT_WAIT_FRAMES(2) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LW(0), 0, 0, 0, 8, BS_FLAGS1_SP_EVT_ACTIVE) + EVT_SWITCH(LW(0)) + EVT_CASE_OR_EQ(HIT_RESULT_HIT) + EVT_CASE_OR_EQ(HIT_RESULT_QUAKE_IMMUNE) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(ResetAllActorSounds, ACTOR_SELF) + EVT_THREAD + EVT_CALL(SetActorRotationOffset, ACTOR_SELF, 0, 16, 0) + EVT_SET(LW(0), -70) + EVT_LOOP(60) + EVT_ADD(LW(0), 18) + EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, LW(0)) + EVT_WAIT_FRAMES(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(0.8)) + EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_SET(LW(1), 0) + EVT_SUB(LW(0), 70) + EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(JumpToGoal, ACTOR_SELF, 20, FALSE, FALSE, FALSE) + EVT_SUB(LW(0), 60) + EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(JumpToGoal, ACTOR_SELF, 15, FALSE, FALSE, FALSE) + EVT_WAIT_FRAMES(20) + EVT_CALL(YieldTurn) + EVT_CALL(EnableActorGlow, ACTOR_SELF, FALSE) + EVT_CALL(SetPartEventBits, ACTOR_SELF, 2, ACTOR_EVENT_FLAG_400000, 0) + EVT_CALL(SetActorYaw, ACTOR_SELF, 180) + EVT_CALL(SetAnimation, ACTOR_SELF, 2, NPC_ANIM_paragoomba_hyper_run) + EVT_EXEC_WAIT(N(8021C94C)) + EVT_CALL(SetActorYaw, ACTOR_SELF, 0) + EVT_CALL(SetActorVar, ACTOR_SELF, 0, 0) + EVT_CALL(SetIdleAnimations, ACTOR_SELF, 2, EVT_ADDR(N(idleAnimations_8021C594))) + 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_8021C36C) = { + EVT_CALL(GetBattlePhase, LW(0)) + EVT_IF_EQ(LW(0), PHASE_FIRST_STRIKE) + EVT_CALL(SetBattleVar, 1, 1) + EVT_EXEC_WAIT(N(takeTurn_8021D1DC)) + EVT_RETURN + EVT_END_IF + EVT_CALL(GetActorVar, ACTOR_SELF, 0, LW(0)) + EVT_IF_EQ(LW(0), 1) + EVT_EXEC_WAIT(N(8021B678)) + EVT_RETURN + EVT_END_IF + EVT_CALL(GetBattleVar, 1, LW(0)) + EVT_SWITCH(LW(0)) + EVT_CASE_EQ(0) + EVT_CALL(GetActorVar, ACTOR_SELF, 1, LW(0)) + EVT_IF_EQ(LW(0), 0) + EVT_CALL(RandInt, 1000, LW(0)) + EVT_IF_LT(LW(0), 750) + EVT_CALL(SetBattleVar, 1, 2) + EVT_EXEC_WAIT(N(8021B678)) + EVT_ELSE + EVT_CALL(SetBattleVar, 1, 1) + EVT_EXEC_WAIT(N(takeTurn_8021D1DC)) + EVT_END_IF + EVT_ELSE + EVT_CALL(RandInt, 1000, LW(0)) + EVT_IF_LT(LW(0), 500) + EVT_CALL(SetBattleVar, 1, 2) + EVT_EXEC_WAIT(N(8021B678)) + EVT_ELSE + EVT_CALL(SetBattleVar, 1, 1) + EVT_EXEC_WAIT(N(takeTurn_8021D1DC)) + EVT_END_IF + EVT_END_IF + EVT_CASE_EQ(1) + EVT_EXEC_WAIT(N(takeTurn_8021D1DC)) + EVT_CASE_EQ(2) + EVT_EXEC_WAIT(N(8021B678)) + EVT_END_SWITCH + EVT_RETURN + EVT_END +}; + +s32 N(idleAnimations_8021C594)[] = { + STATUS_NORMAL, NPC_ANIM_paragoomba_hyper_idle, + STATUS_STONE, NPC_ANIM_paragoomba_hyper_still, + STATUS_SLEEP, NPC_ANIM_paragoomba_hyper_sleep, + STATUS_POISON, NPC_ANIM_paragoomba_hyper_idle, + STATUS_STOP, NPC_ANIM_paragoomba_hyper_still, + STATUS_STATIC, NPC_ANIM_paragoomba_hyper_idle, + STATUS_PARALYZE, NPC_ANIM_paragoomba_hyper_still, + STATUS_DIZZY, NPC_ANIM_paragoomba_hyper_dizzy, + STATUS_FEAR, NPC_ANIM_paragoomba_hyper_dizzy, + STATUS_END, +}; + +s32 N(idleAnimations_8021C5E0)[] = { + STATUS_NORMAL, NPC_ANIM_paragoomba_hyper_run, + STATUS_STONE, NPC_ANIM_paragoomba_hyper_still, + STATUS_SLEEP, NPC_ANIM_paragoomba_hyper_sleep, + STATUS_POISON, NPC_ANIM_paragoomba_hyper_idle, + STATUS_STOP, NPC_ANIM_paragoomba_hyper_still, + STATUS_STATIC, NPC_ANIM_paragoomba_hyper_run, + STATUS_PARALYZE, NPC_ANIM_paragoomba_hyper_still, + STATUS_DIZZY, NPC_ANIM_paragoomba_hyper_dizzy, + STATUS_FEAR, NPC_ANIM_paragoomba_hyper_dizzy, + STATUS_END, +}; + +s32 N(idleAnimations_8021C62C)[] = { + STATUS_NORMAL, NPC_ANIM_paragoomba_hyper_left_wing_only, + STATUS_END, +}; + +s32 N(idleAnimations_8021C638)[] = { + STATUS_NORMAL, NPC_ANIM_paragoomba_hyper_right_wing_only, + STATUS_END, +}; + +EvtScript N(8021C644) = { + EVT_CALL(BindTakeTurn, ACTOR_SELF, EVT_ADDR(N(takeTurn_8021D1DC))) + EVT_CALL(BindIdle, ACTOR_SELF, EVT_ADDR(N(idle_8021C690))) + EVT_CALL(BindHandleEvent, ACTOR_SELF, EVT_ADDR(N(handleEvent_8021C9C4))) + EVT_RETURN + EVT_END +}; + +EvtScript N(idle_8021C690) = { + EVT_LABEL(10) + EVT_CALL(RandInt, 80, LW(0)) + EVT_ADD(LW(0), 80) + EVT_LOOP(LW(0)) + EVT_LABEL(0) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LW(1)) + EVT_IF_FLAG(LW(1), STATUS_FLAG_SLEEP | STATUS_FLAG_FROZEN | STATUS_FLAG_FEAR | STATUS_FLAG_PARALYZE | STATUS_FLAG_DIZZY | STATUS_FLAG_STONE | STATUS_FLAG_STOP) + EVT_WAIT_FRAMES(1) + EVT_GOTO(0) + EVT_END_IF + EVT_WAIT_FRAMES(1) + EVT_END_LOOP + EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_ADD(LW(0), 5) + EVT_CALL(SetActorIdleSpeed, ACTOR_SELF, EVT_FLOAT(0.6)) + EVT_CALL(SetIdleAnimations, ACTOR_SELF, 2, EVT_ADDR(N(idleAnimations_8021C5E0))) + EVT_CALL(SetIdleGoal, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(IdleFlyToGoal, ACTOR_SELF, 0, -5, 0) + EVT_LOOP(20) + EVT_LABEL(1) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LW(1)) + EVT_IF_FLAG(LW(1), STATUS_FLAG_SLEEP | STATUS_FLAG_FROZEN | STATUS_FLAG_FEAR | STATUS_FLAG_PARALYZE | STATUS_FLAG_DIZZY | STATUS_FLAG_STONE | STATUS_FLAG_STOP) + EVT_WAIT_FRAMES(1) + EVT_GOTO(1) + EVT_END_IF + EVT_WAIT_FRAMES(1) + EVT_END_LOOP + EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_SUB(LW(0), 5) + EVT_CALL(SetActorIdleSpeed, ACTOR_SELF, EVT_FLOAT(0.6)) + EVT_CALL(SetIdleGoal, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(IdleFlyToGoal, ACTOR_SELF, 0, -5, 0) + EVT_CALL(SetIdleAnimations, ACTOR_SELF, 2, EVT_ADDR(N(idleAnimations_8021C594))) + EVT_LOOP(40) + EVT_LABEL(2) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LW(1)) + EVT_IF_FLAG(LW(1), STATUS_FLAG_SLEEP | STATUS_FLAG_FROZEN | STATUS_FLAG_FEAR | STATUS_FLAG_PARALYZE | STATUS_FLAG_DIZZY | STATUS_FLAG_STONE | STATUS_FLAG_STOP) + EVT_WAIT_FRAMES(1) + EVT_GOTO(2) + EVT_END_IF + EVT_WAIT_FRAMES(1) + EVT_END_LOOP + EVT_GOTO(10) + EVT_RETURN + EVT_END +}; + +EvtScript N(8021C94C) = { + EVT_CALL(ResetAllActorSounds, ACTOR_SELF) + EVT_CALL(SetGoalToHome, ACTOR_SELF) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(7.0)) + EVT_CALL(FlyToGoal, ACTOR_SELF, 0, 1, 11) + EVT_CALL(SetAnimation, ACTOR_SELF, 2, NPC_ANIM_paragoomba_hyper_idle) + EVT_RETURN + EVT_END +}; + +EvtScript N(handleEvent_8021C9C4) = { + EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE) + EVT_CALL(EnableIdleScript, ACTOR_SELF, 0) + EVT_CALL(GetLastEvent, ACTOR_SELF, LW(0)) + EVT_SWITCH(LW(0)) + EVT_CASE_OR_EQ(EVENT_HIT_COMBO) + EVT_CASE_OR_EQ(EVENT_HIT) + EVT_SET_CONST(LW(0), 2) + EVT_SET_CONST(LW(1), NPC_ANIM_paragoomba_hyper_pain) + EVT_EXEC_WAIT(DoNormalHit) + EVT_CALL(GetBattlePhase, LW(0)) + EVT_IF_EQ(LW(0), PHASE_FIRST_STRIKE) + EVT_CALL(GetEncounterState, LW(0)) + EVT_IF_EQ(LW(0), 4) + EVT_EXEC_WAIT(N(8021D9F4)) + EVT_END_IF + EVT_END_IF + EVT_END_CASE_GROUP + EVT_CASE_EQ(EVENT_BURN_HIT) + EVT_SET_CONST(LW(0), 2) + EVT_SET_CONST(LW(1), NPC_ANIM_paragoomba_hyper_burn_pain) + EVT_SET_CONST(LW(2), NPC_ANIM_paragoomba_hyper_burn_dead) + EVT_EXEC_WAIT(DoBurnHit) + EVT_CASE_EQ(EVENT_BURN_DEATH) + EVT_SET_CONST(LW(0), 2) + EVT_SET_CONST(LW(1), NPC_ANIM_paragoomba_hyper_burn_pain) + EVT_SET_CONST(LW(2), NPC_ANIM_paragoomba_hyper_burn_dead) + EVT_EXEC_WAIT(DoBurnHit) + EVT_SET_CONST(LW(0), 2) + EVT_SET_CONST(LW(1), NPC_ANIM_paragoomba_hyper_burn_dead) + EVT_EXEC_WAIT(DoDeath) + EVT_RETURN + EVT_CASE_EQ(EVENT_FALL_TRIGGER) + EVT_SET_CONST(LW(0), 2) + EVT_SET_CONST(LW(1), NPC_ANIM_paragoomba_hyper_pain) + EVT_EXEC_WAIT(DoNormalHit) + EVT_EXEC_WAIT(N(8021D9F4)) + EVT_CASE_EQ(EVENT_15) + EVT_SET_CONST(LW(0), 2) + EVT_SET_CONST(LW(1), NPC_ANIM_paragoomba_hyper_burn_pain) + EVT_SET_CONST(LW(2), NPC_ANIM_paragoomba_hyper_burn_dead) + EVT_EXEC_WAIT(DoBurnHit) + EVT_EXEC_WAIT(N(8021D9F4)) + EVT_CASE_EQ(EVENT_SHOCK_HIT) + EVT_CALL(SetActorRotationOffset, ACTOR_SELF, 0, 0, 0) + EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, 0) + EVT_CALL(EnableActorGlow, ACTOR_SELF, FALSE) + EVT_CALL(SetPartEventBits, ACTOR_SELF, 2, ACTOR_EVENT_FLAG_400000, 0) + EVT_CALL(SetActorVar, ACTOR_SELF, 0, 0) + EVT_CALL(SetIdleAnimations, ACTOR_SELF, 2, EVT_ADDR(N(idleAnimations_8021C594))) + EVT_SET_CONST(LW(0), 2) + EVT_SET_CONST(LW(1), NPC_ANIM_paragoomba_hyper_electrocute) + EVT_EXEC_WAIT(DoShockHit) + EVT_SET_CONST(LW(0), 2) + EVT_SET_CONST(LW(1), NPC_ANIM_paragoomba_hyper_pain) + EVT_EXEC_WAIT(DoJumpBack) + EVT_CALL(SetAnimation, ACTOR_SELF, 2, NPC_ANIM_paragoomba_hyper_dizzy) + EVT_EXEC_WAIT(N(8021C94C)) + EVT_CASE_EQ(EVENT_SHOCK_DEATH) + EVT_CALL(SetActorRotationOffset, ACTOR_SELF, 0, 0, 0) + EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, 0) + EVT_CALL(EnableActorGlow, ACTOR_SELF, FALSE) + EVT_CALL(SetPartEventBits, ACTOR_SELF, 2, ACTOR_EVENT_FLAG_400000, 0) + EVT_CALL(SetActorVar, ACTOR_SELF, 0, 0) + EVT_CALL(SetIdleAnimations, ACTOR_SELF, 2, EVT_ADDR(N(idleAnimations_8021C594))) + EVT_SET_CONST(LW(0), 2) + EVT_SET_CONST(LW(1), NPC_ANIM_paragoomba_hyper_electrocute) + EVT_EXEC_WAIT(DoShockHit) + EVT_SET_CONST(LW(0), 2) + EVT_SET_CONST(LW(1), NPC_ANIM_paragoomba_hyper_dead) + EVT_EXEC_WAIT(DoDeath) + EVT_RETURN + EVT_CASE_EQ(EVENT_STAR_BEAM) + EVT_CALL(GetActorVar, ACTOR_SELF, 0, LW(0)) + EVT_IF_EQ(LW(0), 1) + EVT_CALL(SetActorRotationOffset, ACTOR_SELF, 0, 0, 0) + EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, 0) + EVT_CALL(EnableActorGlow, ACTOR_SELF, FALSE) + EVT_CALL(SetPartEventBits, ACTOR_SELF, 2, ACTOR_EVENT_FLAG_400000, 0) + EVT_CALL(SetActorVar, ACTOR_SELF, 0, 0) + EVT_CALL(SetIdleAnimations, ACTOR_SELF, 2, EVT_ADDR(N(idleAnimations_8021C594))) + EVT_END_IF + EVT_SET_CONST(LW(0), 2) + EVT_SET_CONST(LW(1), NPC_ANIM_paragoomba_hyper_idle) + EVT_EXEC_WAIT(DoImmune) + EVT_CASE_OR_EQ(EVENT_UNKNOWN_TRIGGER) + EVT_CASE_OR_EQ(EVENT_IMMUNE) + EVT_CASE_OR_EQ(EVENT_AIR_LIFT_FAILED) + EVT_SET_CONST(LW(0), 2) + EVT_SET_CONST(LW(1), NPC_ANIM_paragoomba_hyper_idle) + EVT_EXEC_WAIT(DoImmune) + EVT_END_CASE_GROUP + EVT_CASE_EQ(EVENT_DEATH) + EVT_SET_CONST(LW(0), 2) + EVT_SET_CONST(LW(1), NPC_ANIM_paragoomba_hyper_pain) + EVT_EXEC_WAIT(DoNormalHit) + EVT_WAIT_FRAMES(10) + EVT_SET_CONST(LW(0), 2) + EVT_SET_CONST(LW(1), NPC_ANIM_paragoomba_hyper_dead) + 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, NPC_ANIM_paragoomba_hyper_run) + EVT_EXEC_WAIT(N(8021C94C)) + EVT_CALL(HPBarToHome, ACTOR_SELF) + EVT_CASE_EQ(EVENT_RECOVER_STATUS) + EVT_SET_CONST(LW(0), 2) + EVT_SET_CONST(LW(1), NPC_ANIM_paragoomba_hyper_idle) + EVT_EXEC_WAIT(DoRecover) + EVT_CASE_EQ(EVENT_SCARE_AWAY) + EVT_CALL(SetActorFlagBits, ACTOR_SELF, ACTOR_FLAG_FLYING, 0) + EVT_SET_CONST(LW(0), 2) + EVT_SET_CONST(LW(1), NPC_ANIM_paragoomba_hyper_run) + EVT_SET_CONST(LW(2), NPC_ANIM_paragoomba_hyper_pain) + EVT_EXEC_WAIT(DoScareAway) + EVT_RETURN + EVT_CASE_EQ(EVENT_BEGIN_AIR_LIFT) + EVT_SET_CONST(LW(0), 2) + EVT_SET_CONST(LW(1), NPC_ANIM_paragoomba_hyper_run) + EVT_EXEC_WAIT(DoAirLift) + EVT_CASE_EQ(EVENT_BLOW_AWAY) + EVT_SET_CONST(LW(0), 2) + EVT_SET_CONST(LW(1), NPC_ANIM_paragoomba_hyper_pain) + 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_8021D1DC) = { + 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, 2, NPC_ANIM_paragoomba_hyper_run) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + 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, LW(0), 0, 0, 1, BS_FLAGS1_10) + EVT_SWITCH(LW(0)) + EVT_CASE_OR_EQ(HIT_RESULT_MISS) + EVT_CASE_OR_EQ(HIT_RESULT_LUCKY) + EVT_SET(LW(10), LW(0)) + EVT_WAIT_FRAMES(10) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_66) + EVT_CALL(SetBattleCamZoom, 300) + EVT_CALL(BattleCamTargetActor, ACTOR_SELF) + EVT_CALL(func_8024ECF8, -1, 1, 0) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x20E0) + EVT_CALL(SetActorSounds, ACTOR_SELF, 2, 0, 0) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(5.0)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.8)) + EVT_CALL(SetAnimation, ACTOR_SELF, 2, NPC_ANIM_paragoomba_hyper_attack) + EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(JumpToGoal, ACTOR_SELF, 10, FALSE, FALSE, FALSE) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_UNUSED_2C1) + EVT_CALL(SetActorSounds, ACTOR_SELF, 1, 0, 0) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_SUB(LW(0), 80) + EVT_SET(LW(1), 20) + EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(8.0)) + EVT_CALL(SetAnimation, ACTOR_SELF, 2, NPC_ANIM_paragoomba_hyper_attack) + EVT_CALL(FlyToGoal, ACTOR_SELF, 0, -10, 4) + EVT_THREAD + EVT_LOOP(4) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x20DF) + EVT_WAIT_FRAMES(4) + EVT_END_LOOP + EVT_END_THREAD + EVT_CALL(SetAnimation, ACTOR_SELF, 2, NPC_ANIM_paragoomba_hyper_aim) + EVT_CALL(AddActorDecoration, ACTOR_SELF, 2, 0, 2) + EVT_CALL(SetAnimationRate, ACTOR_SELF, 2, EVT_FLOAT(3.0)) + EVT_WAIT_FRAMES(10) + EVT_IF_EQ(LW(10), HIT_RESULT_LUCKY) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LW(0), DAMAGE_TYPE_TRIGGER_LUCKY, 0, 0, 0) + EVT_END_IF + EVT_WAIT_FRAMES(10) + EVT_CALL(SetAnimationRate, ACTOR_SELF, 2, EVT_FLOAT(1.0)) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(ResetAllActorSounds, ACTOR_SELF) + EVT_CALL(YieldTurn) + EVT_CALL(SetAnimation, ACTOR_SELF, 2, NPC_ANIM_paragoomba_hyper_run) + EVT_CALL(SetActorYaw, ACTOR_SELF, 180) + EVT_EXEC_WAIT(N(8021C94C)) + EVT_CALL(SetActorYaw, ACTOR_SELF, 0) + EVT_CALL(RemoveActorDecoration, ACTOR_SELF, 2, 0) + EVT_CALL(EnableIdleScript, ACTOR_SELF, -1) + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_RETURN + EVT_END_CASE_GROUP + EVT_CASE_DEFAULT + EVT_WAIT_FRAMES(10) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_66) + EVT_CALL(SetBattleCamZoom, 300) + EVT_CALL(BattleCamTargetActor, ACTOR_SELF) + EVT_CALL(func_8024ECF8, -1, 1, 0) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x20E0) + EVT_CALL(SetActorSounds, ACTOR_SELF, 2, 0, 0) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(5.0)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.8)) + EVT_CALL(SetAnimation, ACTOR_SELF, 2, NPC_ANIM_paragoomba_hyper_attack) + EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(JumpToGoal, ACTOR_SELF, 10, FALSE, FALSE, FALSE) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_UNUSED_2C1) + EVT_CALL(SetActorSounds, ACTOR_SELF, 1, 0, 0) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(8.0)) + EVT_CALL(SetAnimation, ACTOR_SELF, 2, NPC_ANIM_paragoomba_hyper_attack) + EVT_CALL(FlyToGoal, ACTOR_SELF, 0, -10, 0) + EVT_END_SWITCH + EVT_WAIT_FRAMES(2) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LW(0), 0, 0, 0, 1, BS_FLAGS1_SP_EVT_ACTIVE) + EVT_SWITCH(LW(0)) + EVT_CASE_OR_EQ(HIT_RESULT_HIT) + EVT_CASE_OR_EQ(HIT_RESULT_QUAKE_IMMUNE) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(AddGoalPos, ACTOR_SELF, 50, 10, 0) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(6.0)) + EVT_CALL(SetAnimation, ACTOR_SELF, 2, NPC_ANIM_paragoomba_hyper_run) + EVT_CALL(FlyToGoal, ACTOR_SELF, 0, -10, 0) + EVT_CALL(ResetAllActorSounds, ACTOR_SELF) + EVT_WAIT_FRAMES(5) + EVT_CALL(YieldTurn) + EVT_CALL(SetAnimation, ACTOR_SELF, 2, NPC_ANIM_paragoomba_hyper_run) + EVT_EXEC_WAIT(N(8021C94C)) + 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/StartRumbleWithParams.inc.c" + +EvtScript N(8021D9F4) = { + EVT_CALL(func_8027D32C, ACTOR_SELF) + EVT_CALL(SetPartFlags, ACTOR_SELF, 2, ACTOR_PART_FLAG_INVISIBLE | ACTOR_PART_FLAG_4 | ACTOR_PART_FLAG_NO_TARGET) + EVT_CALL(SetPartFlags, ACTOR_SELF, 3, ACTOR_PART_FLAG_4 | ACTOR_PART_FLAG_NO_TARGET | ACTOR_PART_FLAG_100000) + EVT_CALL(SetPartFlags, ACTOR_SELF, 4, ACTOR_PART_FLAG_4 | ACTOR_PART_FLAG_NO_TARGET | ACTOR_PART_FLAG_100000) + EVT_CALL(SetPartFlags, ACTOR_SELF, 1, ACTOR_PART_FLAG_4 | ACTOR_PART_FLAG_MULTI_TARGET) + EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(SetPartPos, ACTOR_SELF, 3, LW(0), LW(1), LW(2)) + EVT_CALL(SetPartDispOffset, ACTOR_SELF, 3, -9, 7, -2) + EVT_CALL(SetPartPos, ACTOR_SELF, 4, LW(0), LW(1), LW(2)) + EVT_CALL(SetPartDispOffset, ACTOR_SELF, 4, 11, 7, -2) + EVT_CALL(GetLastEvent, ACTOR_SELF, LW(0)) + EVT_IF_EQ(LW(0), EVENT_15) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_hyper_burn_dead) + EVT_ELSE + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_hyper_pain) + EVT_END_IF + EVT_CALL(SetActorSounds, ACTOR_SELF, 2, 769, 0) + EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_SET(LW(1), 0) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.8)) + EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(JumpToGoal, ACTOR_SELF, 15, FALSE, TRUE, FALSE) + EVT_CALL(N(StartRumbleWithParams), 100, 10) + EVT_THREAD + EVT_CALL(ShakeCam, 1, 0, 5, EVT_FLOAT(0.3)) + EVT_END_THREAD + EVT_CALL(ResetActorSounds, ACTOR_SELF, 2) + EVT_CALL(GetLastEvent, ACTOR_SELF, LW(3)) + EVT_IF_EQ(LW(3), EVENT_15) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_hyper_pain) + EVT_CALL(GetActorPos, ACTOR_SELF, LW(3), LW(4), LW(5)) + EVT_ADD(LW(4), 10) + EVT_ADD(LW(5), 5) + EVT_CALL(PlayEffect, EFFECT_ID_27, 0, LW(3), LW(4), LW(5), EVT_FLOAT(1.0), 10, 0, 0, 0, 0, 0, 0, 0) + EVT_END_IF + EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(JumpToGoal, ACTOR_SELF, 10, FALSE, TRUE, FALSE) + EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(JumpToGoal, ACTOR_SELF, 5, FALSE, TRUE, FALSE) + EVT_LOOP(10) + EVT_CALL(SetPartFlagBits, ACTOR_SELF, 3, ACTOR_PART_FLAG_INVISIBLE, 1) + EVT_CALL(SetPartFlagBits, ACTOR_SELF, 4, ACTOR_PART_FLAG_INVISIBLE, 1) + EVT_WAIT_FRAMES(1) + EVT_CALL(SetPartFlagBits, ACTOR_SELF, 3, ACTOR_PART_FLAG_INVISIBLE, 0) + EVT_CALL(SetPartFlagBits, ACTOR_SELF, 4, ACTOR_PART_FLAG_INVISIBLE, 0) + EVT_WAIT_FRAMES(1) + EVT_END_LOOP + EVT_CALL(SetPartFlagBits, ACTOR_SELF, 3, ACTOR_PART_FLAG_INVISIBLE, 1) + EVT_CALL(SetPartFlagBits, ACTOR_SELF, 4, ACTOR_PART_FLAG_INVISIBLE, 1) + EVT_CALL(GetIndexFromHome, ACTOR_SELF, LW(0)) + EVT_MOD(LW(0), 4) + EVT_CALL(SetGoalToIndex, ACTOR_SELF, LW(0)) + EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(SetHomePos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_hyper_idle) + EVT_CALL(SetActorFlagBits, ACTOR_SELF, ACTOR_FLAG_FLYING, 0) + EVT_CALL(SetStatusTable, ACTOR_SELF, EVT_ADDR(N(statusTable_8021B308))) + EVT_CALL(SetActorType, ACTOR_SELF, ACTOR_TYPE_HYPER_GOOMBA) + EVT_EXEC_WAIT(N(8021E058)) + EVT_CALL(SetActorFlagBits, ACTOR_SELF, ACTOR_FLAG_1000, 1) + EVT_CALL(HPBarToHome, ACTOR_SELF) + EVT_CALL(ResetAllActorSounds, ACTOR_SELF) + EVT_RETURN + EVT_END +}; + +s32 N(idleAnimations_8021DF7C)[] = { + STATUS_NORMAL, NPC_ANIM_goomba_hyper_asleep, + STATUS_STONE, NPC_ANIM_goomba_hyper_still, + STATUS_SLEEP, NPC_ANIM_goomba_hyper_asleep, + STATUS_POISON, NPC_ANIM_goomba_hyper_asleep, + STATUS_STOP, NPC_ANIM_goomba_hyper_still, + STATUS_STATIC, NPC_ANIM_goomba_hyper_asleep, + STATUS_PARALYZE, NPC_ANIM_goomba_hyper_still, + STATUS_DIZZY, NPC_ANIM_goomba_hyper_dizzy, + STATUS_FEAR, NPC_ANIM_goomba_hyper_dizzy, + STATUS_END, +}; + +EvtScript N(8021DFC8) = { + EVT_CALL(BindIdle, ACTOR_SELF, EVT_ADDR(N(idle_8021F140))) + EVT_CALL(BindHandleEvent, ACTOR_SELF, EVT_ADDR(N(handleEvent_8021F41C))) + EVT_CALL(BindTakeTurn, ACTOR_SELF, EVT_ADDR(N(takeTurn_8021EE34))) + EVT_CALL(BindNextTurn, ACTOR_SELF, EVT_ADDR(N(nextTurn_8021E194))) + EVT_CALL(SetActorVar, ACTOR_SELF, 0, 0) + EVT_CALL(SetActorVar, ACTOR_SELF, 1, 0) + EVT_RETURN + EVT_END +}; + +EvtScript N(8021E058) = { + EVT_CALL(BindIdle, ACTOR_SELF, EVT_ADDR(N(idle_8021F140))) + EVT_CALL(BindHandleEvent, ACTOR_SELF, EVT_ADDR(N(handleEvent_8021F41C))) + EVT_CALL(BindTakeTurn, ACTOR_SELF, EVT_ADDR(N(takeTurn_8021EE34))) + EVT_CALL(BindNextTurn, ACTOR_SELF, EVT_ADDR(N(nextTurn_8021E194))) + EVT_CALL(GetActorVar, ACTOR_SELF, 0, LW(0)) + EVT_SWITCH(LW(0)) + EVT_CASE_EQ(0) + EVT_CALL(SetActorVar, ACTOR_SELF, 0, 0) + EVT_CASE_EQ(1) + EVT_CALL(SetActorVar, ACTOR_SELF, 0, 1) + EVT_CALL(SetPartEventBits, ACTOR_SELF, 1, ACTOR_EVENT_FLAG_400000, 1) + EVT_CALL(SetPartEventBits, ACTOR_SELF, 2, ACTOR_EVENT_FLAG_400000, 0) + EVT_END_SWITCH + EVT_CALL(GetActorVar, ACTOR_SELF, 1, LW(0)) + EVT_CALL(SetActorVar, ACTOR_SELF, 1, LW(0)) + EVT_RETURN + EVT_END +}; + +EvtScript N(nextTurn_8021E194) = { + EVT_CALL(GetBattlePhase, LW(0)) + EVT_SWITCH(LW(0)) + EVT_CASE_EQ(PHASE_PLAYER_BEGIN) + EVT_CASE_EQ(PHASE_ENEMY_BEGIN) + EVT_CASE_EQ(PHASE_ENEMY_END) + EVT_CALL(SetBattleVar, 1, 0) + EVT_CALL(SetActorVar, ACTOR_SELF, 1, 1) + EVT_END_SWITCH + EVT_RETURN + EVT_END +}; + +EvtScript N(8021E218) = { + 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, 0, LW(0)) + EVT_IF_EQ(LW(0), 0) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_14) + EVT_CALL(BattleCamTargetActor, ACTOR_SELF) + EVT_CALL(MoveBattleCamOver, 20) + EVT_WAIT_FRAMES(20) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_POWER_UP) + EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_ADD(LW(1), 10) + EVT_CALL(PlayEffect, EFFECT_ID_6B, 6, LW(0), LW(1), LW(2), EVT_FLOAT(1.0), 45, 0, 0, 0, 0, 0, 0, 0) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_hyper_run) + EVT_WAIT_FRAMES(30) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(MoveBattleCamOver, 20) + EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.0)) + EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), 0, LW(2)) + EVT_CALL(JumpToGoal, ACTOR_SELF, 20, FALSE, TRUE, FALSE) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x20DD) + EVT_CALL(N(StartRumbleWithParams), 128, 10) + EVT_THREAD + EVT_CALL(ShakeCam, 1, 0, 5, EVT_FLOAT(0.5)) + EVT_END_THREAD + EVT_CALL(SetActorVar, ACTOR_SELF, 0, 1) + EVT_CALL(SetIdleAnimations, ACTOR_SELF, 1, EVT_ADDR(N(idleAnimations_8021DF7C))) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_hyper_idle) + EVT_CALL(EnableActorGlow, ACTOR_SELF, TRUE) + EVT_CALL(SetPartEventBits, ACTOR_SELF, 1, ACTOR_EVENT_FLAG_400000, 1) + EVT_WAIT_FRAMES(2) + 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_LOOP(20) + EVT_CALL(SetActorDispOffset, ACTOR_SELF, 1, 0, 0) + EVT_WAIT_FRAMES(1) + EVT_CALL(SetActorDispOffset, ACTOR_SELF, -1, 0, 0) + EVT_WAIT_FRAMES(1) + EVT_END_LOOP + EVT_CALL(SetActorDispOffset, ACTOR_SELF, 0, 0, 0) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LW(0), 0, 0, 1, BS_FLAGS1_10) + EVT_SWITCH(LW(0)) + EVT_CASE_OR_EQ(HIT_RESULT_MISS) + EVT_CASE_OR_EQ(HIT_RESULT_LUCKY) + EVT_SET(LW(10), LW(0)) + EVT_THREAD + EVT_LOOP(0) + EVT_CALL(GetActorPos, ACTOR_PLAYER, LW(0), LW(1), LW(2)) + EVT_ADD(LW(0), 30) + EVT_CALL(GetActorPos, ACTOR_SELF, LW(3), LW(4), LW(5)) + EVT_IF_GT(LW(0), LW(3)) + EVT_BREAK_LOOP + EVT_END_IF + EVT_WAIT_FRAMES(1) + EVT_END_LOOP + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_B) + EVT_IF_EQ(LW(10), HIT_RESULT_LUCKY) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LW(0), DAMAGE_TYPE_TRIGGER_LUCKY, 0, 0, 0) + EVT_END_IF + EVT_WAIT_FRAMES(15) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_END_THREAD + EVT_CALL(SetActorRotationOffset, ACTOR_SELF, 0, 12, 0) + EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, 80) + EVT_CALL(SetActorSounds, ACTOR_SELF, 2, 271, 0) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(AddGoalPos, ACTOR_SELF, -200, 0, 0) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.01)) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(15.0)) + EVT_CALL(JumpToGoal, ACTOR_SELF, 0, FALSE, TRUE, FALSE) + EVT_CALL(ResetAllActorSounds, ACTOR_SELF) + EVT_CALL(SetActorRotationOffset, ACTOR_SELF, 0, 0, 0) + EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, 0) + EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(SetActorPos, ACTOR_SELF, LW(0), 0, LW(2)) + EVT_WAIT_FRAMES(20) + EVT_CALL(EnableActorGlow, ACTOR_SELF, FALSE) + EVT_CALL(SetPartEventBits, ACTOR_SELF, 1, ACTOR_EVENT_FLAG_400000, 0) + EVT_CALL(YieldTurn) + EVT_CALL(SetActorPos, ACTOR_SELF, 300, 0, 0) + EVT_CALL(AddActorDecoration, ACTOR_SELF, 1, 0, 2) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_hyper_run) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(8.0)) + EVT_CALL(SetGoalToHome, ACTOR_SELF) + EVT_CALL(RunToGoal, ACTOR_SELF, 0, FALSE) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_hyper_idle) + EVT_CALL(RemoveActorDecoration, ACTOR_SELF, 1, 0) + EVT_CALL(SetActorVar, ACTOR_SELF, 0, 0) + EVT_CALL(SetIdleAnimations, ACTOR_SELF, 1, EVT_ADDR(N(idleAnimations_8021F05C))) + EVT_CALL(EnableIdleScript, ACTOR_SELF, 1) + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_RETURN + EVT_END_CASE_GROUP + EVT_END_SWITCH + EVT_CALL(SetActorSounds, ACTOR_SELF, 2, 271, 0) + EVT_CALL(SetActorRotationOffset, ACTOR_SELF, 0, 12, 0) + EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, 80) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.01)) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(15.0)) + EVT_CALL(JumpToGoal, ACTOR_SELF, 0, FALSE, TRUE, FALSE) + EVT_WAIT_FRAMES(2) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LW(0), 0, 0, 0, 8, BS_FLAGS1_SP_EVT_ACTIVE) + EVT_SWITCH(LW(0)) + EVT_CASE_OR_EQ(HIT_RESULT_HIT) + EVT_CASE_OR_EQ(HIT_RESULT_QUAKE_IMMUNE) + EVT_THREAD + EVT_CALL(SetActorRotationOffset, ACTOR_SELF, 0, 12, 0) + EVT_SET(LW(0), 80) + EVT_LOOP(60) + EVT_ADD(LW(0), 18) + EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, LW(0)) + EVT_WAIT_FRAMES(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(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(ResetAllActorSounds, ACTOR_SELF) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.8)) + EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_SET(LW(1), 0) + EVT_SUB(LW(0), 50) + EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(JumpToGoal, ACTOR_SELF, 30, FALSE, TRUE, FALSE) + EVT_SUB(LW(0), 40) + EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(JumpToGoal, ACTOR_SELF, 20, FALSE, TRUE, FALSE) + EVT_SUB(LW(0), 30) + EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(JumpToGoal, ACTOR_SELF, 10, FALSE, TRUE, FALSE) + EVT_WAIT_FRAMES(10) + EVT_CALL(EnableActorGlow, ACTOR_SELF, FALSE) + EVT_CALL(SetPartEventBits, ACTOR_SELF, 1, ACTOR_EVENT_FLAG_400000, 0) + EVT_CALL(YieldTurn) + EVT_CALL(SetActorYaw, ACTOR_SELF, 180) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_hyper_run) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(8.0)) + EVT_CALL(SetGoalToHome, ACTOR_SELF) + EVT_CALL(RunToGoal, ACTOR_SELF, 0, FALSE) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_hyper_idle) + EVT_CALL(SetActorYaw, ACTOR_SELF, 0) + EVT_CALL(SetActorVar, ACTOR_SELF, 0, 0) + EVT_CALL(SetIdleAnimations, ACTOR_SELF, 1, EVT_ADDR(N(idleAnimations_8021F05C))) + 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_8021EE34) = { + EVT_CALL(GetBattlePhase, LW(0)) + EVT_IF_EQ(LW(0), PHASE_FIRST_STRIKE) + EVT_CALL(SetBattleVar, 1, 1) + EVT_EXEC_WAIT(N(takeTurn_8021FE6C)) + EVT_RETURN + EVT_END_IF + EVT_CALL(GetActorVar, ACTOR_SELF, 0, LW(0)) + EVT_IF_EQ(LW(0), 1) + EVT_EXEC_WAIT(N(8021E218)) + EVT_RETURN + EVT_END_IF + EVT_CALL(GetBattleVar, 1, LW(0)) + EVT_SWITCH(LW(0)) + EVT_CASE_EQ(0) + EVT_CALL(GetActorVar, ACTOR_SELF, 1, LW(0)) + EVT_IF_EQ(LW(0), 0) + EVT_CALL(RandInt, 1000, LW(0)) + EVT_IF_LT(LW(0), 750) + EVT_CALL(SetBattleVar, 1, 2) + EVT_EXEC_WAIT(N(8021E218)) + EVT_ELSE + EVT_CALL(SetBattleVar, 1, 1) + EVT_EXEC_WAIT(N(takeTurn_8021FE6C)) + EVT_END_IF + EVT_ELSE + EVT_CALL(RandInt, 1000, LW(0)) + EVT_IF_LT(LW(0), 500) + EVT_CALL(SetBattleVar, 1, 2) + EVT_EXEC_WAIT(N(8021E218)) + EVT_ELSE + EVT_CALL(SetBattleVar, 1, 1) + EVT_EXEC_WAIT(N(takeTurn_8021FE6C)) + EVT_END_IF + EVT_END_IF + EVT_CASE_EQ(1) + EVT_EXEC_WAIT(N(takeTurn_8021FE6C)) + EVT_CASE_EQ(2) + EVT_EXEC_WAIT(N(8021E218)) + EVT_END_SWITCH + EVT_RETURN + EVT_END +}; + +s32 N(idleAnimations_8021F05C)[] = { + STATUS_NORMAL, NPC_ANIM_goomba_hyper_idle, + STATUS_STONE, NPC_ANIM_goomba_hyper_still, + STATUS_SLEEP, NPC_ANIM_goomba_hyper_asleep, + STATUS_POISON, NPC_ANIM_goomba_hyper_idle, + STATUS_STOP, NPC_ANIM_goomba_hyper_still, + STATUS_STATIC, NPC_ANIM_goomba_hyper_idle, + STATUS_PARALYZE, NPC_ANIM_goomba_hyper_still, + STATUS_DIZZY, NPC_ANIM_goomba_hyper_dizzy, + STATUS_FEAR, NPC_ANIM_goomba_hyper_dizzy, + STATUS_END, +}; + +s32 N(idleAnimations_8021F0A8)[] = { + STATUS_NORMAL, NPC_ANIM_goomba_hyper_run, + STATUS_STONE, NPC_ANIM_goomba_hyper_still, + STATUS_SLEEP, NPC_ANIM_goomba_hyper_asleep, + STATUS_POISON, NPC_ANIM_goomba_hyper_idle, + STATUS_STOP, NPC_ANIM_goomba_hyper_still, + STATUS_STATIC, NPC_ANIM_goomba_hyper_run, + STATUS_PARALYZE, NPC_ANIM_goomba_hyper_still, + STATUS_DIZZY, NPC_ANIM_goomba_hyper_dizzy, + STATUS_FEAR, NPC_ANIM_goomba_hyper_dizzy, + STATUS_END, +}; + +EvtScript N(8021F0F4) = { + EVT_CALL(BindTakeTurn, ACTOR_SELF, EVT_ADDR(N(takeTurn_8021FE6C))) + EVT_CALL(BindIdle, ACTOR_SELF, EVT_ADDR(N(idle_8021F140))) + EVT_CALL(BindHandleEvent, ACTOR_SELF, EVT_ADDR(N(handleEvent_8021F41C))) + EVT_RETURN + EVT_END +}; + +EvtScript N(idle_8021F140) = { + EVT_LABEL(10) + EVT_CALL(RandInt, 80, LW(0)) + EVT_ADD(LW(0), 80) + EVT_LOOP(LW(0)) + EVT_LABEL(0) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LW(1)) + EVT_IF_FLAG(LW(1), STATUS_FLAG_SLEEP | STATUS_FLAG_FROZEN | STATUS_FLAG_FEAR | STATUS_FLAG_PARALYZE | STATUS_FLAG_DIZZY | STATUS_FLAG_STONE | STATUS_FLAG_STOP) + EVT_WAIT_FRAMES(1) + EVT_GOTO(0) + EVT_END_IF + EVT_WAIT_FRAMES(1) + EVT_END_LOOP + EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_ADD(LW(0), 5) + EVT_CALL(SetActorIdleSpeed, ACTOR_SELF, EVT_FLOAT(1.0)) + EVT_CALL(SetIdleAnimations, ACTOR_SELF, 1, EVT_ADDR(N(idleAnimations_8021F0A8))) + EVT_CALL(SetIdleGoal, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(IdleRunToGoal, ACTOR_SELF, 0) + EVT_CALL(SetIdleAnimations, ACTOR_SELF, 1, EVT_ADDR(N(idleAnimations_8021F05C))) + EVT_LOOP(20) + EVT_LABEL(1) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LW(1)) + EVT_IF_FLAG(LW(1), STATUS_FLAG_SLEEP | STATUS_FLAG_FROZEN | STATUS_FLAG_FEAR | STATUS_FLAG_PARALYZE | STATUS_FLAG_DIZZY | STATUS_FLAG_STONE | STATUS_FLAG_STOP) + EVT_WAIT_FRAMES(1) + EVT_GOTO(1) + EVT_END_IF + EVT_WAIT_FRAMES(1) + EVT_END_LOOP + EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_SUB(LW(0), 5) + EVT_CALL(SetActorIdleSpeed, ACTOR_SELF, EVT_FLOAT(1.0)) + EVT_CALL(SetIdleAnimations, ACTOR_SELF, 1, EVT_ADDR(N(idleAnimations_8021F0A8))) + EVT_CALL(SetIdleGoal, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(IdleRunToGoal, ACTOR_SELF, 0) + EVT_CALL(SetIdleAnimations, ACTOR_SELF, 1, EVT_ADDR(N(idleAnimations_8021F05C))) + EVT_LOOP(80) + EVT_LABEL(2) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LW(1)) + EVT_IF_FLAG(LW(1), STATUS_FLAG_SLEEP | STATUS_FLAG_FROZEN | STATUS_FLAG_FEAR | STATUS_FLAG_PARALYZE | STATUS_FLAG_DIZZY | STATUS_FLAG_STONE | STATUS_FLAG_STOP) + EVT_WAIT_FRAMES(1) + EVT_GOTO(2) + EVT_END_IF + EVT_WAIT_FRAMES(1) + EVT_END_LOOP + EVT_GOTO(10) + EVT_RETURN + EVT_END +}; + +EvtScript N(handleEvent_8021F41C) = { + EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE) + EVT_CALL(EnableIdleScript, ACTOR_SELF, 0) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.0), EVT_FLOAT(1.0), EVT_FLOAT(1.0)) + EVT_CALL(GetLastEvent, ACTOR_SELF, LW(0)) + EVT_SWITCH(LW(0)) + EVT_CASE_OR_EQ(EVENT_HIT_COMBO) + EVT_CASE_OR_EQ(EVENT_HIT) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_goomba_hyper_pain) + EVT_EXEC_WAIT(DoNormalHit) + EVT_END_CASE_GROUP + EVT_CASE_EQ(EVENT_BURN_HIT) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_goomba_hyper_burn_pain) + EVT_SET_CONST(LW(2), NPC_ANIM_goomba_hyper_burn_dead) + EVT_EXEC_WAIT(DoBurnHit) + EVT_CASE_EQ(EVENT_BURN_DEATH) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_goomba_hyper_burn_pain) + EVT_SET_CONST(LW(2), NPC_ANIM_goomba_hyper_burn_dead) + EVT_EXEC_WAIT(DoBurnHit) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_goomba_hyper_burn_dead) + EVT_EXEC_WAIT(DoDeath) + EVT_RETURN + EVT_CASE_EQ(EVENT_SPIN_SMASH_HIT) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_goomba_hyper_pain) + EVT_EXEC_WAIT(DoSpinSmashHit) + EVT_CASE_EQ(EVENT_SPIN_SMASH_DEATH) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_goomba_hyper_pain) + EVT_EXEC_WAIT(DoSpinSmashHit) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_goomba_hyper_dead) + EVT_EXEC_WAIT(DoDeath) + EVT_RETURN + EVT_CASE_EQ(EVENT_SHOCK_HIT) + EVT_CALL(SetActorRotationOffset, ACTOR_SELF, 0, 0, 0) + EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, 0) + EVT_CALL(EnableActorGlow, ACTOR_SELF, FALSE) + EVT_CALL(SetPartEventBits, ACTOR_SELF, 1, ACTOR_EVENT_FLAG_400000, 0) + EVT_CALL(SetActorVar, ACTOR_SELF, 0, 0) + EVT_CALL(SetIdleAnimations, ACTOR_SELF, 1, EVT_ADDR(N(idleAnimations_8021F05C))) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_goomba_hyper_electrocute) + EVT_EXEC_WAIT(DoShockHit) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_goomba_hyper_pain) + EVT_EXEC_WAIT(DoJumpBack) + EVT_CALL(JumpToGoal, ACTOR_SELF, 5, FALSE, TRUE, FALSE) + EVT_CALL(SetAnimationRate, ACTOR_SELF, 1, EVT_FLOAT(2.0)) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_hyper_dizzy) + EVT_CALL(SetGoalToHome, ACTOR_SELF) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(8.0)) + EVT_CALL(RunToGoal, ACTOR_SELF, 0, FALSE) + EVT_CALL(SetAnimationRate, ACTOR_SELF, 1, EVT_FLOAT(1.0)) + EVT_WAIT_FRAMES(5) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_hyper_idle) + 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_CALL(SetActorRotationOffset, ACTOR_SELF, 0, 0, 0) + EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, 0) + EVT_CALL(EnableActorGlow, ACTOR_SELF, FALSE) + EVT_CALL(SetPartEventBits, ACTOR_SELF, 1, ACTOR_EVENT_FLAG_400000, 0) + EVT_CALL(SetActorVar, ACTOR_SELF, 0, 0) + EVT_CALL(SetIdleAnimations, ACTOR_SELF, 1, EVT_ADDR(N(idleAnimations_8021F05C))) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_goomba_hyper_electrocute) + EVT_EXEC_WAIT(DoShockHit) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_goomba_hyper_dead) + EVT_EXEC_WAIT(DoDeath) + EVT_RETURN + EVT_CASE_EQ(EVENT_STAR_BEAM) + EVT_CALL(GetActorVar, ACTOR_SELF, 0, LW(0)) + EVT_IF_EQ(LW(0), 1) + EVT_CALL(SetActorRotationOffset, ACTOR_SELF, 0, 0, 0) + EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, 0) + EVT_CALL(EnableActorGlow, ACTOR_SELF, FALSE) + EVT_CALL(SetPartEventBits, ACTOR_SELF, 1, ACTOR_EVENT_FLAG_400000, 0) + EVT_CALL(SetActorVar, ACTOR_SELF, 0, 0) + EVT_CALL(SetIdleAnimations, ACTOR_SELF, 1, EVT_ADDR(N(idleAnimations_8021F05C))) + EVT_END_IF + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_goomba_hyper_idle) + EVT_EXEC_WAIT(DoImmune) + EVT_CASE_OR_EQ(EVENT_UNKNOWN_TRIGGER) + EVT_CASE_OR_EQ(EVENT_IMMUNE) + EVT_CASE_OR_EQ(EVENT_AIR_LIFT_FAILED) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_goomba_hyper_idle) + EVT_EXEC_WAIT(DoImmune) + EVT_END_CASE_GROUP + EVT_CASE_EQ(EVENT_DEATH) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_goomba_hyper_pain) + EVT_EXEC_WAIT(DoNormalHit) + EVT_WAIT_FRAMES(10) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_goomba_hyper_dead) + EVT_EXEC_WAIT(DoDeath) + EVT_RETURN + EVT_CASE_EQ(EVENT_END_FIRST_STRIKE) + EVT_CALL(SetAnimationRate, ACTOR_SELF, 1, EVT_FLOAT(2.0)) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_hyper_run) + EVT_CALL(SetGoalToHome, ACTOR_SELF) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(4.0)) + EVT_CALL(RunToGoal, ACTOR_SELF, 0, FALSE) + EVT_CALL(SetAnimationRate, ACTOR_SELF, 1, EVT_FLOAT(1.0)) + EVT_CALL(HPBarToHome, ACTOR_SELF) + EVT_CASE_EQ(EVENT_RECOVER_STATUS) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_goomba_hyper_idle) + EVT_EXEC_WAIT(DoRecover) + EVT_CASE_EQ(EVENT_SCARE_AWAY) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_goomba_hyper_run) + EVT_SET_CONST(LW(2), NPC_ANIM_goomba_hyper_pain) + EVT_EXEC_WAIT(DoScareAway) + EVT_RETURN + EVT_CASE_EQ(EVENT_BEGIN_AIR_LIFT) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_goomba_hyper_run) + EVT_EXEC_WAIT(DoAirLift) + EVT_CASE_EQ(EVENT_BLOW_AWAY) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_goomba_hyper_pain) + EVT_EXEC_WAIT(DoBlowAway) + EVT_RETURN + EVT_CASE_DEFAULT + EVT_END_SWITCH + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_hyper_idle) + EVT_CALL(EnableIdleScript, ACTOR_SELF, 1) + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_RETURN + EVT_END +}; + +#include "common/anglestuff.inc.c" + +EvtScript N(takeTurn_8021FE6C) = { + 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, NPC_ANIM_goomba_hyper_run) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(AddGoalPos, ACTOR_SELF, 50, 0, 0) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(6.0)) + EVT_CALL(RunToGoal, ACTOR_SELF, 0, FALSE) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_hyper_idle) + EVT_CALL(SetActorDispOffset, ACTOR_SELF, 0, -1, 0) + EVT_WAIT_FRAMES(1) + EVT_CALL(SetActorDispOffset, ACTOR_SELF, 0, -2, 0) + EVT_WAIT_FRAMES(5) + EVT_CALL(SetActorDispOffset, ACTOR_SELF, 0, 0, 0) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_hyper_headbonk) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LW(0), 0, 0, 1, BS_FLAGS1_10) + EVT_SWITCH(LW(0)) + EVT_CASE_OR_EQ(HIT_RESULT_MISS) + EVT_CASE_OR_EQ(HIT_RESULT_LUCKY) + EVT_SET(LW(10), LW(0)) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_SUB(LW(0), 10) + EVT_SET(LW(1), 10) + EVT_ADD(LW(2), 3) + EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.2)) + EVT_THREAD + EVT_CALL(GetActorPos, ACTOR_SELF, LW(1), LW(2), LW(0)) + EVT_SET(LW(0), 0) + EVT_LOOP(16) + EVT_CALL(GetActorPos, ACTOR_SELF, LW(4), LW(5), LW(6)) + EVT_CALL(N(AngleCalculate), LW(1), LW(2), LW(4), LW(5), LW(0)) + EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, LW(0)) + EVT_SET(LW(1), LW(4)) + EVT_SET(LW(2), LW(5)) + EVT_SET(LW(3), LW(6)) + EVT_WAIT_FRAMES(1) + EVT_END_LOOP + EVT_END_THREAD + EVT_THREAD + EVT_WAIT_FRAMES(6) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_hyper_headbonk) + EVT_END_THREAD + EVT_CALL(JumpToGoal, ACTOR_SELF, 16, FALSE, TRUE, FALSE) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_hyper_asleep) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.1), EVT_FLOAT(0.8), EVT_FLOAT(1.0)) + EVT_CALL(SetActorDispOffset, ACTOR_SELF, 0, 5, 0) + EVT_WAIT_FRAMES(1) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.3), EVT_FLOAT(0.5), EVT_FLOAT(1.0)) + EVT_CALL(SetActorDispOffset, ACTOR_SELF, 0, -2, 0) + EVT_WAIT_FRAMES(1) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.0), EVT_FLOAT(1.0), EVT_FLOAT(1.0)) + EVT_CALL(SetActorDispOffset, ACTOR_SELF, 0, 7, 0) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_hyper_pain) + EVT_WAIT_FRAMES(5) + EVT_IF_EQ(LW(10), HIT_RESULT_LUCKY) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LW(0), DAMAGE_TYPE_TRIGGER_LUCKY, 0, 0, 0) + EVT_END_IF + EVT_WAIT_FRAMES(5) + EVT_CALL(SetActorDispOffset, ACTOR_SELF, 0, 0, 0) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_hyper_headbonk) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_ADD(LW(0), 20) + EVT_SET(LW(1), 0) + EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(2.0)) + EVT_THREAD + EVT_WAIT_FRAMES(4) + EVT_SET(LW(0), 180) + EVT_LOOP(4) + EVT_SUB(LW(0), 45) + EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, LW(0)) + EVT_WAIT_FRAMES(1) + EVT_END_LOOP + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_hyper_headbonk) + EVT_END_THREAD + EVT_CALL(JumpToGoal, ACTOR_SELF, 15, FALSE, TRUE, FALSE) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_hyper_dizzy) + EVT_WAIT_FRAMES(5) + 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(SetAnimationRate, ACTOR_SELF, 1, EVT_FLOAT(2.0)) + EVT_CALL(SetGoalToHome, ACTOR_SELF) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(8.0)) + EVT_CALL(RunToGoal, ACTOR_SELF, 0, FALSE) + EVT_CALL(SetAnimationRate, ACTOR_SELF, 1, EVT_FLOAT(1.0)) + EVT_CALL(SetActorYaw, ACTOR_SELF, 0) + EVT_WAIT_FRAMES(5) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_hyper_idle) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.6)) + EVT_CALL(JumpToGoal, ACTOR_SELF, 5, FALSE, TRUE, FALSE) + 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_CASE_DEFAULT + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.2)) + EVT_THREAD + EVT_CALL(GetActorPos, ACTOR_SELF, LW(1), LW(2), LW(0)) + EVT_SET(LW(0), 0) + EVT_LOOP(16) + EVT_CALL(GetActorPos, ACTOR_SELF, LW(4), LW(5), LW(6)) + EVT_CALL(N(AngleCalculate), LW(1), LW(2), LW(4), LW(5), LW(0)) + EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, LW(0)) + EVT_SET(LW(1), LW(4)) + EVT_SET(LW(2), LW(5)) + EVT_SET(LW(3), LW(6)) + EVT_WAIT_FRAMES(1) + EVT_END_LOOP + EVT_END_THREAD + EVT_THREAD + EVT_WAIT_FRAMES(6) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_hyper_headbonk) + EVT_END_THREAD + EVT_CALL(JumpToGoal, ACTOR_SELF, 16, FALSE, TRUE, FALSE) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_hyper_pre_headbonk) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.1), EVT_FLOAT(0.8), EVT_FLOAT(1.0)) + EVT_WAIT_FRAMES(1) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.3), EVT_FLOAT(0.5), EVT_FLOAT(1.0)) + EVT_WAIT_FRAMES(1) + EVT_END_SWITCH + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LW(0), 0, 0, 0, 1, BS_FLAGS1_SP_EVT_ACTIVE) + EVT_SWITCH(LW(0)) + EVT_CASE_OR_EQ(HIT_RESULT_HIT) + EVT_CASE_OR_EQ(HIT_RESULT_QUAKE_IMMUNE) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.1), EVT_FLOAT(0.8), EVT_FLOAT(1.0)) + EVT_WAIT_FRAMES(1) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.0), EVT_FLOAT(1.0), EVT_FLOAT(1.0)) + EVT_WAIT_FRAMES(1) + EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, 0) + EVT_CALL(SetActorDispOffset, ACTOR_SELF, 0, 0, 0) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_hyper_idle) + EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_ADD(LW(0), 40) + EVT_SET(LW(1), 0) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.8)) + EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(JumpToGoal, ACTOR_SELF, 10, FALSE, TRUE, FALSE) + EVT_ADD(LW(0), 30) + EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(JumpToGoal, ACTOR_SELF, 8, FALSE, TRUE, FALSE) + EVT_ADD(LW(0), 20) + EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(JumpToGoal, ACTOR_SELF, 6, FALSE, TRUE, FALSE) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_hyper_idle) + EVT_WAIT_FRAMES(3) + EVT_CALL(YieldTurn) + EVT_CALL(SetAnimationRate, ACTOR_SELF, 1, EVT_FLOAT(2.0)) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_hyper_run) + EVT_CALL(SetGoalToHome, ACTOR_SELF) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(8.0)) + EVT_CALL(RunToGoal, ACTOR_SELF, 0, FALSE) + EVT_CALL(SetAnimationRate, ACTOR_SELF, 1, EVT_FLOAT(1.0)) + 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_arn/actor/hypergoomba.c b/src/battle/area_arn/actor/hypergoomba.c new file mode 100644 index 0000000000..55b0f0dc0d --- /dev/null +++ b/src/battle/area_arn/actor/hypergoomba.c @@ -0,0 +1,725 @@ +#include "common.h" +#include "effects.h" +#include "battle/battle.h" +#include "script_api/battle.h" +#include "sprite/npc/goomba.h" + +#define NAMESPACE b_area_arn_hypergoomba + +extern s32 N(idleAnimations_80219818)[]; +extern EvtScript N(init_802188C0); +extern EvtScript N(idle_802198FC); +extern EvtScript N(handleEvent_80219BD8); +extern EvtScript N(takeTurn_802195F0); +extern EvtScript N(nextTurn_80218950); +extern EvtScript N(takeTurn_8021A628); + +s32 N(defenseTable_80218770)[] = { + ELEMENT_NORMAL, 0, + ELEMENT_END, +}; + +s32 N(statusTable_8021877C)[] = { + STATUS_NORMAL, 0, + STATUS_DEFAULT, 0, + STATUS_SLEEP, 80, + STATUS_POISON, 100, + STATUS_FROZEN, 0, + STATUS_DIZZY, 80, + STATUS_FEAR, 100, + STATUS_STATIC, 100, + STATUS_PARALYZE, 100, + STATUS_SHRINK, 80, + STATUS_STOP, 90, + 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(partsTable_80218828)[] = { + { + .flags = ACTOR_PART_FLAG_MULTI_TARGET, + .index = 1, + .posOffset = { 0, 0, 0 }, + .targetOffset = { 0, 22 }, + .opacity = 255, + .idleAnimations = N(idleAnimations_80219818), + .defenseTable = N(defenseTable_80218770), + .eventFlags = ACTOR_EVENT_FLAG_0, + .elementImmunityFlags = 0, + .unk_1C = 246, + }, +}; + +ActorBlueprint NAMESPACE = { + .flags = 0, + .type = ACTOR_TYPE_HYPER_GOOMBA, + .level = 12, + .maxHP = 7, + .partCount = ARRAY_COUNT(N(partsTable_80218828)), + .partsData = N(partsTable_80218828), + .script = N(init_802188C0), + .statusTable = N(statusTable_8021877C), + .escapeChance = 60, + .airLiftChance = 90, + .spookChance = 90, + .baseStatusChance = 80, + .upAndAwayChance = 95, + .spinSmashReq = 0, + .powerBounceChance = 100, + .coinReward = 1, + .size = { 24, 24 }, + .hpBarOffset = { 0, 0 }, + .statusIconOffset = { -10, 20 }, + .statusMessageOffset = { 10, 20 }, +}; + +s32 N(idleAnimations_80218874)[] = { + STATUS_NORMAL, NPC_ANIM_goomba_hyper_asleep, + STATUS_STONE, NPC_ANIM_goomba_hyper_still, + STATUS_SLEEP, NPC_ANIM_goomba_hyper_asleep, + STATUS_POISON, NPC_ANIM_goomba_hyper_asleep, + STATUS_STOP, NPC_ANIM_goomba_hyper_still, + STATUS_STATIC, NPC_ANIM_goomba_hyper_asleep, + STATUS_PARALYZE, NPC_ANIM_goomba_hyper_still, + STATUS_DIZZY, NPC_ANIM_goomba_hyper_dizzy, + STATUS_FEAR, NPC_ANIM_goomba_hyper_dizzy, + STATUS_END, +}; + +EvtScript N(init_802188C0) = { + EVT_CALL(BindIdle, ACTOR_SELF, EVT_ADDR(N(idle_802198FC))) + EVT_CALL(BindHandleEvent, ACTOR_SELF, EVT_ADDR(N(handleEvent_80219BD8))) + EVT_CALL(BindTakeTurn, ACTOR_SELF, EVT_ADDR(N(takeTurn_802195F0))) + EVT_CALL(BindNextTurn, ACTOR_SELF, EVT_ADDR(N(nextTurn_80218950))) + EVT_CALL(SetActorVar, ACTOR_SELF, 0, 0) + EVT_CALL(SetActorVar, ACTOR_SELF, 1, 0) + EVT_RETURN + EVT_END +}; + +EvtScript N(nextTurn_80218950) = { + EVT_CALL(GetBattlePhase, LW(0)) + EVT_SWITCH(LW(0)) + EVT_CASE_EQ(PHASE_PLAYER_BEGIN) + EVT_CASE_EQ(PHASE_ENEMY_BEGIN) + EVT_CASE_EQ(PHASE_ENEMY_END) + EVT_CALL(SetBattleVar, 1, 0) + EVT_CALL(SetActorVar, ACTOR_SELF, 1, 1) + EVT_END_SWITCH + EVT_RETURN + EVT_END +}; + +#include "common/StartRumbleWithParams.inc.c" + +EvtScript N(802189D4) = { + 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, 0, LW(0)) + EVT_IF_EQ(LW(0), 0) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_14) + EVT_CALL(BattleCamTargetActor, ACTOR_SELF) + EVT_CALL(MoveBattleCamOver, 20) + EVT_WAIT_FRAMES(20) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_POWER_UP) + EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_ADD(LW(1), 10) + EVT_CALL(PlayEffect, EFFECT_ID_6B, 6, LW(0), LW(1), LW(2), EVT_FLOAT(1.0), 45, 0, 0, 0, 0, 0, 0, 0) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_hyper_run) + EVT_WAIT_FRAMES(30) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(MoveBattleCamOver, 20) + EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.0)) + EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), 0, LW(2)) + EVT_CALL(JumpToGoal, ACTOR_SELF, 20, FALSE, TRUE, FALSE) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x20DD) + EVT_CALL(N(StartRumbleWithParams), 128, 10) + EVT_THREAD + EVT_CALL(ShakeCam, 1, 0, 5, EVT_FLOAT(0.5)) + EVT_END_THREAD + EVT_CALL(SetActorVar, ACTOR_SELF, 0, 1) + EVT_CALL(SetIdleAnimations, ACTOR_SELF, 1, EVT_ADDR(N(idleAnimations_80218874))) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_hyper_idle) + EVT_CALL(EnableActorGlow, ACTOR_SELF, TRUE) + EVT_CALL(SetPartEventBits, ACTOR_SELF, 1, ACTOR_EVENT_FLAG_400000, 1) + EVT_WAIT_FRAMES(2) + 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_LOOP(20) + EVT_CALL(SetActorDispOffset, ACTOR_SELF, 1, 0, 0) + EVT_WAIT_FRAMES(1) + EVT_CALL(SetActorDispOffset, ACTOR_SELF, -1, 0, 0) + EVT_WAIT_FRAMES(1) + EVT_END_LOOP + EVT_CALL(SetActorDispOffset, ACTOR_SELF, 0, 0, 0) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LW(0), 0, 0, 1, BS_FLAGS1_10) + EVT_SWITCH(LW(0)) + EVT_CASE_OR_EQ(HIT_RESULT_MISS) + EVT_CASE_OR_EQ(HIT_RESULT_LUCKY) + EVT_SET(LW(10), LW(0)) + EVT_THREAD + EVT_LOOP(0) + EVT_CALL(GetActorPos, ACTOR_PLAYER, LW(0), LW(1), LW(2)) + EVT_ADD(LW(0), 30) + EVT_CALL(GetActorPos, ACTOR_SELF, LW(3), LW(4), LW(5)) + EVT_IF_GT(LW(0), LW(3)) + EVT_BREAK_LOOP + EVT_END_IF + EVT_WAIT_FRAMES(1) + EVT_END_LOOP + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_B) + EVT_IF_EQ(LW(10), HIT_RESULT_LUCKY) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LW(0), DAMAGE_TYPE_TRIGGER_LUCKY, 0, 0, 0) + EVT_END_IF + EVT_WAIT_FRAMES(15) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_END_THREAD + EVT_CALL(SetActorRotationOffset, ACTOR_SELF, 0, 12, 0) + EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, 80) + EVT_CALL(SetActorSounds, ACTOR_SELF, 2, 271, 0) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(AddGoalPos, ACTOR_SELF, -200, 0, 0) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.01)) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(15.0)) + EVT_CALL(JumpToGoal, ACTOR_SELF, 0, FALSE, TRUE, FALSE) + EVT_CALL(ResetAllActorSounds, ACTOR_SELF) + EVT_CALL(SetActorRotationOffset, ACTOR_SELF, 0, 0, 0) + EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, 0) + EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(SetActorPos, ACTOR_SELF, LW(0), 0, LW(2)) + EVT_WAIT_FRAMES(20) + EVT_CALL(EnableActorGlow, ACTOR_SELF, FALSE) + EVT_CALL(SetPartEventBits, ACTOR_SELF, 1, ACTOR_EVENT_FLAG_400000, 0) + EVT_CALL(YieldTurn) + EVT_CALL(SetActorPos, ACTOR_SELF, 300, 0, 0) + EVT_CALL(AddActorDecoration, ACTOR_SELF, 1, 0, 2) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_hyper_run) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(8.0)) + EVT_CALL(SetGoalToHome, ACTOR_SELF) + EVT_CALL(RunToGoal, ACTOR_SELF, 0, FALSE) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_hyper_idle) + EVT_CALL(RemoveActorDecoration, ACTOR_SELF, 1, 0) + EVT_CALL(SetActorVar, ACTOR_SELF, 0, 0) + EVT_CALL(SetIdleAnimations, ACTOR_SELF, 1, EVT_ADDR(N(idleAnimations_80219818))) + EVT_CALL(EnableIdleScript, ACTOR_SELF, 1) + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_RETURN + EVT_END_CASE_GROUP + EVT_END_SWITCH + EVT_CALL(SetActorSounds, ACTOR_SELF, 2, 271, 0) + EVT_CALL(SetActorRotationOffset, ACTOR_SELF, 0, 12, 0) + EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, 80) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.01)) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(15.0)) + EVT_CALL(JumpToGoal, ACTOR_SELF, 0, FALSE, TRUE, FALSE) + EVT_WAIT_FRAMES(2) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LW(0), 0, 0, 0, 8, BS_FLAGS1_SP_EVT_ACTIVE) + EVT_SWITCH(LW(0)) + EVT_CASE_OR_EQ(HIT_RESULT_HIT) + EVT_CASE_OR_EQ(HIT_RESULT_QUAKE_IMMUNE) + EVT_THREAD + EVT_CALL(SetActorRotationOffset, ACTOR_SELF, 0, 12, 0) + EVT_SET(LW(0), 80) + EVT_LOOP(60) + EVT_ADD(LW(0), 18) + EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, LW(0)) + EVT_WAIT_FRAMES(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(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(ResetAllActorSounds, ACTOR_SELF) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.8)) + EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_SET(LW(1), 0) + EVT_SUB(LW(0), 50) + EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(JumpToGoal, ACTOR_SELF, 30, FALSE, TRUE, FALSE) + EVT_SUB(LW(0), 40) + EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(JumpToGoal, ACTOR_SELF, 20, FALSE, TRUE, FALSE) + EVT_SUB(LW(0), 30) + EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(JumpToGoal, ACTOR_SELF, 10, FALSE, TRUE, FALSE) + EVT_WAIT_FRAMES(10) + EVT_CALL(EnableActorGlow, ACTOR_SELF, FALSE) + EVT_CALL(SetPartEventBits, ACTOR_SELF, 1, ACTOR_EVENT_FLAG_400000, 0) + EVT_CALL(YieldTurn) + EVT_CALL(SetActorYaw, ACTOR_SELF, 180) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_hyper_run) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(8.0)) + EVT_CALL(SetGoalToHome, ACTOR_SELF) + EVT_CALL(RunToGoal, ACTOR_SELF, 0, FALSE) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_hyper_idle) + EVT_CALL(SetActorYaw, ACTOR_SELF, 0) + EVT_CALL(SetActorVar, ACTOR_SELF, 0, 0) + EVT_CALL(SetIdleAnimations, ACTOR_SELF, 1, EVT_ADDR(N(idleAnimations_80219818))) + 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_802195F0) = { + EVT_CALL(GetBattlePhase, LW(0)) + EVT_IF_EQ(LW(0), PHASE_FIRST_STRIKE) + EVT_CALL(SetBattleVar, 1, 1) + EVT_EXEC_WAIT(N(takeTurn_8021A628)) + EVT_RETURN + EVT_END_IF + EVT_CALL(GetActorVar, ACTOR_SELF, 0, LW(0)) + EVT_IF_EQ(LW(0), 1) + EVT_EXEC_WAIT(N(802189D4)) + EVT_RETURN + EVT_END_IF + EVT_CALL(GetBattleVar, 1, LW(0)) + EVT_SWITCH(LW(0)) + EVT_CASE_EQ(0) + EVT_CALL(GetActorVar, ACTOR_SELF, 1, LW(0)) + EVT_IF_EQ(LW(0), 0) + EVT_CALL(RandInt, 1000, LW(0)) + EVT_IF_LT(LW(0), 750) + EVT_CALL(SetBattleVar, 1, 2) + EVT_EXEC_WAIT(N(802189D4)) + EVT_ELSE + EVT_CALL(SetBattleVar, 1, 1) + EVT_EXEC_WAIT(N(takeTurn_8021A628)) + EVT_END_IF + EVT_ELSE + EVT_CALL(RandInt, 1000, LW(0)) + EVT_IF_LT(LW(0), 500) + EVT_CALL(SetBattleVar, 1, 2) + EVT_EXEC_WAIT(N(802189D4)) + EVT_ELSE + EVT_CALL(SetBattleVar, 1, 1) + EVT_EXEC_WAIT(N(takeTurn_8021A628)) + EVT_END_IF + EVT_END_IF + EVT_CASE_EQ(1) + EVT_EXEC_WAIT(N(takeTurn_8021A628)) + EVT_CASE_EQ(2) + EVT_EXEC_WAIT(N(802189D4)) + EVT_END_SWITCH + EVT_RETURN + EVT_END +}; + +s32 N(idleAnimations_80219818)[] = { + STATUS_NORMAL, NPC_ANIM_goomba_hyper_idle, + STATUS_STONE, NPC_ANIM_goomba_hyper_still, + STATUS_SLEEP, NPC_ANIM_goomba_hyper_asleep, + STATUS_POISON, NPC_ANIM_goomba_hyper_idle, + STATUS_STOP, NPC_ANIM_goomba_hyper_still, + STATUS_STATIC, NPC_ANIM_goomba_hyper_idle, + STATUS_PARALYZE, NPC_ANIM_goomba_hyper_still, + STATUS_DIZZY, NPC_ANIM_goomba_hyper_dizzy, + STATUS_FEAR, NPC_ANIM_goomba_hyper_dizzy, + STATUS_END, +}; + +s32 N(idleAnimations_80219864)[] = { + STATUS_NORMAL, NPC_ANIM_goomba_hyper_run, + STATUS_STONE, NPC_ANIM_goomba_hyper_still, + STATUS_SLEEP, NPC_ANIM_goomba_hyper_asleep, + STATUS_POISON, NPC_ANIM_goomba_hyper_idle, + STATUS_STOP, NPC_ANIM_goomba_hyper_still, + STATUS_STATIC, NPC_ANIM_goomba_hyper_run, + STATUS_PARALYZE, NPC_ANIM_goomba_hyper_still, + STATUS_DIZZY, NPC_ANIM_goomba_hyper_dizzy, + STATUS_FEAR, NPC_ANIM_goomba_hyper_dizzy, + STATUS_END, +}; + +EvtScript N(802198B0) = { + EVT_CALL(BindTakeTurn, ACTOR_SELF, EVT_ADDR(N(takeTurn_8021A628))) + EVT_CALL(BindIdle, ACTOR_SELF, EVT_ADDR(N(idle_802198FC))) + EVT_CALL(BindHandleEvent, ACTOR_SELF, EVT_ADDR(N(handleEvent_80219BD8))) + EVT_RETURN + EVT_END +}; + +EvtScript N(idle_802198FC) = { + EVT_LABEL(10) + EVT_CALL(RandInt, 80, LW(0)) + EVT_ADD(LW(0), 80) + EVT_LOOP(LW(0)) + EVT_LABEL(0) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LW(1)) + EVT_IF_FLAG(LW(1), STATUS_FLAG_SLEEP | STATUS_FLAG_FROZEN | STATUS_FLAG_FEAR | STATUS_FLAG_PARALYZE | STATUS_FLAG_DIZZY | STATUS_FLAG_STONE | STATUS_FLAG_STOP) + EVT_WAIT_FRAMES(1) + EVT_GOTO(0) + EVT_END_IF + EVT_WAIT_FRAMES(1) + EVT_END_LOOP + EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_ADD(LW(0), 5) + EVT_CALL(SetActorIdleSpeed, ACTOR_SELF, EVT_FLOAT(1.0)) + EVT_CALL(SetIdleAnimations, ACTOR_SELF, 1, EVT_ADDR(N(idleAnimations_80219864))) + EVT_CALL(SetIdleGoal, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(IdleRunToGoal, ACTOR_SELF, 0) + EVT_CALL(SetIdleAnimations, ACTOR_SELF, 1, EVT_ADDR(N(idleAnimations_80219818))) + EVT_LOOP(20) + EVT_LABEL(1) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LW(1)) + EVT_IF_FLAG(LW(1), STATUS_FLAG_SLEEP | STATUS_FLAG_FROZEN | STATUS_FLAG_FEAR | STATUS_FLAG_PARALYZE | STATUS_FLAG_DIZZY | STATUS_FLAG_STONE | STATUS_FLAG_STOP) + EVT_WAIT_FRAMES(1) + EVT_GOTO(1) + EVT_END_IF + EVT_WAIT_FRAMES(1) + EVT_END_LOOP + EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_SUB(LW(0), 5) + EVT_CALL(SetActorIdleSpeed, ACTOR_SELF, EVT_FLOAT(1.0)) + EVT_CALL(SetIdleAnimations, ACTOR_SELF, 1, EVT_ADDR(N(idleAnimations_80219864))) + EVT_CALL(SetIdleGoal, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(IdleRunToGoal, ACTOR_SELF, 0) + EVT_CALL(SetIdleAnimations, ACTOR_SELF, 1, EVT_ADDR(N(idleAnimations_80219818))) + EVT_LOOP(80) + EVT_LABEL(2) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LW(1)) + EVT_IF_FLAG(LW(1), STATUS_FLAG_SLEEP | STATUS_FLAG_FROZEN | STATUS_FLAG_FEAR | STATUS_FLAG_PARALYZE | STATUS_FLAG_DIZZY | STATUS_FLAG_STONE | STATUS_FLAG_STOP) + EVT_WAIT_FRAMES(1) + EVT_GOTO(2) + EVT_END_IF + EVT_WAIT_FRAMES(1) + EVT_END_LOOP + EVT_GOTO(10) + EVT_RETURN + EVT_END +}; + +EvtScript N(handleEvent_80219BD8) = { + EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE) + EVT_CALL(EnableIdleScript, ACTOR_SELF, 0) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.0), EVT_FLOAT(1.0), EVT_FLOAT(1.0)) + EVT_CALL(GetLastEvent, ACTOR_SELF, LW(0)) + EVT_SWITCH(LW(0)) + EVT_CASE_OR_EQ(EVENT_HIT_COMBO) + EVT_CASE_OR_EQ(EVENT_HIT) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_goomba_hyper_pain) + EVT_EXEC_WAIT(DoNormalHit) + EVT_END_CASE_GROUP + EVT_CASE_EQ(EVENT_BURN_HIT) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_goomba_hyper_burn_pain) + EVT_SET_CONST(LW(2), NPC_ANIM_goomba_hyper_burn_dead) + EVT_EXEC_WAIT(DoBurnHit) + EVT_CASE_EQ(EVENT_BURN_DEATH) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_goomba_hyper_burn_pain) + EVT_SET_CONST(LW(2), NPC_ANIM_goomba_hyper_burn_dead) + EVT_EXEC_WAIT(DoBurnHit) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_goomba_hyper_burn_dead) + EVT_EXEC_WAIT(DoDeath) + EVT_RETURN + EVT_CASE_EQ(EVENT_SPIN_SMASH_HIT) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_goomba_hyper_pain) + EVT_EXEC_WAIT(DoSpinSmashHit) + EVT_CASE_EQ(EVENT_SPIN_SMASH_DEATH) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_goomba_hyper_pain) + EVT_EXEC_WAIT(DoSpinSmashHit) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_goomba_hyper_dead) + EVT_EXEC_WAIT(DoDeath) + EVT_RETURN + EVT_CASE_EQ(EVENT_SHOCK_HIT) + EVT_CALL(SetActorRotationOffset, ACTOR_SELF, 0, 0, 0) + EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, 0) + EVT_CALL(EnableActorGlow, ACTOR_SELF, FALSE) + EVT_CALL(SetPartEventBits, ACTOR_SELF, 1, ACTOR_EVENT_FLAG_400000, 0) + EVT_CALL(SetActorVar, ACTOR_SELF, 0, 0) + EVT_CALL(SetIdleAnimations, ACTOR_SELF, 1, EVT_ADDR(N(idleAnimations_80219818))) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_goomba_hyper_electrocute) + EVT_EXEC_WAIT(DoShockHit) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_goomba_hyper_pain) + EVT_EXEC_WAIT(DoJumpBack) + EVT_CALL(JumpToGoal, ACTOR_SELF, 5, FALSE, TRUE, FALSE) + EVT_CALL(SetAnimationRate, ACTOR_SELF, 1, EVT_FLOAT(2.0)) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_hyper_dizzy) + EVT_CALL(SetGoalToHome, ACTOR_SELF) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(8.0)) + EVT_CALL(RunToGoal, ACTOR_SELF, 0, FALSE) + EVT_CALL(SetAnimationRate, ACTOR_SELF, 1, EVT_FLOAT(1.0)) + EVT_WAIT_FRAMES(5) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_hyper_idle) + 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_CALL(SetActorRotationOffset, ACTOR_SELF, 0, 0, 0) + EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, 0) + EVT_CALL(EnableActorGlow, ACTOR_SELF, FALSE) + EVT_CALL(SetPartEventBits, ACTOR_SELF, 1, ACTOR_EVENT_FLAG_400000, 0) + EVT_CALL(SetActorVar, ACTOR_SELF, 0, 0) + EVT_CALL(SetIdleAnimations, ACTOR_SELF, 1, EVT_ADDR(N(idleAnimations_80219818))) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_goomba_hyper_electrocute) + EVT_EXEC_WAIT(DoShockHit) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_goomba_hyper_dead) + EVT_EXEC_WAIT(DoDeath) + EVT_RETURN + EVT_CASE_EQ(EVENT_STAR_BEAM) + EVT_CALL(GetActorVar, ACTOR_SELF, 0, LW(0)) + EVT_IF_EQ(LW(0), 1) + EVT_CALL(SetActorRotationOffset, ACTOR_SELF, 0, 0, 0) + EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, 0) + EVT_CALL(EnableActorGlow, ACTOR_SELF, FALSE) + EVT_CALL(SetPartEventBits, ACTOR_SELF, 1, ACTOR_EVENT_FLAG_400000, 0) + EVT_CALL(SetActorVar, ACTOR_SELF, 0, 0) + EVT_CALL(SetIdleAnimations, ACTOR_SELF, 1, EVT_ADDR(N(idleAnimations_80219818))) + EVT_END_IF + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_goomba_hyper_idle) + EVT_EXEC_WAIT(DoImmune) + EVT_CASE_OR_EQ(EVENT_UNKNOWN_TRIGGER) + EVT_CASE_OR_EQ(EVENT_IMMUNE) + EVT_CASE_OR_EQ(EVENT_AIR_LIFT_FAILED) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_goomba_hyper_idle) + EVT_EXEC_WAIT(DoImmune) + EVT_END_CASE_GROUP + EVT_CASE_EQ(EVENT_DEATH) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_goomba_hyper_pain) + EVT_EXEC_WAIT(DoNormalHit) + EVT_WAIT_FRAMES(10) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_goomba_hyper_dead) + EVT_EXEC_WAIT(DoDeath) + EVT_RETURN + EVT_CASE_EQ(EVENT_END_FIRST_STRIKE) + EVT_CALL(SetAnimationRate, ACTOR_SELF, 1, EVT_FLOAT(2.0)) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_hyper_run) + EVT_CALL(SetGoalToHome, ACTOR_SELF) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(4.0)) + EVT_CALL(RunToGoal, ACTOR_SELF, 0, FALSE) + EVT_CALL(SetAnimationRate, ACTOR_SELF, 1, EVT_FLOAT(1.0)) + EVT_CALL(HPBarToHome, ACTOR_SELF) + EVT_CASE_EQ(EVENT_RECOVER_STATUS) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_goomba_hyper_idle) + EVT_EXEC_WAIT(DoRecover) + EVT_CASE_EQ(EVENT_SCARE_AWAY) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_goomba_hyper_run) + EVT_SET_CONST(LW(2), NPC_ANIM_goomba_hyper_pain) + EVT_EXEC_WAIT(DoScareAway) + EVT_RETURN + EVT_CASE_EQ(EVENT_BEGIN_AIR_LIFT) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_goomba_hyper_run) + EVT_EXEC_WAIT(DoAirLift) + EVT_CASE_EQ(EVENT_BLOW_AWAY) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_goomba_hyper_pain) + EVT_EXEC_WAIT(DoBlowAway) + EVT_RETURN + EVT_CASE_DEFAULT + EVT_END_SWITCH + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_hyper_idle) + EVT_CALL(EnableIdleScript, ACTOR_SELF, 1) + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_RETURN + EVT_END +}; + +#include "common/anglestuff.inc.c" + +EvtScript N(takeTurn_8021A628) = { + 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, NPC_ANIM_goomba_hyper_run) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(AddGoalPos, ACTOR_SELF, 50, 0, 0) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(6.0)) + EVT_CALL(RunToGoal, ACTOR_SELF, 0, FALSE) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_hyper_idle) + EVT_CALL(SetActorDispOffset, ACTOR_SELF, 0, -1, 0) + EVT_WAIT_FRAMES(1) + EVT_CALL(SetActorDispOffset, ACTOR_SELF, 0, -2, 0) + EVT_WAIT_FRAMES(5) + EVT_CALL(SetActorDispOffset, ACTOR_SELF, 0, 0, 0) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_hyper_headbonk) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LW(0), 0, 0, 1, BS_FLAGS1_10) + EVT_SWITCH(LW(0)) + EVT_CASE_OR_EQ(HIT_RESULT_MISS) + EVT_CASE_OR_EQ(HIT_RESULT_LUCKY) + EVT_SET(LW(10), LW(0)) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_SUB(LW(0), 10) + EVT_SET(LW(1), 10) + EVT_ADD(LW(2), 3) + EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.2)) + EVT_THREAD + EVT_CALL(GetActorPos, ACTOR_SELF, LW(1), LW(2), LW(0)) + EVT_SET(LW(0), 0) + EVT_LOOP(16) + EVT_CALL(GetActorPos, ACTOR_SELF, LW(4), LW(5), LW(6)) + EVT_CALL(N(AngleCalculate), LW(1), LW(2), LW(4), LW(5), LW(0)) + EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, LW(0)) + EVT_SET(LW(1), LW(4)) + EVT_SET(LW(2), LW(5)) + EVT_SET(LW(3), LW(6)) + EVT_WAIT_FRAMES(1) + EVT_END_LOOP + EVT_END_THREAD + EVT_THREAD + EVT_WAIT_FRAMES(6) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_hyper_headbonk) + EVT_END_THREAD + EVT_CALL(JumpToGoal, ACTOR_SELF, 16, FALSE, TRUE, FALSE) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_hyper_asleep) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.1), EVT_FLOAT(0.8), EVT_FLOAT(1.0)) + EVT_CALL(SetActorDispOffset, ACTOR_SELF, 0, 5, 0) + EVT_WAIT_FRAMES(1) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.3), EVT_FLOAT(0.5), EVT_FLOAT(1.0)) + EVT_CALL(SetActorDispOffset, ACTOR_SELF, 0, -2, 0) + EVT_WAIT_FRAMES(1) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.0), EVT_FLOAT(1.0), EVT_FLOAT(1.0)) + EVT_CALL(SetActorDispOffset, ACTOR_SELF, 0, 7, 0) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_hyper_pain) + EVT_WAIT_FRAMES(5) + EVT_IF_EQ(LW(10), HIT_RESULT_LUCKY) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LW(0), DAMAGE_TYPE_TRIGGER_LUCKY, 0, 0, 0) + EVT_END_IF + EVT_WAIT_FRAMES(5) + EVT_CALL(SetActorDispOffset, ACTOR_SELF, 0, 0, 0) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_hyper_headbonk) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_ADD(LW(0), 20) + EVT_SET(LW(1), 0) + EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(2.0)) + EVT_THREAD + EVT_WAIT_FRAMES(4) + EVT_SET(LW(0), 180) + EVT_LOOP(4) + EVT_SUB(LW(0), 45) + EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, LW(0)) + EVT_WAIT_FRAMES(1) + EVT_END_LOOP + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_hyper_headbonk) + EVT_END_THREAD + EVT_CALL(JumpToGoal, ACTOR_SELF, 15, FALSE, TRUE, FALSE) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_hyper_dizzy) + EVT_WAIT_FRAMES(5) + 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(SetAnimationRate, ACTOR_SELF, 1, EVT_FLOAT(2.0)) + EVT_CALL(SetGoalToHome, ACTOR_SELF) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(8.0)) + EVT_CALL(RunToGoal, ACTOR_SELF, 0, FALSE) + EVT_CALL(SetAnimationRate, ACTOR_SELF, 1, EVT_FLOAT(1.0)) + EVT_CALL(SetActorYaw, ACTOR_SELF, 0) + EVT_WAIT_FRAMES(5) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_hyper_idle) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.6)) + EVT_CALL(JumpToGoal, ACTOR_SELF, 5, FALSE, TRUE, FALSE) + 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_CASE_DEFAULT + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.2)) + EVT_THREAD + EVT_CALL(GetActorPos, ACTOR_SELF, LW(1), LW(2), LW(0)) + EVT_SET(LW(0), 0) + EVT_LOOP(16) + EVT_CALL(GetActorPos, ACTOR_SELF, LW(4), LW(5), LW(6)) + EVT_CALL(N(AngleCalculate), LW(1), LW(2), LW(4), LW(5), LW(0)) + EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, LW(0)) + EVT_SET(LW(1), LW(4)) + EVT_SET(LW(2), LW(5)) + EVT_SET(LW(3), LW(6)) + EVT_WAIT_FRAMES(1) + EVT_END_LOOP + EVT_END_THREAD + EVT_THREAD + EVT_WAIT_FRAMES(6) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_hyper_headbonk) + EVT_END_THREAD + EVT_CALL(JumpToGoal, ACTOR_SELF, 16, FALSE, TRUE, FALSE) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_hyper_pre_headbonk) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.1), EVT_FLOAT(0.8), EVT_FLOAT(1.0)) + EVT_WAIT_FRAMES(1) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.3), EVT_FLOAT(0.5), EVT_FLOAT(1.0)) + EVT_WAIT_FRAMES(1) + EVT_END_SWITCH + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LW(0), 0, 0, 0, 1, BS_FLAGS1_SP_EVT_ACTIVE) + EVT_SWITCH(LW(0)) + EVT_CASE_OR_EQ(HIT_RESULT_HIT) + EVT_CASE_OR_EQ(HIT_RESULT_QUAKE_IMMUNE) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.1), EVT_FLOAT(0.8), EVT_FLOAT(1.0)) + EVT_WAIT_FRAMES(1) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.0), EVT_FLOAT(1.0), EVT_FLOAT(1.0)) + EVT_WAIT_FRAMES(1) + EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, 0) + EVT_CALL(SetActorDispOffset, ACTOR_SELF, 0, 0, 0) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_hyper_idle) + EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_ADD(LW(0), 40) + EVT_SET(LW(1), 0) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.8)) + EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(JumpToGoal, ACTOR_SELF, 10, FALSE, TRUE, FALSE) + EVT_ADD(LW(0), 30) + EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(JumpToGoal, ACTOR_SELF, 8, FALSE, TRUE, FALSE) + EVT_ADD(LW(0), 20) + EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(JumpToGoal, ACTOR_SELF, 6, FALSE, TRUE, FALSE) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_hyper_idle) + EVT_WAIT_FRAMES(3) + EVT_CALL(YieldTurn) + EVT_CALL(SetAnimationRate, ACTOR_SELF, 1, EVT_FLOAT(2.0)) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_hyper_run) + EVT_CALL(SetGoalToHome, ACTOR_SELF) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(8.0)) + EVT_CALL(RunToGoal, ACTOR_SELF, 0, FALSE) + EVT_CALL(SetAnimationRate, ACTOR_SELF, 1, EVT_FLOAT(1.0)) + 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_arn/actor/tubba_blubba.c b/src/battle/area_arn/actor/tubba_blubba.c new file mode 100644 index 0000000000..7a44df8cd6 --- /dev/null +++ b/src/battle/area_arn/actor/tubba_blubba.c @@ -0,0 +1,532 @@ +#include "common.h" +#include "effects.h" +#include "battle/battle.h" +#include "script_api/battle.h" +#include "sprite/npc/battle_tubba.h" + +#define NAMESPACE b_area_arn_tubba_blubba + +extern EvtScript N(init_80225D98); +extern EvtScript N(takeTurn_802264AC); +extern EvtScript N(idle_80225F58); +extern EvtScript N(handleEvent_802260D0); +extern EvtScript N(80225E08); +extern EvtScript N(80226558); +extern EvtScript N(80226B88); +extern EvtScript N(80227878); + +s32 N(idleAnimations_80225C40)[] = { + STATUS_NORMAL, NPC_ANIM_battle_tubba_Palette_00_Anim_1, + STATUS_STONE, NPC_ANIM_battle_tubba_Palette_00_Anim_0, + STATUS_SLEEP, NPC_ANIM_battle_tubba_Palette_00_Anim_18, + STATUS_POISON, NPC_ANIM_battle_tubba_Palette_00_Anim_1, + STATUS_STOP, NPC_ANIM_battle_tubba_Palette_00_Anim_0, + STATUS_STATIC, NPC_ANIM_battle_tubba_Palette_00_Anim_0, + STATUS_PARALYZE, NPC_ANIM_battle_tubba_Palette_00_Anim_0, + STATUS_PARALYZE, NPC_ANIM_battle_tubba_Palette_00_Anim_0, + STATUS_DIZZY, NPC_ANIM_battle_tubba_Palette_00_Anim_18, + STATUS_FEAR, NPC_ANIM_battle_tubba_Palette_00_Anim_0, + STATUS_END, +}; + +s32 N(defenseTable_80225C94)[] = { + ELEMENT_NORMAL, 0, + ELEMENT_END, +}; + +s32 N(statusTable_80225CA0)[] = { + STATUS_NORMAL, 0, + STATUS_DEFAULT, 0, + STATUS_SLEEP, 80, + STATUS_POISON, 0, + STATUS_FROZEN, 0, + STATUS_DIZZY, 80, + STATUS_FEAR, 0, + STATUS_STATIC, 0, + STATUS_PARALYZE, 80, + STATUS_SHRINK, 90, + STATUS_STOP, 80, + 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(partsTable_80225D4C)[] = { + { + .flags = ACTOR_PART_FLAG_MULTI_TARGET, + .index = 1, + .posOffset = { 0, 0, 0 }, + .targetOffset = { -15, 75 }, + .opacity = 255, + .idleAnimations = N(idleAnimations_80225C40), + .defenseTable = N(defenseTable_80225C94), + .eventFlags = ACTOR_EVENT_FLAG_0, + .elementImmunityFlags = 0, + .unk_1C = 246, + }, +}; + +ActorBlueprint NAMESPACE = { + .flags = 0, + .type = ACTOR_TYPE_TUBBA_BLUBBA_INVINCIBLE, + .level = 70, + .maxHP = 10, + .partCount = ARRAY_COUNT(N(partsTable_80225D4C)), + .partsData = N(partsTable_80225D4C), + .script = N(init_80225D98), + .statusTable = N(statusTable_80225CA0), + .escapeChance = 0, + .airLiftChance = 0, + .spookChance = 0, + .baseStatusChance = 0, + .upAndAwayChance = 0, + .spinSmashReq = 4, + .powerBounceChance = 75, + .coinReward = 0, + .size = { 110, 100 }, + .hpBarOffset = { 0, 0 }, + .statusIconOffset = { -33, 78 }, + .statusMessageOffset = { 10, 75 }, +}; + +EvtScript N(init_80225D98) = { + EVT_CALL(BindTakeTurn, ACTOR_SELF, EVT_ADDR(N(takeTurn_802264AC))) + EVT_CALL(BindIdle, ACTOR_SELF, EVT_ADDR(N(idle_80225F58))) + EVT_CALL(BindHandleEvent, ACTOR_SELF, EVT_ADDR(N(handleEvent_802260D0))) + EVT_CALL(SetActorVar, ACTOR_SELF, 8, 0) + EVT_EXEC(N(80225E08)) + EVT_RETURN + EVT_END +}; + +EvtScript N(80225E08) = { + EVT_LABEL(0) + EVT_WAIT_FRAMES(1) + EVT_CALL(ActorExists, ACTOR_SELF, LW(0)) + EVT_IF_EQ(LW(0), FALSE) + EVT_RETURN + EVT_END_IF + EVT_CALL(GetStatusFlags, ACTOR_SELF, LW(0)) + EVT_IF_FLAG(LW(0), STATUS_FLAG_SHRINK) + EVT_GOTO(0) + EVT_END_IF + EVT_CALL(GetAnimation, ACTOR_SELF, 1, LW(0)) + EVT_IF_EQ(LW(0), NPC_ANIM_battle_tubba_Palette_00_Anim_6) + EVT_GOTO(1) + EVT_END_IF + EVT_IF_EQ(LW(0), NPC_ANIM_battle_tubba_Palette_00_Anim_7) + EVT_GOTO(1) + EVT_END_IF + EVT_GOTO(0) + EVT_LABEL(1) + EVT_CALL(StartRumble, 1) + EVT_CALL(ShakeCam, 1, 0, 2, EVT_FLOAT(0.5)) + EVT_WAIT_FRAMES(1) + EVT_GOTO(0) + EVT_RETURN + EVT_END +}; + +EvtScript N(idle_80225F58) = { + EVT_LABEL(0) + EVT_WAIT_FRAMES(1) + EVT_GOTO(0) + EVT_RETURN + EVT_END +}; + +EvtScript N(80225F8C) = { + EVT_CALL(GetActorVar, ACTOR_SELF, 8, LW(0)) + EVT_IF_EQ(LW(0), 0) + EVT_RETURN + EVT_END_IF + EVT_RETURN + EVT_END +}; + +EvtScript N(80225FD4) = { + EVT_SET(LW(1), 7012353) + EVT_EXEC_WAIT(N(80225F8C)) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, LW(1)) + EVT_CALL(SetGoalToHome, ACTOR_SELF) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(6.0)) + EVT_SET(LW(1), 7012358) + EVT_EXEC_WAIT(N(80225F8C)) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, LW(1)) + EVT_CALL(RunToGoal, ACTOR_SELF, 0, FALSE) + EVT_SET(LW(1), 7012353) + EVT_EXEC_WAIT(N(80225F8C)) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, LW(1)) + EVT_CALL(SetActorYaw, ACTOR_SELF, 0) + EVT_RETURN + EVT_END +}; + +EvtScript N(handleEvent_802260D0) = { + EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE) + EVT_CALL(EnableIdleScript, ACTOR_SELF, 0) + EVT_CALL(GetLastEvent, ACTOR_SELF, LW(10)) + EVT_SWITCH(LW(10)) + EVT_CASE_OR_EQ(EVENT_HIT_COMBO) + EVT_CASE_OR_EQ(EVENT_HIT) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_battle_tubba_Palette_00_Anim_14) + EVT_EXEC_WAIT(DoNormalHit) + EVT_END_CASE_GROUP + EVT_CASE_EQ(EVENT_BURN_HIT) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_battle_tubba_Palette_00_Anim_14) + EVT_SET_CONST(LW(2), -1) + EVT_EXEC_WAIT(DoBurnHit) + EVT_CASE_EQ(EVENT_BURN_DEATH) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_battle_tubba_Palette_00_Anim_14) + EVT_SET_CONST(LW(2), -1) + EVT_EXEC_WAIT(DoBurnHit) + EVT_EXEC_WAIT(N(80227878)) + EVT_RETURN + EVT_CASE_EQ(EVENT_SPIN_SMASH_HIT) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_battle_tubba_Palette_00_Anim_14) + EVT_EXEC_WAIT(DoSpinSmashHit) + EVT_CASE_EQ(EVENT_SHOCK_HIT) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(MoveBattleCamOver, 20) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_battle_tubba_Palette_00_Anim_14) + EVT_EXEC_WAIT(DoShockHit) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_battle_tubba_Palette_00_Anim_14) + EVT_EXEC_WAIT(DoJumpBack) + EVT_EXEC_WAIT(N(80225FD4)) + EVT_CASE_OR_EQ(EVENT_UNKNOWN_TRIGGER) + EVT_CASE_OR_EQ(EVENT_IMMUNE) + EVT_CASE_OR_EQ(EVENT_AIR_LIFT_FAILED) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_battle_tubba_Palette_00_Anim_1) + EVT_EXEC_WAIT(DoImmune) + EVT_END_CASE_GROUP + EVT_CASE_EQ(EVENT_SHOCK_DEATH) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(MoveBattleCamOver, 20) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_battle_tubba_Palette_00_Anim_14) + EVT_EXEC_WAIT(DoShockHit) + EVT_EXEC_WAIT(N(80227878)) + EVT_RETURN + EVT_CASE_EQ(EVENT_DEATH) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_battle_tubba_Palette_00_Anim_14) + EVT_EXEC_WAIT(DoNormalHit) + EVT_EXEC_WAIT(N(80227878)) + EVT_RETURN + EVT_CASE_EQ(EVENT_SPIN_SMASH_DEATH) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_battle_tubba_Palette_00_Anim_14) + EVT_EXEC_WAIT(DoSpinSmashHit) + EVT_EXEC_WAIT(N(80227878)) + EVT_RETURN + EVT_CASE_EQ(EVENT_RECOVER_STATUS) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_battle_tubba_Palette_00_Anim_1) + EVT_EXEC_WAIT(DoRecover) + 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_802264AC) = { + EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE) + EVT_CALL(EnableIdleScript, ACTOR_SELF, 0) + EVT_CALL(RandInt, 100, LW(0)) + EVT_IF_LT(LW(0), 60) + EVT_EXEC_WAIT(N(80226558)) + EVT_ELSE + EVT_EXEC_WAIT(N(80226B88)) + EVT_END_IF + EVT_CALL(EnableIdleScript, ACTOR_SELF, 1) + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_RETURN + EVT_END +}; + +EvtScript N(80226558) = { + EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_63) + EVT_CALL(SetBattleCamZoom, 150) + EVT_CALL(BattleCamTargetActor, ACTOR_SELF) + EVT_CALL(func_8024ECF8, -1, 1, 0) + EVT_SET(LW(1), 7012358) + EVT_EXEC_WAIT(N(80225F8C)) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, LW(1)) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LW(5)) + EVT_IF_NOT_FLAG(LW(5), STATUS_FLAG_SHRINK) + EVT_CALL(AddGoalPos, ACTOR_SELF, 50, 0, 0) + EVT_ELSE + EVT_CALL(AddGoalPos, ACTOR_SELF, 20, 0, 0) + EVT_END_IF + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(4.0)) + EVT_CALL(RunToGoal, ACTOR_SELF, 0, FALSE) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_battle_tubba_Palette_00_Anim_15) + EVT_WAIT_FRAMES(8) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x35E) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_battle_tubba_Palette_00_Anim_16) + EVT_WAIT_FRAMES(20) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_battle_tubba_Palette_00_Anim_17) + EVT_WAIT_FRAMES(3) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LW(0)) + EVT_IF_NOT_FLAG(LW(0), STATUS_FLAG_SHRINK) + EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_SET(LW(1), 0) + EVT_CALL(PlayEffect, EFFECT_ID_06, 4, LW(0), LW(1), LW(2), 0, 0, 0, 0, 0, 0, 0, 0, 0) + EVT_THREAD + EVT_CALL(StartRumble, 1) + EVT_CALL(ShakeCam, 1, 0, 5, EVT_FLOAT(15.0)) + EVT_END_THREAD + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x20EA) + EVT_END_IF + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LW(10), 0, 0, 1, BS_FLAGS1_10) + EVT_SWITCH(LW(10)) + EVT_CASE_OR_EQ(HIT_RESULT_MISS) + EVT_CASE_OR_EQ(HIT_RESULT_LUCKY) + EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(PlayEffect, EFFECT_ID_25, 0, LW(0), 0, LW(2), 0, 0, 0, 0, 0, 0, 0, 0, 0) + EVT_WAIT_FRAMES(30) + EVT_SET(LW(1), 7012353) + EVT_EXEC_WAIT(N(80225F8C)) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, LW(1)) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(MoveBattleCamOver, 20) + EVT_IF_EQ(LW(10), HIT_RESULT_LUCKY) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LW(0), DAMAGE_TYPE_TRIGGER_LUCKY, 0, 0, 0) + EVT_END_IF + EVT_EXEC_WAIT(N(80225FD4)) + EVT_RETURN + EVT_END_CASE_GROUP + EVT_CASE_DEFAULT + EVT_END_SWITCH + EVT_CALL(GetStatusFlags, ACTOR_SELF, LW(5)) + EVT_IF_NOT_FLAG(LW(5), STATUS_FLAG_SHRINK) + EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(PlayEffect, EFFECT_ID_25, 1, LW(0), 0, LW(2), 0, 0, 0, 0, 0, 0, 0, 0, 0) + EVT_END_IF + EVT_WAIT_FRAMES(2) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_IF_NOT_FLAG(LW(5), STATUS_FLAG_SHRINK) + EVT_CALL(func_80269EAC, 23) + EVT_END_IF + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LW(15), 0, 0, 0, 4, BS_FLAGS1_SP_EVT_ACTIVE) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_63) + EVT_CALL(SetBattleCamZoom, 200) + EVT_CALL(BattleCamTargetActor, ACTOR_SELF) + EVT_CALL(func_8024ECF8, -1, 1, 0) + EVT_CALL(MoveBattleCamOver, 30) + EVT_SWITCH(LW(15)) + EVT_CASE_OR_EQ(HIT_RESULT_HIT) + EVT_CASE_OR_EQ(HIT_RESULT_QUAKE_IMMUNE) + EVT_WAIT_FRAMES(30) + EVT_SET(LW(1), 7012353) + EVT_EXEC_WAIT(N(80225F8C)) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, LW(1)) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(MoveBattleCamOver, 20) + EVT_CALL(YieldTurn) + EVT_EXEC_WAIT(N(80225FD4)) + EVT_END_CASE_GROUP + EVT_END_SWITCH + EVT_RETURN + EVT_END +}; + +EvtScript N(80226B88) = { + EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_63) + EVT_CALL(SetBattleCamZoom, 150) + EVT_CALL(BattleCamTargetActor, ACTOR_SELF) + EVT_CALL(func_8024ECF8, -1, 1, 0) + EVT_SET(LW(1), 7012358) + EVT_EXEC_WAIT(N(80225F8C)) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, LW(1)) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(AddGoalPos, ACTOR_SELF, 70, 0, 0) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(4.0)) + EVT_CALL(RunToGoal, ACTOR_SELF, 0, FALSE) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_battle_tubba_Palette_00_Anim_A) + EVT_WAIT_FRAMES(8) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_battle_tubba_Palette_00_Anim_B) + EVT_CALL(SetActorSounds, ACTOR_SELF, 2, 999, 0) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LW(0), 0, 0, 1, BS_FLAGS1_10) + EVT_SWITCH(LW(0)) + EVT_CASE_OR_EQ(HIT_RESULT_MISS) + EVT_CASE_OR_EQ(HIT_RESULT_LUCKY) + EVT_SET(LW(10), LW(0)) + EVT_THREAD + EVT_WAIT_FRAMES(12) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_battle_tubba_Palette_00_Anim_C) + EVT_END_THREAD + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_SUB(LW(0), 15) + EVT_SET(LW(1), 0) + EVT_ADD(LW(2), 5) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.0)) + EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(JumpToGoal, ACTOR_SELF, 23, FALSE, TRUE, FALSE) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x20EA) + EVT_CALL(PlayEffect, EFFECT_ID_25, 0, LW(0), 0, LW(2), 0, 0, 0, 0, 0, 0, 0, 0, 0) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_battle_tubba_Palette_00_Anim_D) + EVT_THREAD + EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(PlayEffect, EFFECT_ID_1D, 0, LW(0), LW(1), LW(2), 60, 8, 10, 20, 0, 0, 0, 0, 0) + EVT_END_THREAD + EVT_THREAD + EVT_CALL(StartRumble, 1) + EVT_CALL(ShakeCam, 1, 0, 5, EVT_FLOAT(3.0)) + EVT_END_THREAD + EVT_CALL(ResetActorSounds, ACTOR_SELF, 2) + EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_SUB(LW(0), 20) + EVT_SET(LW(1), 0) + EVT_ADD(LW(2), 5) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.0)) + EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(JumpToGoal, ACTOR_SELF, 10, FALSE, TRUE, FALSE) + EVT_CALL(StartRumble, 1) + EVT_CALL(ShakeCam, 1, 0, 5, EVT_FLOAT(3.0)) + EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(PlayEffect, EFFECT_ID_1D, 0, LW(0), LW(1), LW(2), 60, 8, 10, 20, 0, 0, 0, 0, 0) + EVT_IF_EQ(LW(10), HIT_RESULT_LUCKY) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LW(0), DAMAGE_TYPE_TRIGGER_LUCKY, 0, 0, 0) + EVT_END_IF + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(MoveBattleCamOver, 20) + EVT_WAIT_FRAMES(8) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_battle_tubba_Palette_00_Anim_E) + EVT_WAIT_FRAMES(4) + EVT_EXEC_WAIT(N(80225FD4)) + EVT_RETURN + EVT_END_CASE_GROUP + EVT_CASE_DEFAULT + EVT_THREAD + EVT_WAIT_FRAMES(9) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_battle_tubba_Palette_00_Anim_C) + EVT_END_THREAD + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.0)) + EVT_CALL(JumpToGoal, ACTOR_SELF, 16, FALSE, TRUE, FALSE) + EVT_END_SWITCH + EVT_WAIT_FRAMES(2) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LW(5)) + EVT_IF_NOT_FLAG(LW(5), STATUS_FLAG_SHRINK) + EVT_CALL(func_80269EAC, 24) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x20EA) + EVT_END_IF + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LW(15), 0, 0, 0, 6, BS_FLAGS1_SP_EVT_ACTIVE) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_63) + EVT_CALL(SetBattleCamZoom, 200) + EVT_CALL(BattleCamTargetActor, ACTOR_SELF) + EVT_CALL(func_8024ECF8, -1, 1, 0) + EVT_CALL(MoveBattleCamOver, 30) + EVT_SWITCH(LW(15)) + EVT_CASE_OR_EQ(HIT_RESULT_HIT) + EVT_CASE_OR_EQ(HIT_RESULT_QUAKE_IMMUNE) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LW(5)) + EVT_IF_FLAG(LW(5), STATUS_FLAG_SHRINK) + EVT_GOTO(1) + EVT_END_IF + EVT_CALL(GetBattleFlags, LW(0)) + EVT_IF_NOT_FLAG(LW(0), BS_FLAGS1_ATK_BLOCKED) + EVT_CALL(GetStatusFlags, ACTOR_PLAYER, LW(0)) + EVT_IF_NOT_FLAG(LW(0), STATUS_FLAG_STONE) + EVT_CALL(LandJump, ACTOR_SELF) + EVT_ELSE + EVT_GOTO(1) + EVT_END_IF + EVT_ELSE + EVT_GOTO(1) + EVT_END_IF + EVT_LABEL(0) + EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(PlayEffect, EFFECT_ID_25, 0, LW(0), 0, LW(2), 0, 0, 0, 0, 0, 0, 0, 0, 0) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_battle_tubba_Palette_00_Anim_D) + EVT_THREAD + EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(PlayEffect, EFFECT_ID_1D, 0, LW(0), LW(1), LW(2), 60, 8, 10, 20, 0, 0, 0, 0, 0) + EVT_END_THREAD + EVT_THREAD + EVT_CALL(StartRumble, 1) + EVT_CALL(ShakeCam, 1, 0, 5, EVT_FLOAT(3.0)) + EVT_END_THREAD + EVT_CALL(ResetActorSounds, ACTOR_SELF, 2) + EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_SUB(LW(0), 20) + EVT_SET(LW(1), 0) + EVT_ADD(LW(2), 5) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.0)) + EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(JumpToGoal, ACTOR_SELF, 10, FALSE, TRUE, FALSE) + EVT_CALL(StartRumble, 1) + EVT_CALL(ShakeCam, 1, 0, 5, EVT_FLOAT(3.0)) + EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(PlayEffect, EFFECT_ID_1D, 0, LW(0), LW(1), LW(2), 60, 8, 10, 20, 0, 0, 0, 0, 0) + EVT_GOTO(2) + EVT_LABEL(1) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LW(5)) + EVT_IF_NOT_FLAG(LW(5), STATUS_FLAG_SHRINK) + EVT_WAIT_FRAMES(3) + EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(PlayEffect, EFFECT_ID_25, 1, LW(0), 0, LW(2), 0, 0, 0, 0, 0, 0, 0, 0, 0) + EVT_CALL(StartRumble, 1) + EVT_CALL(ShakeCam, 1, 0, 5, EVT_FLOAT(3.0)) + EVT_END_IF + EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_ADD(LW(0), 40) + EVT_SET(LW(1), 0) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.8)) + EVT_THREAD + EVT_WAIT_FRAMES(8) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_battle_tubba_Palette_00_Anim_E) + EVT_END_THREAD + EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(JumpToGoal, ACTOR_SELF, 10, FALSE, TRUE, FALSE) + EVT_IF_NOT_FLAG(LW(5), STATUS_FLAG_SHRINK) + EVT_CALL(StartRumble, 1) + EVT_CALL(ShakeCam, 1, 0, 5, EVT_FLOAT(3.0)) + EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(PlayEffect, EFFECT_ID_1D, 0, LW(0), LW(1), LW(2), 60, 8, 10, 20, 0, 0, 0, 0, 0) + EVT_WAIT_FRAMES(8) + EVT_END_IF + EVT_LABEL(2) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(MoveBattleCamOver, 20) + EVT_CALL(YieldTurn) + EVT_EXEC_WAIT(N(80225FD4)) + EVT_END_CASE_GROUP + EVT_END_SWITCH + EVT_RETURN + EVT_END +}; + +EvtScript N(80227878) = { + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_battle_tubba_Palette_00_Anim_14) + EVT_CALL(ActorSpeak, MESSAGE_ID(0x0E, 0x00C9), ACTOR_SELF, 1, NPC_ANIM_battle_tubba_Palette_00_Anim_14, NPC_ANIM_battle_tubba_Palette_00_Anim_14) + EVT_SET(LW(0), 1) + EVT_SET(LW(1), 7012372) + EVT_EXEC_WAIT(DoDeath) + EVT_RETURN + EVT_END +}; diff --git a/src/battle/area_arn/actor/tubbas_heart.c b/src/battle/area_arn/actor/tubbas_heart.c new file mode 100644 index 0000000000..e8ce98250e --- /dev/null +++ b/src/battle/area_arn/actor/tubbas_heart.c @@ -0,0 +1,617 @@ +#include "common.h" +#include "effects.h" +#include "battle/battle.h" +#include "script_api/battle.h" +#include "sprite/npc/battle_bow.h" +#include "sprite/npc/tubbas_heart.h" + +#define NAMESPACE b_area_arn_tubbas_heart + +extern EvtScript N(init_80223DA0); +extern EvtScript N(takeTurn_802245C8); +extern EvtScript N(idle_80223E98); +extern EvtScript N(handleEvent_80224038); +extern EvtScript N(80224414); +extern EvtScript N(802244DC); +extern EvtScript N(80224B3C); +extern EvtScript N(80225258); +extern EvtScript N(802255D8); + +s32 N(idleAnimations_80223BC0)[] = { + STATUS_NORMAL, NPC_ANIM_tubbas_heart_Palette_00_Anim_1, + STATUS_STONE, NPC_ANIM_tubbas_heart_Palette_00_Anim_0, + STATUS_SLEEP, NPC_ANIM_tubbas_heart_Palette_00_Anim_4, + STATUS_POISON, NPC_ANIM_tubbas_heart_Palette_00_Anim_1, + STATUS_STOP, NPC_ANIM_tubbas_heart_Palette_00_Anim_0, + STATUS_STATIC, NPC_ANIM_tubbas_heart_Palette_00_Anim_0, + STATUS_PARALYZE, NPC_ANIM_tubbas_heart_Palette_00_Anim_0, + STATUS_PARALYZE, NPC_ANIM_tubbas_heart_Palette_00_Anim_0, + STATUS_DIZZY, NPC_ANIM_tubbas_heart_Palette_00_Anim_D, + STATUS_DIZZY, NPC_ANIM_tubbas_heart_Palette_00_Anim_D, + STATUS_FEAR, NPC_ANIM_tubbas_heart_Palette_00_Anim_A, + STATUS_END, +}; + +s32 N(idleAnimations_80223C1C)[] = { + STATUS_NORMAL, NPC_ANIM_tubbas_heart_Palette_00_Anim_B, + STATUS_STONE, NPC_ANIM_tubbas_heart_Palette_00_Anim_0, + STATUS_SLEEP, NPC_ANIM_tubbas_heart_Palette_00_Anim_4, + STATUS_POISON, NPC_ANIM_tubbas_heart_Palette_00_Anim_B, + STATUS_STOP, NPC_ANIM_tubbas_heart_Palette_00_Anim_0, + STATUS_STATIC, NPC_ANIM_tubbas_heart_Palette_00_Anim_0, + STATUS_PARALYZE, NPC_ANIM_tubbas_heart_Palette_00_Anim_0, + STATUS_PARALYZE, NPC_ANIM_tubbas_heart_Palette_00_Anim_0, + STATUS_DIZZY, NPC_ANIM_tubbas_heart_Palette_00_Anim_D, + STATUS_DIZZY, NPC_ANIM_tubbas_heart_Palette_00_Anim_D, + STATUS_FEAR, NPC_ANIM_tubbas_heart_Palette_00_Anim_A, + STATUS_END, +}; + +s32 N(defenseTable_80223C78)[] = { + ELEMENT_NORMAL, 0, + ELEMENT_END, +}; + +s32 N(statusTable_80223C84)[] = { + 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, 90, + 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(partsTable_80223D30)[] = { + { + .flags = ACTOR_PART_FLAG_NO_TARGET, + .index = 1, + .posOffset = { 0, 0, 0 }, + .targetOffset = { 0, 24 }, + .opacity = 255, + .idleAnimations = N(idleAnimations_80223BC0), + .defenseTable = N(defenseTable_80223C78), + .eventFlags = ACTOR_EVENT_FLAG_0, + .elementImmunityFlags = 0, + .unk_1C = 246, + }, + { + .flags = ACTOR_PART_FLAG_INVISIBLE | ACTOR_PART_FLAG_MULTI_TARGET | ACTOR_PART_FLAG_80000000, + .index = 2, + .posOffset = { 0, 54, 0 }, + .targetOffset = { 0, -30 }, + .opacity = 255, + .idleAnimations = N(idleAnimations_80223BC0), + .defenseTable = N(defenseTable_80223C78), + .eventFlags = ACTOR_EVENT_FLAG_0, + .elementImmunityFlags = 0, + .unk_1C = 246, + }, +}; + +ActorBlueprint NAMESPACE = { + .flags = 0, + .type = ACTOR_TYPE_TUBBA_HEART, + .level = 0, + .maxHP = 50, + .partCount = ARRAY_COUNT(N(partsTable_80223D30)), + .partsData = N(partsTable_80223D30), + .script = N(init_80223DA0), + .statusTable = N(statusTable_80223C84), + .escapeChance = 0, + .airLiftChance = 0, + .spookChance = 0, + .baseStatusChance = 0, + .upAndAwayChance = 0, + .spinSmashReq = 4, + .powerBounceChance = 75, + .coinReward = 0, + .size = { 30, 30 }, + .hpBarOffset = { 5, 0 }, + .statusIconOffset = { -10, 20 }, + .statusMessageOffset = { 10, 20 }, +}; + +EvtScript N(init_80223DA0) = { + EVT_CALL(SetActorVar, ACTOR_SELF, 0, 0) + EVT_CALL(SetActorVar, ACTOR_SELF, 1, 0) + EVT_CALL(SetActorVar, ACTOR_SELF, 2, 0) + EVT_CALL(SetActorVar, ACTOR_SELF, 3, 0) + EVT_CALL(SetActorVar, ACTOR_SELF, 4, 0) + EVT_CALL(SetActorVar, ACTOR_SELF, 5, 0) + EVT_CALL(BindTakeTurn, ACTOR_SELF, EVT_ADDR(N(takeTurn_802245C8))) + EVT_CALL(BindIdle, ACTOR_SELF, EVT_ADDR(N(idle_80223E98))) + EVT_CALL(BindHandleEvent, ACTOR_SELF, EVT_ADDR(N(handleEvent_80224038))) + EVT_CALL(SetPartTargetFlagBits, ACTOR_SELF, 2, 2, 1) + EVT_RETURN + EVT_END +}; + +ApiStatus func_80218680_4FF0D0(Evt* script, s32 isInitialCall) { + Bytecode *args = script->ptrReadPos; + Effect6BInstance* effect = (Effect6BInstance*) evt_get_variable(script, *args++); + + s32 x = evt_get_variable(script, *args++); + s32 y = evt_get_variable(script, *args++); + s32 z = evt_get_variable(script, *args++); + f32 scale = evt_get_float_variable(script, *args++); + + effect->data->pos.x = x; + effect->data->pos.y = y; + effect->data->pos.z = z; + effect->data->scale = scale; + + return ApiStatus_DONE2; +} + +EvtScript N(idle_80223E98) = { + EVT_LABEL(0) + EVT_CALL(ActorExists, ACTOR_SELF, LW(0)) + EVT_IF_NE(LW(0), FALSE) + EVT_CALL(GetActorVar, ACTOR_SELF, 4, LW(0)) + EVT_IF_NE(LW(0), 0) + EVT_CALL(GetActorPos, ACTOR_SELF, LW(1), LW(2), LW(3)) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LW(4)) + EVT_IF_NOT_FLAG(LW(4), STATUS_FLAG_SHRINK) + EVT_ADD(LW(2), 15) + EVT_SETF(LW(4), EVT_FLOAT(1.0)) + EVT_ELSE + EVT_ADD(LW(2), 6) + EVT_SETF(LW(4), EVT_FLOAT(0.4)) + EVT_END_IF + EVT_CALL(func_80218680_4FF0D0, LW(0), LW(1), LW(2), LW(3), LW(4)) + EVT_END_IF + EVT_END_IF + EVT_WAIT_FRAMES(1) + EVT_GOTO(0) + EVT_RETURN + EVT_END +}; + +EvtScript N(80223FD8) = { + EVT_SET(LW(1), 7077902) + EVT_CALL(GetActorVar, ACTOR_SELF, 1, LW(0)) + EVT_IF_NE(LW(0), 0) + EVT_SET(LW(1), 7077899) + EVT_END_IF + EVT_RETURN + EVT_END +}; + +EvtScript N(handleEvent_80224038) = { + EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.0), EVT_FLOAT(1.0), EVT_FLOAT(1.0)) + EVT_CALL(GetLastEvent, ACTOR_SELF, LW(0)) + EVT_SWITCH(LW(0)) + EVT_CASE_OR_EQ(EVENT_HIT_COMBO) + EVT_CASE_OR_EQ(EVENT_HIT) + EVT_EXEC_WAIT(N(80223FD8)) + EVT_SET_CONST(LW(0), 1) + EVT_EXEC_WAIT(DoNormalHit) + EVT_END_CASE_GROUP + EVT_CASE_EQ(EVENT_BEGIN_FIRST_STRIKE) + EVT_CASE_OR_EQ(EVENT_BURN_HIT) + EVT_CASE_OR_EQ(EVENT_BURN_DEATH) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_tubbas_heart_Palette_00_Anim_10) + EVT_SET_CONST(LW(2), NPC_ANIM_tubbas_heart_Palette_00_Anim_11) + EVT_EXEC_WAIT(DoBurnHit) + EVT_END_CASE_GROUP + EVT_CASE_EQ(EVENT_SPIN_SMASH_HIT) + EVT_EXEC_WAIT(N(80223FD8)) + EVT_SET_CONST(LW(0), 1) + EVT_EXEC_WAIT(DoSpinSmashHit) + EVT_CASE_OR_EQ(EVENT_SHOCK_HIT) + EVT_CASE_OR_EQ(EVENT_SHOCK_DEATH) + EVT_EXEC_WAIT(N(80223FD8)) + EVT_SET_CONST(LW(0), 1) + EVT_EXEC_WAIT(DoShockHit) + EVT_EXEC_WAIT(N(80223FD8)) + EVT_SET_CONST(LW(0), 1) + EVT_EXEC_WAIT(DoJumpBack) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_tubbas_heart_Palette_00_Anim_3) + EVT_EXEC_WAIT(N(802244DC)) + EVT_END_CASE_GROUP + EVT_CASE_OR_EQ(EVENT_UNKNOWN_TRIGGER) + EVT_CASE_OR_EQ(EVENT_IMMUNE) + EVT_CASE_OR_EQ(EVENT_AIR_LIFT_FAILED) + EVT_SET(LW(1), 7077889) + EVT_CALL(GetActorVar, ACTOR_SELF, 1, LW(0)) + EVT_IF_NE(LW(0), 0) + EVT_SET(LW(1), 7077899) + EVT_END_IF + EVT_SET_CONST(LW(0), 1) + EVT_EXEC_WAIT(DoImmune) + EVT_END_CASE_GROUP + EVT_CASE_OR_EQ(EVENT_DEATH) + EVT_EXEC_WAIT(N(80223FD8)) + EVT_SET_CONST(LW(0), 1) + EVT_EXEC_WAIT(DoNormalHit) + EVT_END_CASE_GROUP + EVT_CASE_EQ(EVENT_SPIN_SMASH_DEATH) + EVT_EXEC_WAIT(N(80223FD8)) + EVT_SET_CONST(LW(0), 1) + EVT_EXEC_WAIT(DoSpinSmashHit) + EVT_CASE_EQ(EVENT_SPIKE_CONTACT) + EVT_CASE_EQ(EVENT_BURN_CONTACT) + EVT_CASE_EQ(EVENT_END_FIRST_STRIKE) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_tubbas_heart_Palette_00_Anim_3) + EVT_EXEC_WAIT(N(802244DC)) + EVT_CALL(HPBarToHome, ACTOR_SELF) + EVT_CASE_EQ(EVENT_RECOVER_STATUS) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_tubbas_heart_Palette_00_Anim_1) + EVT_EXEC_WAIT(DoRecover) + EVT_CASE_DEFAULT + EVT_END_SWITCH + EVT_CALL(GetActorHP, ACTOR_SELF, LW(0)) + EVT_IF_LE(LW(0), 5) + EVT_EXEC_WAIT(N(80224414)) + EVT_RETURN + EVT_ELSE + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_END_IF + EVT_RETURN + EVT_END +}; + +EvtScript N(80224414) = { + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_14) + EVT_CALL(BattleCamTargetActor, ACTOR_SELF) + EVT_CALL(MoveBattleCamOver, 40) + EVT_WAIT_FRAMES(40) + EVT_CALL(ActorSpeak, MESSAGE_ID(0x0E, 0x00C6), ACTOR_SELF, 1, NPC_ANIM_tubbas_heart_Palette_00_Anim_D, NPC_ANIM_tubbas_heart_Palette_00_Anim_D) + 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(func_8026F60C, 20) + EVT_RETURN + EVT_END +}; + +EvtScript N(802244DC) = { + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(6.0)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.8)) + EVT_CALL(SetGoalToHome, ACTOR_SELF) + EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_SUB(LW(0), 45) + EVT_SET(LW(1), 0) + EVT_EXEC_WAIT(D_8029C12C) + EVT_CALL(SetGoalToHome, ACTOR_SELF) + EVT_CALL(JumpToGoal, ACTOR_SELF, 12, FALSE, TRUE, FALSE) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_tubbas_heart_Palette_00_Anim_1) + EVT_CALL(SetActorYaw, ACTOR_SELF, 0) + EVT_RETURN + EVT_END +}; + +EvtScript N(takeTurn_802245C8) = { + EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE) + EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LW(0), 0, 0, 1, BS_FLAGS1_10) + EVT_IF_NE(LW(0), HIT_RESULT_MISS) + EVT_CALL(GetActorVar, ACTOR_SELF, 2, LW(0)) + EVT_IF_NOT_FLAG(LW(0), 0x00000001) + EVT_CALL(GetCurrentPartnerID, LW(0)) + EVT_IF_EQ(LW(0), 9) + EVT_CALL(func_802535B4, 0) + EVT_BITWISE_OR_CONST(LW(0), 0x3) + EVT_CALL(SetActorVar, ACTOR_SELF, 2, LW(0)) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_14) + EVT_CALL(BattleCamTargetActor, ACTOR_SELF) + EVT_CALL(MoveBattleCamOver, 40) + EVT_WAIT_FRAMES(40) + EVT_CALL(ActorSpeak, MESSAGE_ID(0x0E, 0x00C3), ACTOR_SELF, 1, NPC_ANIM_tubbas_heart_Palette_00_Anim_B, NPC_ANIM_tubbas_heart_Palette_00_Anim_1) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_14) + EVT_CALL(BattleCamTargetActor, ACTOR_PARTNER) + EVT_CALL(MoveBattleCamOver, 25) + EVT_WAIT_FRAMES(25) + EVT_CALL(UseIdleAnimation, ACTOR_PARTNER, FALSE) + EVT_CALL(SetAnimation, ACTOR_PARTNER, 1, NPC_ANIM_battle_bow_Palette_00_Anim_4) + EVT_CALL(ActorSpeak, MESSAGE_ID(0x0E, 0x00C4), ACTOR_PARTNER, 1, NPC_ANIM_battle_bow_Palette_00_Anim_4, NPC_ANIM_battle_bow_Palette_00_Anim_1) + EVT_CALL(SetAnimation, ACTOR_PARTNER, 1, NPC_ANIM_battle_bow_Palette_00_Anim_F) + EVT_CALL(EndActorSpeech, ACTOR_PARTNER, 1, -1, -1) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(UseIdleAnimation, ACTOR_PARTNER, TRUE) + EVT_CALL(MoveBattleCamOver, 30) + EVT_CALL(GetActorVar, ACTOR_SELF, 0, LW(0)) + EVT_IF_EQ(LW(0), 0) + EVT_CALL(GetActorVar, ACTOR_SELF, 3, LW(0)) + EVT_IF_NE(LW(0), 0) + EVT_CALL(func_802535B4, 1) + EVT_END_IF + EVT_ELSE + EVT_CALL(func_802535B4, 1) + EVT_END_IF + EVT_END_IF + EVT_END_IF + EVT_END_IF + EVT_CALL(GetActorVar, ACTOR_SELF, 0, LW(0)) + EVT_SWITCH(LW(0)) + EVT_CASE_EQ(0) + EVT_CALL(GetActorVar, ACTOR_SELF, 3, LW(0)) + EVT_IF_EQ(LW(0), 0) + EVT_CALL(SetActorVar, ACTOR_SELF, 3, 1) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_14) + EVT_CALL(BattleCamTargetActor, ACTOR_SELF) + EVT_CALL(MoveBattleCamOver, 40) + EVT_WAIT_FRAMES(40) + EVT_CALL(ActorSpeak, MESSAGE_ID(0x0E, 0x00C5), ACTOR_SELF, 1, NPC_ANIM_tubbas_heart_Palette_00_Anim_B, NPC_ANIM_tubbas_heart_Palette_00_Anim_1) + EVT_END_IF + EVT_EXEC_WAIT(N(80225258)) + EVT_CALL(SetActorVar, ACTOR_SELF, 0, 1) + EVT_CALL(GetActorVar, ACTOR_SELF, 2, LW(0)) + EVT_IF_FLAG(LW(0), 0x00000002) + EVT_CALL(func_802535B4, 1) + EVT_END_IF + EVT_CASE_EQ(1) + EVT_EXEC_WAIT(N(802255D8)) + EVT_CALL(GetActorVar, ACTOR_SELF, 1, LW(0)) + EVT_IF_EQ(LW(0), 0) + EVT_CALL(GetActorVar, ACTOR_SELF, 5, LW(1)) + EVT_ADD(LW(1), 1) + EVT_CALL(SetActorVar, ACTOR_SELF, 5, LW(1)) + EVT_IF_GE(LW(1), 2) + EVT_CALL(SetActorVar, ACTOR_SELF, 0, 2) + EVT_ELSE + EVT_CALL(SetActorVar, ACTOR_SELF, 0, 0) + EVT_END_IF + EVT_END_IF + EVT_CASE_EQ(2) + EVT_CALL(SetActorVar, ACTOR_SELF, 0, 0) + EVT_EXEC_WAIT(N(80224B3C)) + EVT_END_SWITCH + EVT_CALL(GetActorVar, ACTOR_SELF, 2, LW(0)) + EVT_BITWISE_AND_CONST(LW(0), -3) + EVT_CALL(SetActorVar, ACTOR_SELF, 2, LW(0)) + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_RETURN + EVT_END +}; + +EvtScript N(80224B3C) = { + 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, NPC_ANIM_tubbas_heart_Palette_00_Anim_3) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.8)) + EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_SUB(LW(0), 45) + EVT_SET(LW(1), 0) + EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(JumpToGoal, ACTOR_SELF, 12, FALSE, TRUE, FALSE) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_ADD(LW(0), 40) + EVT_SET(LW(1), 0) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(6.0)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.8)) + EVT_EXEC_WAIT(D_8029C12C) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_tubbas_heart_Palette_00_Anim_1) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_tubbas_heart_Palette_00_Anim_16) + EVT_WAIT_FRAMES(5) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_tubbas_heart_Palette_00_Anim_15) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LW(0), 0, 0, 1, BS_FLAGS1_10) + EVT_SWITCH(LW(0)) + EVT_CASE_OR_EQ(HIT_RESULT_MISS) + EVT_CASE_OR_EQ(HIT_RESULT_LUCKY) + EVT_SET(LW(10), LW(0)) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_SUB(LW(0), 30) + EVT_SET(LW(1), 0) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.5)) + EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(JumpToGoal, ACTOR_SELF, 8, FALSE, TRUE, FALSE) + EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_SUB(LW(0), 20) + EVT_SET(LW(1), 0) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(2.0)) + EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(JumpToGoal, ACTOR_SELF, 6, FALSE, TRUE, FALSE) + EVT_SUB(LW(0), 10) + EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(JumpToGoal, ACTOR_SELF, 4, FALSE, TRUE, FALSE) + EVT_WAIT_FRAMES(20) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_IF_EQ(LW(10), HIT_RESULT_LUCKY) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LW(0), DAMAGE_TYPE_TRIGGER_LUCKY, 0, 0, 0) + EVT_END_IF + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_tubbas_heart_Palette_00_Anim_3) + EVT_EXEC_WAIT(N(802244DC)) + EVT_RETURN + EVT_END_CASE_GROUP + EVT_CASE_DEFAULT + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.3)) + EVT_CALL(JumpToGoal, ACTOR_SELF, 4, FALSE, TRUE, FALSE) + EVT_END_SWITCH + EVT_WAIT_FRAMES(2) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LW(0), 0, 0, 0, 6, BS_FLAGS1_SP_EVT_ACTIVE) + EVT_SET(LW(15), LW(0)) + EVT_SWITCH(LW(15)) + EVT_CASE_OR_EQ(HIT_RESULT_HIT) + EVT_CASE_OR_EQ(HIT_RESULT_QUAKE_IMMUNE) + EVT_CASE_OR_EQ(HIT_RESULT_10) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_tubbas_heart_Palette_00_Anim_1) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.1), EVT_FLOAT(0.8), EVT_FLOAT(1.0)) + EVT_WAIT_FRAMES(1) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.0), EVT_FLOAT(1.0), EVT_FLOAT(1.0)) + EVT_WAIT_FRAMES(1) + EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_ADD(LW(0), 30) + EVT_SET(LW(1), 0) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.8)) + EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(JumpToGoal, ACTOR_SELF, 8, FALSE, TRUE, FALSE) + EVT_ADD(LW(0), 20) + EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(JumpToGoal, ACTOR_SELF, 6, FALSE, TRUE, FALSE) + EVT_ADD(LW(0), 10) + EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(JumpToGoal, ACTOR_SELF, 4, FALSE, TRUE, FALSE) + EVT_WAIT_FRAMES(8) + EVT_IF_EQ(LW(15), HIT_RESULT_10) + EVT_RETURN + EVT_END_IF + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(YieldTurn) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_tubbas_heart_Palette_00_Anim_3) + EVT_EXEC_WAIT(N(802244DC)) + EVT_END_CASE_GROUP + EVT_END_SWITCH + EVT_RETURN + EVT_END +}; + +EvtScript N(80225258) = { + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_19) + EVT_CALL(SetBattleCamTarget, 85, 50, 0) + EVT_CALL(SetBattleCamZoom, 280) + EVT_CALL(SetBattleCamOffsetZ, 0) + EVT_CALL(MoveBattleCamOver, 40) + EVT_WAIT_FRAMES(40) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_tubbas_heart_Palette_00_Anim_B) + EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LW(4)) + EVT_IF_NOT_FLAG(LW(4), STATUS_FLAG_SHRINK) + EVT_ADD(LW(1), 15) + EVT_SETF(LW(3), EVT_FLOAT(1.0)) + EVT_ELSE + EVT_ADD(LW(1), 6) + EVT_SETF(LW(3), EVT_FLOAT(0.4)) + EVT_END_IF + EVT_CALL(PlayEffect, EFFECT_ID_47, 1, LW(0), LW(1), LW(2), LW(3), 60, 0, 0, 0, 0, 0, 0, 0) + EVT_CALL(PlayEffect, EFFECT_ID_6B, 6, LW(0), LW(1), LW(2), LW(3), 60, 0, 0, 0, 0, 0, 0, 0) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x20F7) + EVT_WAIT_FRAMES(60) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(MoveBattleCamOver, 20) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.0)) + EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(JumpToGoal, ACTOR_SELF, 15, FALSE, TRUE, FALSE) + EVT_CALL(SetActorVar, ACTOR_SELF, 1, 1) + EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LW(4)) + EVT_IF_NOT_FLAG(LW(4), STATUS_FLAG_SHRINK) + EVT_ADD(LW(1), 15) + EVT_SETF(LW(3), EVT_FLOAT(1.0)) + EVT_ELSE + EVT_ADD(LW(1), 6) + EVT_SETF(LW(3), EVT_FLOAT(0.4)) + EVT_END_IF + EVT_CALL(PlayEffect, EFFECT_ID_6B, 3, LW(0), LW(1), LW(2), LW(3), 0, 0, 0, 0, 0, 0, 0, 0) + EVT_CALL(SetActorVar, ACTOR_SELF, 4, LW(15)) + EVT_CALL(EnableActorGlow, ACTOR_SELF, TRUE) + EVT_CALL(SetIdleAnimations, ACTOR_SELF, 1, EVT_ADDR(N(idleAnimations_80223C1C))) + EVT_RETURN + EVT_END +}; + +EvtScript N(802255D8) = { + EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_19) + EVT_CALL(SetBattleCamTarget, 85, 50, 0) + EVT_CALL(SetBattleCamZoom, 280) + EVT_CALL(SetBattleCamOffsetZ, 0) + EVT_CALL(MoveBattleCamOver, 20) + EVT_WAIT_FRAMES(20) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_SPELL_CAST1) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_tubbas_heart_Palette_00_Anim_C) + EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LW(3)) + EVT_IF_NOT_FLAG(LW(3), STATUS_FLAG_SHRINK) + EVT_ADD(LW(1), 16) + EVT_ELSE + EVT_ADD(LW(1), 6) + EVT_END_IF + EVT_CALL(PlayEffect, EFFECT_ID_13, 0, LW(0), LW(1), LW(2), EVT_FLOAT(1.0), 45, 0, 0, 0, 0, 0, 0, 0) + EVT_WAIT_FRAMES(60) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(MoveBattleCamOver, 20) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_tubbas_heart_Palette_00_Anim_B) + EVT_THREAD + EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.8)) + EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(JumpToGoal, ACTOR_SELF, 18, FALSE, TRUE, FALSE) + EVT_END_THREAD + EVT_CALL(GetActorVar, ACTOR_SELF, 1, LW(0)) + EVT_SUB(LW(0), 1) + EVT_CALL(SetActorVar, ACTOR_SELF, 1, LW(0)) + EVT_IF_EQ(LW(0), 0) + EVT_CALL(EnableActorGlow, ACTOR_SELF, FALSE) + EVT_CALL(GetActorVar, ACTOR_SELF, 4, LW(0)) + EVT_CALL(RemoveEffect, LW(0)) + EVT_CALL(SetActorVar, ACTOR_SELF, 4, 0) + EVT_CALL(SetIdleAnimations, ACTOR_SELF, 1, EVT_ADDR(N(idleAnimations_80223BC0))) + EVT_END_IF + EVT_CALL(PlaySound, 0x20F9) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LW(10), 0, 0, 1, BS_FLAGS1_10) + EVT_SWITCH(LW(10)) + EVT_CASE_OR_EQ(HIT_RESULT_MISS) + EVT_CASE_OR_EQ(HIT_RESULT_LUCKY) + EVT_CALL(GetActorPos, ACTOR_PLAYER, LW(0), LW(1), LW(2)) + EVT_ADD(LW(1), 5) + EVT_CALL(PlayEffect, EFFECT_ID_66, 1, LW(0), LW(1), LW(2), EVT_FLOAT(1.0), 200, 0, 0, 0, 0, 0, 0, 0) + EVT_WAIT_FRAMES(145) + EVT_IF_EQ(LW(10), HIT_RESULT_LUCKY) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LW(0), DAMAGE_TYPE_TRIGGER_LUCKY, 0, 0, 0) + EVT_ELSE + EVT_END_IF + EVT_RETURN + EVT_END_CASE_GROUP + EVT_END_SWITCH + EVT_CALL(GetActorPos, ACTOR_PLAYER, LW(0), LW(1), LW(2)) + EVT_ADD(LW(1), 5) + EVT_CALL(PlayEffect, EFFECT_ID_66, 0, LW(0), LW(1), LW(2), EVT_FLOAT(1.0), 200, 0, 0, 0, 0, 0, 0, 0) + EVT_THREAD + EVT_WAIT_FRAMES(160) + EVT_CALL(PlaySound, 0x20FC) + EVT_END_THREAD + EVT_CALL(UseIdleAnimation, ACTOR_PLAYER, FALSE) + EVT_CALL(SetAnimation, ACTOR_PLAYER, 0, ANIM_1002B) + EVT_WAIT_FRAMES(30) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_19) + EVT_CALL(GetActorPos, ACTOR_PLAYER, LW(0), LW(1), LW(2)) + EVT_CALL(SetBattleCamTarget, LW(0), LW(1), LW(2)) + EVT_CALL(SetBattleCamZoom, 300) + EVT_CALL(SetBattleCamOffsetZ, 35) + EVT_CALL(MoveBattleCamOver, 50) + EVT_WAIT_FRAMES(56) + EVT_CALL(PlaySoundAtActor, ACTOR_PLAYER, 0x3DB) + EVT_CALL(SetAnimation, ACTOR_PLAYER, 0, 0x03000C) + EVT_WAIT_FRAMES(37) + EVT_CALL(PlaySoundAtActor, ACTOR_PLAYER, 0x3DB) + EVT_WAIT_FRAMES(22) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(MoveBattleCamOver, 10) + EVT_CALL(PlaySoundAtActor, ACTOR_PLAYER, 0x20FB) + EVT_CALL(UseIdleAnimation, ACTOR_PLAYER, TRUE) + EVT_WAIT_FRAMES(2) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LW(0), DAMAGE_TYPE_NO_CONTACT, 0, 0, 12, BS_FLAGS1_SP_EVT_ACTIVE) + EVT_RETURN + EVT_END +}; diff --git a/src/battle/area_arn/area.c b/src/battle/area_arn/area.c new file mode 100644 index 0000000000..1c87d1af36 --- /dev/null +++ b/src/battle/area_arn/area.c @@ -0,0 +1,145 @@ +#include "common.h" +#include "battle/battle.h" + +#define NAMESPACE b_area_arn + +extern ActorBlueprint N(hyper_cleft); +extern ActorBlueprint N(hypergoomba); +extern ActorBlueprint N(hyper_paragoomba); +extern ActorBlueprint N(tubba_blubba); +extern ActorBlueprint N(tubbas_heart); + +extern Stage N(arn_01); +extern Stage N(arn_02); +extern Stage N(arn_03); +extern Stage N(arn_04); +extern Stage N(arn_05); +extern Stage N(arn_06); + +Formation N(formation_00) = { + { .actor = &N(hypergoomba), .home = { .index = 1 }, .priority = 10 }, +}; + +Formation N(formation_01) = { + { .actor = &N(hypergoomba), .home = { .index = 1 }, .priority = 10 }, + { .actor = &N(hypergoomba), .home = { .index = 2 }, .priority = 9 }, +}; + +Formation N(formation_02) = { + { .actor = &N(hypergoomba), .home = { .index = 0 }, .priority = 10 }, + { .actor = &N(hypergoomba), .home = { .index = 1 }, .priority = 9 }, + { .actor = &N(hypergoomba), .home = { .index = 2 }, .priority = 8 }, +}; + +Formation N(formation_03) = { + { .actor = &N(hypergoomba), .home = { .index = 0 }, .priority = 10 }, + { .actor = &N(hypergoomba), .home = { .index = 1 }, .priority = 9 }, + { .actor = &N(hyper_paragoomba), .home = { .index = 6 }, .priority = 8 }, +}; + +Formation N(formation_04) = { + { .actor = &N(hypergoomba), .home = { .index = 0 }, .priority = 10 }, + { .actor = &N(hypergoomba), .home = { .index = 1 }, .priority = 9 }, + { .actor = &N(hypergoomba), .home = { .index = 2 }, .priority = 8 }, + { .actor = &N(hyper_paragoomba), .home = { .index = 7 }, .priority = 7 }, +}; + +Formation N(formation_05) = { + { .actor = &N(hypergoomba), .home = { .index = 0 }, .priority = 10 }, + { .actor = &N(hypergoomba), .home = { .index = 1 }, .priority = 9 }, + { .actor = &N(hyper_paragoomba), .home = { .index = 6 }, .priority = 8 }, + { .actor = &N(hypergoomba), .home = { .index = 3 }, .priority = 7 }, +}; + +Formation N(formation_06) = { + { .actor = &N(hyper_paragoomba), .home = { .index = 5 }, .priority = 10 }, +}; + +Formation N(formation_07) = { + { .actor = &N(hyper_paragoomba), .home = { .index = 5 }, .priority = 10 }, + { .actor = &N(hyper_paragoomba), .home = { .index = 6 }, .priority = 9 }, +}; + +Formation N(formation_08) = { + { .actor = &N(hyper_paragoomba), .home = { .index = 4 }, .priority = 10 }, + { .actor = &N(hyper_paragoomba), .home = { .index = 5 }, .priority = 9 }, + { .actor = &N(hyper_paragoomba), .home = { .index = 6 }, .priority = 8 }, +}; + +Formation N(formation_09) = { + { .actor = &N(hyper_paragoomba), .home = { .index = 4 }, .priority = 10 }, + { .actor = &N(hyper_paragoomba), .home = { .index = 5 }, .priority = 9 }, + { .actor = &N(hyper_paragoomba), .home = { .index = 6 }, .priority = 8 }, + { .actor = &N(hyper_paragoomba), .home = { .index = 7 }, .priority = 7 }, +}; + +Formation N(formation_0A) = { + { .actor = &N(hyper_cleft), .home = { .index = 1 }, .priority = 10 }, +}; + +Formation N(formation_0B) = { + { .actor = &N(hyper_cleft), .home = { .index = 1 }, .priority = 10 }, + { .actor = &N(hyper_cleft), .home = { .index = 2 }, .priority = 9 }, +}; + +Formation N(formation_0C) = { + { .actor = &N(hyper_cleft), .home = { .index = 0 }, .priority = 10 }, + { .actor = &N(hyper_cleft), .home = { .index = 1 }, .priority = 9 }, + { .actor = &N(hyper_cleft), .home = { .index = 2 }, .priority = 8 }, +}; + +Formation N(formation_0D) = { + { .actor = &N(hyper_cleft), .home = { .index = 0 }, .priority = 10 }, + { .actor = &N(hypergoomba), .home = { .index = 1 }, .priority = 9 }, + { .actor = &N(hypergoomba), .home = { .index = 2 }, .priority = 8 }, +}; + +Formation N(formation_0E) = { + { .actor = &N(hyper_cleft), .home = { .index = 0 }, .priority = 10 }, + { .actor = &N(hyper_cleft), .home = { .index = 1 }, .priority = 9 }, + { .actor = &N(hypergoomba), .home = { .index = 2 }, .priority = 8 }, + { .actor = &N(hypergoomba), .home = { .index = 3 }, .priority = 7 }, +}; + +Vec3i N(vector3D_802280C0) = { 90, 20, 0 }; + +Formation N(formation_0F) = { + { .actor = &N(tubbas_heart), .home = { .vec = &N(vector3D_802280C0) }, .priority = 10 }, +}; + +Vec3i N(vector3D_802280E8) = { 75, 0, 10 }; + +Formation N(formation_10) = { + { .actor = &N(tubba_blubba), .home = { .vec = &N(vector3D_802280E8) }, .priority = 10 }, +}; + +BattleList N(formationTable) = { + BATTLE("ハイパークリボー", N(formation_00), &N(arn_01)), + BATTLE("ハイパークリボーx2", N(formation_01), &N(arn_01)), + BATTLE("ハイパークリボーx3", N(formation_02), &N(arn_01)), + BATTLE("ハイパークリボーx2,ハイパーパタクリボー", N(formation_03), &N(arn_01)), + BATTLE("ハイパークリボーx3,ハイパーパタクリボー", N(formation_04), &N(arn_01)), + BATTLE("ハイパークリボーx2,ハイパーパタクリボー,ハイパークリボー", N(formation_05), &N(arn_01)), + BATTLE("ハイパーパタクリボー", N(formation_06), &N(arn_01)), + BATTLE("ハイパーパタクリボーx2", N(formation_07), &N(arn_01)), + BATTLE("ハイパーパタクリボーx3", N(formation_08), &N(arn_01)), + BATTLE("ハイパーパタクリボーx4", N(formation_09), &N(arn_01)), + BATTLE("ハイパーシンエモン", N(formation_0A), &N(arn_01)), + BATTLE("ハイパーシンエモンx2", N(formation_0B), &N(arn_01)), + BATTLE("ハイパーシンエモンx3", N(formation_0C), &N(arn_01)), + BATTLE("ハイパーシンエモン,ハイパークリボーx2", N(formation_0D), &N(arn_01)), + BATTLE("ハイパーシンエモンx2,ハイパークリボーx2", N(formation_0E), &N(arn_01)), + BATTLE("ドガボンしんぞう", N(formation_0F), &N(arn_06)), + BATTLE("ドガボン", N(formation_10), &N(arn_01)), + {}, +}; + +StageList N(stageTable) = { + { "arn_01", &N(arn_01) }, + { "arn_02", &N(arn_02) }, + { "arn_03", &N(arn_03) }, + { "arn_04", &N(arn_04) }, + { "arn_05", &N(arn_05) }, + { "arn_06", &N(arn_06) }, + {}, +}; diff --git a/src/battle/area_arn/stage/arn_01.c b/src/battle/area_arn/stage/arn_01.c new file mode 100644 index 0000000000..6a7c55e383 --- /dev/null +++ b/src/battle/area_arn/stage/arn_01.c @@ -0,0 +1,29 @@ +#include "common.h" +#include "battle/battle.h" + +#define NAMESPACE b_area_arn_arn_01 + +EvtScript N(beforeBattle_802278F0) = { + EVT_CALL(SetSpriteShading, -1) + EVT_RETURN + EVT_END +}; + +EvtScript N(afterBattle_80227910) = { + EVT_RETURN + EVT_END +}; + +s32 N(foregroundModelList_80227920)[] = { + 0xFFFFFFFF, 0x0000001F, 0x00000000, +}; + +Stage NAMESPACE = { + .texture = "arn_tex", + .shape = "arn_bt01_shape", + .hit = "arn_bt01_hit", + .bg = "arn_bg", + .preBattle = N(beforeBattle_802278F0), + .postBattle = N(afterBattle_80227910), + .foregroundModelList = N(foregroundModelList_80227920), +}; diff --git a/src/battle/area_arn/stage/arn_02.c b/src/battle/area_arn/stage/arn_02.c new file mode 100644 index 0000000000..814f3cfe29 --- /dev/null +++ b/src/battle/area_arn/stage/arn_02.c @@ -0,0 +1,46 @@ +#include "common.h" +#include "battle/battle.h" + +#define NAMESPACE b_area_arn_arn_02 + +EvtScript N(80227960) = { + EVT_SET(LW(10), LW(0)) + EVT_SET(LW(0), 0) + EVT_LABEL(0) + EVT_ADD(LW(0), 1) + EVT_IF_GT(LW(0), 359) + EVT_SUB(LW(0), 360) + EVT_END_IF + EVT_CALL(RotateModel, LW(10), LW(0), 0, 0, 1) + EVT_WAIT_FRAMES(1) + EVT_GOTO(0) + EVT_RETURN + EVT_END +}; + +EvtScript N(beforeBattle_80227A0C) = { + EVT_CALL(SetSpriteShading, -1) + EVT_SET(LW(0), 8) + EVT_EXEC_WAIT(N(80227960)) + EVT_RETURN + EVT_END +}; + +EvtScript N(afterBattle_80227A48) = { + EVT_RETURN + EVT_END +}; + +s32 N(foregroundModelList_80227A58)[] = { + 0xFFFFFFFF, 0x00000019, 0x00000000, +}; + +Stage NAMESPACE = { + .texture = "arn_tex", + .shape = "arn_bt02_shape", + .hit = "arn_bt02_hit", + .bg = "arn_bg", + .preBattle = N(beforeBattle_80227A0C), + .postBattle = N(afterBattle_80227A48), + .foregroundModelList = N(foregroundModelList_80227A58), +}; diff --git a/src/battle/area_arn/stage/arn_03.c b/src/battle/area_arn/stage/arn_03.c new file mode 100644 index 0000000000..54067851c8 --- /dev/null +++ b/src/battle/area_arn/stage/arn_03.c @@ -0,0 +1,29 @@ +#include "common.h" +#include "battle/battle.h" + +#define NAMESPACE b_area_arn_arn_03 + +EvtScript N(beforeBattle_80227A90) = { + EVT_CALL(SetSpriteShading, -1) + EVT_RETURN + EVT_END +}; + +EvtScript N(afterBattle_80227AB0) = { + EVT_RETURN + EVT_END +}; + +s32 N(foregroundModelList_80227AC0)[] = { + 0xFFFFFFFF, 0x0000001A, 0x00000000, +}; + +Stage NAMESPACE = { + .texture = "arn_tex", + .shape = "arn_bt03_shape", + .hit = "arn_bt03_hit", + .bg = "arn_bg", + .preBattle = N(beforeBattle_80227A90), + .postBattle = N(afterBattle_80227AB0), + .foregroundModelList = N(foregroundModelList_80227AC0), +}; diff --git a/src/battle/area_arn/stage/arn_04.c b/src/battle/area_arn/stage/arn_04.c new file mode 100644 index 0000000000..12fb987e1e --- /dev/null +++ b/src/battle/area_arn/stage/arn_04.c @@ -0,0 +1,29 @@ +#include "common.h" +#include "battle/battle.h" + +#define NAMESPACE b_area_arn_arn_04 + +EvtScript N(beforeBattle_80227B00) = { + EVT_CALL(SetSpriteShading, -1) + EVT_CALL(SetCamBGColor, 1, 0, 0, 0) + EVT_RETURN + EVT_END +}; + +EvtScript N(afterBattle_80227B3C) = { + EVT_RETURN + EVT_END +}; + +s32 N(foregroundModelList_80227B4C)[] = { + 0x00000014, 0x00000000, +}; + +Stage NAMESPACE = { + .texture = "arn_tex", + .shape = "arn_bt04_shape", + .hit = "arn_bt04_hit", + .preBattle = N(beforeBattle_80227B00), + .postBattle = N(afterBattle_80227B3C), + .foregroundModelList = N(foregroundModelList_80227B4C), +}; diff --git a/src/battle/area_arn/stage/arn_05.c b/src/battle/area_arn/stage/arn_05.c new file mode 100644 index 0000000000..737dcf8f09 --- /dev/null +++ b/src/battle/area_arn/stage/arn_05.c @@ -0,0 +1,29 @@ +#include "common.h" +#include "battle/battle.h" + +#define NAMESPACE b_area_arn_arn_05 + +EvtScript N(beforeBattle_80227B80) = { + EVT_CALL(SetSpriteShading, -1) + EVT_CALL(SetCamBGColor, 1, 0, 0, 0) + EVT_RETURN + EVT_END +}; + +EvtScript N(afterBattle_80227BBC) = { + EVT_RETURN + EVT_END +}; + +s32 N(foregroundModelList_80227BCC)[] = { + 0x00000010, 0x00000000, +}; + +Stage NAMESPACE = { + .texture = "arn_tex", + .shape = "arn_bt05_shape", + .hit = "arn_bt05_hit", + .preBattle = N(beforeBattle_80227B80), + .postBattle = N(afterBattle_80227BBC), + .foregroundModelList = N(foregroundModelList_80227BCC), +}; diff --git a/src/battle/area_arn/stage/arn_06.c b/src/battle/area_arn/stage/arn_06.c new file mode 100644 index 0000000000..385c50279a --- /dev/null +++ b/src/battle/area_arn/stage/arn_06.c @@ -0,0 +1,28 @@ +#include "common.h" +#include "battle/battle.h" + +#define NAMESPACE b_area_arn_arn_06 + +EvtScript N(beforeBattle_80227C00) = { + EVT_CALL(SetSpriteShading, -1) + EVT_RETURN + EVT_END +}; + +EvtScript N(afterBattle_80227C20) = { + EVT_RETURN + EVT_END +}; + +s32 N(foregroundModelList_80227C30)[] = { + 0x0000000C, 0x00000000, +}; + +Stage NAMESPACE = { + .texture = "arn_tex", + .shape = "arn_bt06_shape", + .hit = "arn_bt06_hit", + .preBattle = N(beforeBattle_80227C00), + .postBattle = N(afterBattle_80227C20), + .foregroundModelList = N(foregroundModelList_80227C30), +}; diff --git a/src/battle/area_hos/actor/ember.c b/src/battle/area_hos/actor/ember.c index 1bdbb0e818..fb32a0d317 100644 --- a/src/battle/area_hos/actor/ember.c +++ b/src/battle/area_hos/actor/ember.c @@ -316,7 +316,7 @@ EvtScript N(split) = { EVT_CALL(SetGoalToIndex, LW(0), LW(10)) EVT_CALL(GetGoalPos, LW(0), LW(11), LW(12), LW(13)) EVT_CALL(SetHomePos, LW(0), LW(11), LW(12), LW(13)) - EVT_CALL(SetActorJumpGravity, LW(0), EVT_FLOAT(1.2001953125)) + EVT_CALL(SetActorJumpGravity, LW(0), EVT_FLOAT(1.2)) EVT_CALL(JumpToGoal, LW(0), 20, FALSE, TRUE, FALSE) EVT_CALL(HPBarToHome, LW(0)) EVT_CALL(GetActorVar, -127, 1, LW(1)) @@ -504,7 +504,7 @@ EvtScript N(8021BE64) = { EVT_CALL(SetGoalToTarget, ACTOR_SELF) EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_ADD(LW(2), 1) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.6005859375)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.6)) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(JumpToGoal, ACTOR_SELF, 10, FALSE, TRUE, FALSE) EVT_WAIT_FRAMES(2) @@ -532,14 +532,14 @@ EvtScript N(8021C454) = { EVT_THREAD EVT_CALL(GetStatusFlags, ACTOR_SELF, LW(10)) EVT_IF_FLAG(LW(10), 0x80000) - EVT_CALL(SetPartScale, -127, LW(6), EVT_FLOAT(0.2001953125), EVT_FLOAT(0.2001953125), EVT_FLOAT(0.2001953125)) + EVT_CALL(SetPartScale, -127, LW(6), EVT_FLOAT(0.2), EVT_FLOAT(0.2), EVT_FLOAT(0.2)) EVT_ELSE EVT_CALL(SetPartScale, -127, LW(6), EVT_FLOAT(0.5), EVT_FLOAT(0.5), EVT_FLOAT(0.5)) EVT_END_IF EVT_CALL(SetPartPos, ACTOR_SELF, LW(6), LW(0), LW(1), LW(2)) EVT_CALL(SetPartFlagBits, -127, LW(6), 1, 0) EVT_CALL(SetPartMoveSpeed, -127, LW(6), EVT_FLOAT(8.0)) - EVT_CALL(SetPartJumpGravity, -127, LW(6), EVT_FLOAT(0.0107421875)) + EVT_CALL(SetPartJumpGravity, -127, LW(6), EVT_FLOAT(0.01)) EVT_CALL(SetPartSounds, -127, LW(6), 2, 720, 0) EVT_CALL(JumpPartTo, -127, LW(6), LW(3), LW(4), LW(5), 0, 0) EVT_CALL(SetPartFlagBits, -127, LW(6), 1, 1) @@ -669,7 +669,7 @@ EvtScript N(8021CBC8) = { 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.80078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.8)) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_bubble_Palette_01_Anim_4) EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) @@ -703,7 +703,7 @@ EvtScript N(8021CBC8) = { 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.80078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.8)) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_bubble_Palette_01_Anim_4) EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) diff --git a/src/battle/area_hos/actor/goombario_tutor.c b/src/battle/area_hos/actor/goombario_tutor.c index d9940cd435..044fa5ba13 100644 --- a/src/battle/area_hos/actor/goombario_tutor.c +++ b/src/battle/area_hos/actor/goombario_tutor.c @@ -187,7 +187,7 @@ EvtScript N(takeTurn_80219444) = { EVT_IF_FLAG(LW(0), 0x200) EVT_CALL(AddGoalPos, ACTOR_SELF, 5, 10, 0) EVT_END_IF - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.1005859375)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.1)) EVT_THREAD EVT_WAIT_FRAMES(4) EVT_SET(LW(0), 0) @@ -208,9 +208,9 @@ EvtScript N(takeTurn_80219444) = { EVT_CALL(PlaySound, SOUND_JUMP_3E2) EVT_CALL(JumpToGoal, ACTOR_SELF, 22, FALSE, TRUE, FALSE) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_battle_goombario_default_headbonk) - EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.1005859375), EVT_FLOAT(0.80078125), EVT_FLOAT(1.0)) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.1), EVT_FLOAT(0.8), EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(1) - EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.30078125), EVT_FLOAT(0.5), EVT_FLOAT(1.0)) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.3), EVT_FLOAT(0.5), EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(1) EVT_CALL(GetActionCommandMode, LW(0)) EVT_IF_EQ(LW(0), 2) @@ -235,7 +235,7 @@ EvtScript N(takeTurn_80219444) = { EVT_CASE_OR_EQ(0) EVT_CASE_OR_EQ(2) EVT_CASE_OR_EQ(10) - EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.1005859375), EVT_FLOAT(0.80078125), EVT_FLOAT(1.0)) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.1), EVT_FLOAT(0.8), EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(1) EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.0), EVT_FLOAT(1.0), EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(1) @@ -245,7 +245,7 @@ EvtScript N(takeTurn_80219444) = { EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_ADD(LW(0), 40) EVT_SET(LW(1), 0) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.80078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.8)) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(JumpToGoal, ACTOR_SELF, 10, FALSE, TRUE, FALSE) EVT_ADD(LW(0), 30) diff --git a/src/battle/area_hos/actor/magikoopa.c b/src/battle/area_hos/actor/magikoopa.c index 4eeeb94b85..1e9a6a9f1a 100644 --- a/src/battle/area_hos/actor/magikoopa.c +++ b/src/battle/area_hos/actor/magikoopa.c @@ -261,7 +261,7 @@ EvtScript N(8021D890) = { EVT_CALL(func_8027D32C, -127) EVT_CALL(GetStatusFlags, ACTOR_SELF, LW(0)) EVT_IF_FLAG(LW(0), 0x80000) - EVT_CALL(SetPartScale, -127, 3, EVT_FLOAT(0.400390625), EVT_FLOAT(0.400390625), EVT_FLOAT(0.400390625)) + EVT_CALL(SetPartScale, -127, 3, EVT_FLOAT(0.4), EVT_FLOAT(0.4), EVT_FLOAT(0.4)) EVT_END_IF EVT_CALL(SetPartFlagBits, -127, 1, 8388608, 1) EVT_CALL(SetPartFlagBits, -127, 1, 131073, 0) @@ -275,12 +275,12 @@ EvtScript N(8021D890) = { EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x301) EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_SET(LW(1), 0) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.80078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.8)) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) 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.7001953125)) + EVT_CALL(ShakeCam, 1, 0, 5, EVT_FLOAT(0.7)) EVT_END_THREAD EVT_CALL(GetLastEvent, ACTOR_SELF, LW(3)) EVT_IF_EQ(LW(3), 15) @@ -765,7 +765,7 @@ EvtScript N(healOne) = { EVT_SUB(LW(0), 16) EVT_ADD(LW(1), 31) EVT_SUB(LW(2), 2) - EVT_CALL(PlayEffect, 0x33, 7, LW(0), LW(1), LW(2), EVT_FLOAT(0.30078125), 30, 0, 0, 0, 0, 0, 0, 0) + EVT_CALL(PlayEffect, 0x33, 7, LW(0), LW(1), LW(2), EVT_FLOAT(0.3), 30, 0, 0, 0, 0, 0, 0, 0) EVT_END_IF EVT_ELSE EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) @@ -779,7 +779,7 @@ EvtScript N(healOne) = { EVT_SUB(LW(0), 30) EVT_ADD(LW(1), 36) EVT_SUB(LW(2), 2) - EVT_CALL(PlayEffect, 0x33, 7, LW(0), LW(1), LW(2), EVT_FLOAT(0.30078125), 30, 0, 0, 0, 0, 0, 0, 0) + EVT_CALL(PlayEffect, 0x33, 7, LW(0), LW(1), LW(2), EVT_FLOAT(0.3), 30, 0, 0, 0, 0, 0, 0, 0) EVT_END_IF EVT_END_IF EVT_WAIT_FRAMES(30) @@ -845,7 +845,7 @@ EvtScript N(healAll) = { EVT_SUB(LW(0), 16) EVT_ADD(LW(1), 31) EVT_SUB(LW(2), 2) - EVT_CALL(PlayEffect, 0x33, 7, LW(0), LW(1), LW(2), EVT_FLOAT(0.30078125), 30, 0, 0, 0, 0, 0, 0, 0) + EVT_CALL(PlayEffect, 0x33, 7, LW(0), LW(1), LW(2), EVT_FLOAT(0.3), 30, 0, 0, 0, 0, 0, 0, 0) EVT_END_IF EVT_ELSE EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) @@ -859,7 +859,7 @@ EvtScript N(healAll) = { EVT_SUB(LW(0), 30) EVT_ADD(LW(1), 36) EVT_SUB(LW(2), 2) - EVT_CALL(PlayEffect, 0x33, 7, LW(0), LW(1), LW(2), EVT_FLOAT(0.30078125), 30, 0, 0, 0, 0, 0, 0, 0) + EVT_CALL(PlayEffect, 0x33, 7, LW(0), LW(1), LW(2), EVT_FLOAT(0.3), 30, 0, 0, 0, 0, 0, 0, 0) EVT_END_IF EVT_END_IF EVT_WAIT_FRAMES(30) @@ -1515,7 +1515,7 @@ EvtScript N(boostAttack) = { EVT_SUB(LW(0), 16) EVT_ADD(LW(1), 31) EVT_SUB(LW(2), 2) - EVT_CALL(PlayEffect, 0x33, 5, LW(0), LW(1), LW(2), EVT_FLOAT(0.30078125), 30, 0, 0, 0, 0, 0, 0, 0) + EVT_CALL(PlayEffect, 0x33, 5, LW(0), LW(1), LW(2), EVT_FLOAT(0.3), 30, 0, 0, 0, 0, 0, 0, 0) EVT_END_IF EVT_ELSE EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) @@ -1529,7 +1529,7 @@ EvtScript N(boostAttack) = { EVT_SUB(LW(0), 30) EVT_ADD(LW(1), 36) EVT_SUB(LW(2), 2) - EVT_CALL(PlayEffect, 0x33, 5, LW(0), LW(1), LW(2), EVT_FLOAT(0.30078125), 30, 0, 0, 0, 0, 0, 0, 0) + EVT_CALL(PlayEffect, 0x33, 5, LW(0), LW(1), LW(2), EVT_FLOAT(0.3), 30, 0, 0, 0, 0, 0, 0, 0) EVT_END_IF EVT_END_IF EVT_WAIT_FRAMES(30) @@ -1627,7 +1627,7 @@ EvtScript N(boostDefense) = { EVT_SUB(LW(0), 16) EVT_ADD(LW(1), 31) EVT_SUB(LW(2), 2) - EVT_CALL(PlayEffect, 0x33, 5, LW(0), LW(1), LW(2), EVT_FLOAT(0.30078125), 30, 0, 0, 0, 0, 0, 0, 0) + EVT_CALL(PlayEffect, 0x33, 5, LW(0), LW(1), LW(2), EVT_FLOAT(0.3), 30, 0, 0, 0, 0, 0, 0, 0) EVT_END_IF EVT_ELSE EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) @@ -1641,7 +1641,7 @@ EvtScript N(boostDefense) = { EVT_SUB(LW(0), 30) EVT_ADD(LW(1), 36) EVT_SUB(LW(2), 2) - EVT_CALL(PlayEffect, 0x33, 5, LW(0), LW(1), LW(2), EVT_FLOAT(0.30078125), 30, 0, 0, 0, 0, 0, 0, 0) + EVT_CALL(PlayEffect, 0x33, 5, LW(0), LW(1), LW(2), EVT_FLOAT(0.3), 30, 0, 0, 0, 0, 0, 0, 0) EVT_END_IF EVT_END_IF EVT_WAIT_FRAMES(30) @@ -1739,7 +1739,7 @@ EvtScript N(electrify) = { EVT_SUB(LW(0), 16) EVT_ADD(LW(1), 31) EVT_SUB(LW(2), 2) - EVT_CALL(PlayEffect, 0x57, 0, LW(0), LW(1), LW(2), EVT_FLOAT(0.30078125), 30, 0, 0, 0, 0, 0, 0, 0) + EVT_CALL(PlayEffect, 0x57, 0, LW(0), LW(1), LW(2), EVT_FLOAT(0.3), 30, 0, 0, 0, 0, 0, 0, 0) EVT_END_IF EVT_ELSE EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) @@ -1753,7 +1753,7 @@ EvtScript N(electrify) = { EVT_SUB(LW(0), 30) EVT_ADD(LW(1), 36) EVT_SUB(LW(2), 2) - EVT_CALL(PlayEffect, 0x57, 0, LW(0), LW(1), LW(2), EVT_FLOAT(0.30078125), 30, 0, 0, 0, 0, 0, 0, 0) + EVT_CALL(PlayEffect, 0x57, 0, LW(0), LW(1), LW(2), EVT_FLOAT(0.3), 30, 0, 0, 0, 0, 0, 0, 0) EVT_END_IF EVT_END_IF EVT_WAIT_FRAMES(30) @@ -1856,7 +1856,7 @@ EvtScript N(vanish) = { EVT_SUB(LW(0), 16) EVT_ADD(LW(1), 31) EVT_SUB(LW(2), 2) - EVT_CALL(PlayEffect, 0x33, 6, LW(0), LW(1), LW(2), EVT_FLOAT(0.30078125), 30, 0, 0, 0, 0, 0, 0, 0) + EVT_CALL(PlayEffect, 0x33, 6, LW(0), LW(1), LW(2), EVT_FLOAT(0.3), 30, 0, 0, 0, 0, 0, 0, 0) EVT_END_IF EVT_ELSE EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) @@ -1870,7 +1870,7 @@ EvtScript N(vanish) = { EVT_SUB(LW(0), 30) EVT_ADD(LW(1), 36) EVT_SUB(LW(2), 2) - EVT_CALL(PlayEffect, 0x33, 6, LW(0), LW(1), LW(2), EVT_FLOAT(0.30078125), 30, 0, 0, 0, 0, 0, 0, 0) + EVT_CALL(PlayEffect, 0x33, 6, LW(0), LW(1), LW(2), EVT_FLOAT(0.3), 30, 0, 0, 0, 0, 0, 0, 0) EVT_END_IF EVT_END_IF EVT_WAIT_FRAMES(30) diff --git a/src/battle/area_isk_part_1/actor/buzzy_beetle.c b/src/battle/area_isk_part_1/actor/buzzy_beetle.c index fd7705b18c..fb3aaaefa6 100644 --- a/src/battle/area_isk_part_1/actor/buzzy_beetle.c +++ b/src/battle/area_isk_part_1/actor/buzzy_beetle.c @@ -182,7 +182,7 @@ EvtScript N(8021E89C) = { EVT_CALL(SetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_SET(LW(1), 0) EVT_CALL(SetActorSounds, ACTOR_SELF, 2, 769, 0) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.80078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.8)) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(JumpToGoal, ACTOR_SELF, 15, FALSE, TRUE, FALSE) EVT_CALL(GetIndexFromPos, ACTOR_SELF, LW(10)) @@ -604,7 +604,7 @@ EvtScript N(takeTurn_8021FF8C) = { EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_SUB(LW(1), 24) EVT_CALL(SetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.80078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.8)) EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_SET(LW(1), 0) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) @@ -644,7 +644,7 @@ EvtScript N(takeTurn_8021FF8C) = { EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_SUB(LW(1), 24) EVT_CALL(SetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.80078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.8)) EVT_CALL(SetGoalToTarget, ACTOR_SELF) EVT_CALL(GetGoalPos, ACTOR_SELF, LW(3), LW(4), LW(5)) EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) @@ -796,7 +796,7 @@ EvtScript N(takeTurn_80220A44) = { EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_ADD(LW(0), 40) EVT_SET(LW(1), 0) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.80078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.8)) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(JumpToGoal, ACTOR_SELF, 10, FALSE, TRUE, FALSE) EVT_ADD(LW(0), 30) diff --git a/src/battle/area_isk_part_1/actor/pokey_mummy.c b/src/battle/area_isk_part_1/actor/pokey_mummy.c index 256d1cd329..9440c9d40b 100644 --- a/src/battle/area_isk_part_1/actor/pokey_mummy.c +++ b/src/battle/area_isk_part_1/actor/pokey_mummy.c @@ -434,8 +434,8 @@ EvtScript N(handleEvent_80219050) = { EVT_CALL(GetActorPos, ACTOR_SELF, LW(3), LW(4), LW(5)) EVT_CALL(GetStatusFlags, ACTOR_SELF, LW(6)) EVT_IF_FLAG(LW(6), STATUS_FLAG_SHRINK) - EVT_MULF(LW(0), EVT_FLOAT(0.400390625)) - EVT_MULF(LW(1), EVT_FLOAT(0.400390625)) + EVT_MULF(LW(0), EVT_FLOAT(0.4)) + EVT_MULF(LW(1), EVT_FLOAT(0.4)) EVT_END_IF EVT_ADDF(LW(3), LW(0)) EVT_ADDF(LW(4), LW(1)) @@ -474,13 +474,13 @@ EvtScript N(takeTurn_80219D88) = { EVT_IF_NOT_FLAG(LW(0), STATUS_FLAG_SHRINK) EVT_CALL(SetPartScale, ACTOR_SELF, 6, EVT_FLOAT(1.0), EVT_FLOAT(1.0), EVT_FLOAT(1.0)) EVT_ELSE - EVT_CALL(SetPartScale, ACTOR_SELF, 6, EVT_FLOAT(0.400390625), EVT_FLOAT(0.400390625), EVT_FLOAT(1.0)) + EVT_CALL(SetPartScale, ACTOR_SELF, 6, EVT_FLOAT(0.4), EVT_FLOAT(0.4), EVT_FLOAT(1.0)) EVT_END_IF EVT_CHILD_THREAD EVT_CALL(SetPartFlagBits, ACTOR_SELF, 6, ACTOR_PART_FLAG_INVISIBLE, 0) EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(SetPartPos, ACTOR_SELF, 6, LW(0), LW(1), LW(2)) - EVT_CALL(SetPartJumpGravity, ACTOR_SELF, 6, EVT_FLOAT(2.2001953125)) + EVT_CALL(SetPartJumpGravity, ACTOR_SELF, 6, EVT_FLOAT(2.2)) EVT_CALL(SetAnimation, ACTOR_SELF, 6, NPC_ANIM_pokey_Palette_01_Anim_16) EVT_CALL(GetStatusFlags, ACTOR_SELF, LW(5)) EVT_CALL(GetActorVar, ACTOR_SELF, 0, LW(10)) @@ -490,7 +490,7 @@ EvtScript N(takeTurn_80219D88) = { EVT_ADD(LW(1), 38) EVT_ELSE EVT_ADD(LW(1), 15) - EVT_CALL(SetPartJumpGravity, ACTOR_SELF, 6, EVT_FLOAT(1.2001953125)) + EVT_CALL(SetPartJumpGravity, ACTOR_SELF, 6, EVT_FLOAT(1.2)) EVT_END_IF EVT_CALL(JumpPartTo, ACTOR_SELF, 6, LW(0), LW(1), LW(2), 15, 1) EVT_CASE_EQ(1) @@ -498,7 +498,7 @@ EvtScript N(takeTurn_80219D88) = { EVT_ADD(LW(1), 20) EVT_ELSE EVT_ADD(LW(1), 8) - EVT_CALL(SetPartJumpGravity, ACTOR_SELF, 6, EVT_FLOAT(1.2001953125)) + EVT_CALL(SetPartJumpGravity, ACTOR_SELF, 6, EVT_FLOAT(1.2)) EVT_END_IF EVT_CALL(JumpPartTo, ACTOR_SELF, 6, LW(0), LW(1), LW(2), 15, 1) EVT_CASE_EQ(2) @@ -506,7 +506,7 @@ EvtScript N(takeTurn_80219D88) = { EVT_ADD(LW(1), 8) EVT_ELSE EVT_ADD(LW(1), 3) - EVT_CALL(SetPartJumpGravity, ACTOR_SELF, 6, EVT_FLOAT(1.2001953125)) + EVT_CALL(SetPartJumpGravity, ACTOR_SELF, 6, EVT_FLOAT(1.2)) EVT_END_IF EVT_CALL(JumpPartTo, ACTOR_SELF, 6, LW(0), LW(1), LW(2), 15, 1) EVT_CASE_EQ(3) @@ -539,7 +539,7 @@ EvtScript N(takeTurn_80219D88) = { EVT_SUB(LW(0), 80) EVT_SUB(LW(1), 5) EVT_CALL(SetPartMoveSpeed, ACTOR_SELF, 6, EVT_FLOAT(20.0)) - EVT_CALL(SetPartJumpGravity, ACTOR_SELF, 6, EVT_FLOAT(0.1005859375)) + EVT_CALL(SetPartJumpGravity, ACTOR_SELF, 6, EVT_FLOAT(0.1)) EVT_CALL(SetAnimation, ACTOR_SELF, 6, NPC_ANIM_pokey_Palette_01_Anim_16) EVT_CALL(JumpPartTo, ACTOR_SELF, 6, LW(0), LW(1), LW(2), 0, 1) EVT_CALL(SetPartFlagBits, ACTOR_SELF, 6, ACTOR_PART_FLAG_INVISIBLE, 1) @@ -552,7 +552,7 @@ EvtScript N(takeTurn_80219D88) = { EVT_CALL(SetGoalToTarget, ACTOR_SELF) EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(SetPartMoveSpeed, ACTOR_SELF, 6, EVT_FLOAT(20.0)) - EVT_CALL(SetPartJumpGravity, ACTOR_SELF, 6, EVT_FLOAT(0.1005859375)) + EVT_CALL(SetPartJumpGravity, ACTOR_SELF, 6, EVT_FLOAT(0.1)) EVT_CALL(SetAnimation, ACTOR_SELF, 6, NPC_ANIM_pokey_Palette_01_Anim_16) EVT_CALL(JumpPartTo, ACTOR_SELF, 6, LW(0), LW(1), LW(2), 0, 1) EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LW(0), DAMAGE_TYPE_NO_CONTACT, 0, 0x00000008 | 0x00000020 | STATUS_FLAG_100 | STATUS_FLAG_200 | STATUS_FLAG_POISON | STATUS_FLAG_80000000, 2, BS_FLAGS1_SP_EVT_ACTIVE) @@ -565,7 +565,7 @@ EvtScript N(takeTurn_80219D88) = { EVT_SUB(LW(0), 55) EVT_SET(LW(1), 0) EVT_CALL(SetPartMoveSpeed, ACTOR_SELF, 6, EVT_FLOAT(6.0)) - EVT_CALL(SetPartJumpGravity, ACTOR_SELF, 6, EVT_FLOAT(0.1005859375)) + EVT_CALL(SetPartJumpGravity, ACTOR_SELF, 6, EVT_FLOAT(0.1)) EVT_CALL(FlyPartTo, ACTOR_SELF, 6, LW(0), LW(1), LW(2), 0, 25, 0) EVT_CALL(SetPartMoveSpeed, ACTOR_SELF, 6, EVT_FLOAT(4.0)) EVT_SUB(LW(0), 24) @@ -595,7 +595,7 @@ EvtScript N(8021A6C8) = { EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_ADD(LW(0), 50) EVT_SET(LW(1), 0) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.80078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.8)) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_pokey_Palette_01_Anim_B) EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(4.0)) EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(2.0)) @@ -618,7 +618,7 @@ EvtScript N(8021A6C8) = { EVT_SUB(LW(0), 5) EVT_SET(LW(1), 10) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.1005859375)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.1)) EVT_CHILD_THREAD EVT_WAIT_FRAMES(2) EVT_SET(LW(0), 0) @@ -668,7 +668,7 @@ EvtScript N(8021A6C8) = { EVT_END_CASE_GROUP EVT_END_SWITCH EVT_CALL(SetGoalToTarget, ACTOR_SELF) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.1005859375)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.1)) EVT_CHILD_THREAD EVT_WAIT_FRAMES(2) EVT_SET(LW(0), 0) @@ -691,7 +691,7 @@ EvtScript N(8021A6C8) = { EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_ADD(LW(0), 40) EVT_SET(LW(1), 0) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.80078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.8)) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(JumpToGoal, ACTOR_SELF, 10, FALSE, TRUE, FALSE) EVT_ADD(LW(0), 30) @@ -850,7 +850,7 @@ EvtScript N(8021B998) = { EVT_IF_NOT_FLAG(LW(0), STATUS_FLAG_SHRINK) EVT_CALL(SetPartScale, ACTOR_SELF, 6, EVT_FLOAT(1.0), EVT_FLOAT(1.0), EVT_FLOAT(1.0)) EVT_ELSE - EVT_CALL(SetPartScale, ACTOR_SELF, 6, EVT_FLOAT(0.400390625), EVT_FLOAT(0.400390625), EVT_FLOAT(1.0)) + EVT_CALL(SetPartScale, ACTOR_SELF, 6, EVT_FLOAT(0.4), EVT_FLOAT(0.4), EVT_FLOAT(1.0)) EVT_END_IF EVT_EXEC_WAIT(N(8021B1B4)) EVT_SET_CONST(LW(0), 1) @@ -885,7 +885,7 @@ EvtScript N(8021B998) = { EVT_CALL(SetGoalToTarget, ACTOR_SELF) EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_SET(LW(1), 0) - EVT_CALL(SetPartJumpGravity, ACTOR_SELF, 6, EVT_FLOAT(0.1005859375)) + EVT_CALL(SetPartJumpGravity, ACTOR_SELF, 6, EVT_FLOAT(0.1)) EVT_CALL(SetPartMoveSpeed, ACTOR_SELF, 6, EVT_FLOAT(7.0)) EVT_CALL(JumpPartTo, ACTOR_SELF, 6, LW(0), LW(1), LW(2), 0, 1) EVT_CHILD_THREAD @@ -897,7 +897,7 @@ EvtScript N(8021B998) = { EVT_GOTO(1) EVT_LABEL(10) EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_D) - EVT_CALL(SetPartJumpGravity, ACTOR_SELF, 6, EVT_FLOAT(0.1005859375)) + EVT_CALL(SetPartJumpGravity, ACTOR_SELF, 6, EVT_FLOAT(0.1)) EVT_CALL(SetPartMoveSpeed, ACTOR_SELF, 6, EVT_FLOAT(6.0)) EVT_CALL(JumpPartTo, ACTOR_SELF, 6, 296, 0, 0, 0, 1) EVT_CALL(SetPartFlagBits, ACTOR_SELF, 6, ACTOR_PART_FLAG_NO_TARGET, 1) @@ -911,7 +911,7 @@ EvtScript N(8021BDE4) = { EVT_IF_NOT_FLAG(LW(0), STATUS_FLAG_SHRINK) EVT_CALL(SetPartScale, ACTOR_SELF, 6, EVT_FLOAT(1.0), EVT_FLOAT(1.0), EVT_FLOAT(1.0)) EVT_ELSE - EVT_CALL(SetPartScale, ACTOR_SELF, 6, EVT_FLOAT(0.400390625), EVT_FLOAT(0.400390625), EVT_FLOAT(1.0)) + EVT_CALL(SetPartScale, ACTOR_SELF, 6, EVT_FLOAT(0.4), EVT_FLOAT(0.4), EVT_FLOAT(1.0)) EVT_END_IF EVT_EXEC_WAIT(N(8021B1B4)) EVT_SET_CONST(LW(0), 1) @@ -980,7 +980,7 @@ EvtScript N(8021C2BC) = { EVT_CALL(GetActorVar, ACTOR_SELF, 3, LW(1)) EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) EVT_CALL(GetActorFlags, ACTOR_SELF, LW(9)) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.05078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.05)) EVT_CALL(GetActorPos, ACTOR_SELF, LW(10), LW(11), LW(12)) EVT_SET(LW(13), LW(11)) EVT_ADD(LW(13), 40) 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 068cae0703..2752a2f523 100644 --- a/src/battle/area_isk_part_1/actor/stone_chomp.c +++ b/src/battle/area_isk_part_1/actor/stone_chomp.c @@ -349,7 +349,7 @@ EvtScript N(idle_80221D00) = { EVT_CALL(SetIdleGoalToHome, ACTOR_SELF) EVT_CALL(GetIdleGoal, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_ADD(LW(0), 10) - EVT_CALL(SetActorIdleJumpGravity, ACTOR_SELF, EVT_FLOAT(0.80078125)) + EVT_CALL(SetActorIdleJumpGravity, ACTOR_SELF, EVT_FLOAT(0.8)) EVT_CALL(SetIdleGoal, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(IdleJumpToGoal, ACTOR_SELF, 11, 1) EVT_LOOP(0) @@ -377,7 +377,7 @@ EvtScript N(idle_80221D00) = { EVT_WAIT_FRAMES(1) EVT_END_LOOP EVT_CALL(SetIdleAnimations, ACTOR_SELF, 1, EVT_ADDR(N(idleAnimations_802214C8))) - EVT_CALL(SetActorIdleJumpGravity, ACTOR_SELF, EVT_FLOAT(0.80078125)) + EVT_CALL(SetActorIdleJumpGravity, ACTOR_SELF, EVT_FLOAT(0.8)) EVT_CALL(SetIdleGoalToHome, ACTOR_SELF) EVT_CALL(GetIdleGoal, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(SetIdleGoal, ACTOR_SELF, LW(0), LW(1), LW(2)) @@ -391,7 +391,7 @@ EvtScript N(idle_80221D00) = { EVT_WAIT_FRAMES(1) EVT_END_LOOP EVT_CALL(SetIdleAnimations, ACTOR_SELF, 1, EVT_ADDR(N(idleAnimations_80221504))) - EVT_CALL(SetActorIdleJumpGravity, ACTOR_SELF, EVT_FLOAT(0.80078125)) + EVT_CALL(SetActorIdleJumpGravity, ACTOR_SELF, EVT_FLOAT(0.8)) EVT_CALL(SetIdleGoalToHome, ACTOR_SELF) EVT_CALL(GetIdleGoal, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_SUB(LW(0), 20) @@ -405,7 +405,7 @@ EvtScript N(idle_80221D00) = { EVT_END_IF EVT_WAIT_FRAMES(1) EVT_END_LOOP - EVT_CALL(SetActorIdleJumpGravity, ACTOR_SELF, EVT_FLOAT(0.80078125)) + EVT_CALL(SetActorIdleJumpGravity, ACTOR_SELF, EVT_FLOAT(0.8)) EVT_CALL(SetIdleGoalToHome, ACTOR_SELF) EVT_CALL(GetIdleGoal, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_SUB(LW(0), 10) @@ -420,7 +420,7 @@ EvtScript N(idle_80221D00) = { EVT_WAIT_FRAMES(1) EVT_END_LOOP EVT_CALL(SetIdleAnimations, ACTOR_SELF, 1, EVT_ADDR(N(idleAnimations_8022148C))) - EVT_CALL(SetActorIdleJumpGravity, ACTOR_SELF, EVT_FLOAT(0.80078125)) + EVT_CALL(SetActorIdleJumpGravity, ACTOR_SELF, EVT_FLOAT(0.8)) EVT_CALL(SetIdleGoalToHome, ACTOR_SELF) EVT_CALL(GetIdleGoal, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(SetIdleGoal, ACTOR_SELF, LW(0), LW(1), LW(2)) @@ -502,7 +502,7 @@ EvtScript N(handleEvent_80222364) = { EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_SET(LW(1), 0) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.400390625)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.4)) EVT_CALL(AddGoalPos, ACTOR_SELF, 30, 0, 0) EVT_CALL(JumpToGoal, ACTOR_SELF, 15, FALSE, TRUE, FALSE) EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x3F9) @@ -517,7 +517,7 @@ EvtScript N(handleEvent_80222364) = { EVT_SET_CONST(LW(0), 1) EVT_SET_CONST(LW(1), NPC_ANIM_stone_chomp_Palette_00_Anim_5) EVT_EXEC_WAIT(N(80221794)) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.6005859375)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.6)) EVT_CALL(JumpToGoal, ACTOR_SELF, 5, FALSE, TRUE, FALSE) EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x3F9) EVT_THREAD @@ -607,7 +607,7 @@ EvtScript N(handleEvent_80222364) = { EVT_IF_FLAG(LW(0), STATUS_FLAG_SLEEP | STATUS_FLAG_PARALYZE | STATUS_FLAG_DIZZY | STATUS_FLAG_STONE) EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_IF_NE(LW(1), 0) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.80078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.8)) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), 0, LW(2)) EVT_CALL(FallToGoal, ACTOR_SELF, 11) EVT_END_IF @@ -646,14 +646,14 @@ EvtScript N(takeTurn_80222ED0) = { EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_SUB(LW(0), 20) EVT_SET(LW(1), 0) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.80078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.8)) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(JumpToGoal, ACTOR_SELF, 10, FALSE, TRUE, FALSE) EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x3F9) EVT_IF_EQ(LW(10), HIT_RESULT_LUCKY) EVT_CALL(EnemyTestTarget, ACTOR_SELF, LW(0), DAMAGE_TYPE_TRIGGER_LUCKY, 0, 0, 0) EVT_END_IF - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.80078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.8)) EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_SUB(LW(0), 25) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) @@ -693,7 +693,7 @@ EvtScript N(takeTurn_80222ED0) = { EVT_ADD(LW(0), 10) EVT_END_IF EVT_SET(LW(1), 27) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.2001953125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.2)) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(JumpToGoal, ACTOR_SELF, 5, FALSE, TRUE, FALSE) EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) @@ -708,7 +708,7 @@ EvtScript N(takeTurn_80222ED0) = { EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_ADD(LW(0), 40) EVT_SET(LW(1), 0) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.80078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.8)) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(JumpToGoal, ACTOR_SELF, 10, FALSE, TRUE, FALSE) EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x3F9) diff --git a/src/battle/area_isk_part_1/actor/swooper.c b/src/battle/area_isk_part_1/actor/swooper.c index 8054ffd937..1ef5386f62 100644 --- a/src/battle/area_isk_part_1/actor/swooper.c +++ b/src/battle/area_isk_part_1/actor/swooper.c @@ -250,12 +250,12 @@ EvtScript N(8021CD04) = { EVT_CALL(GetActorVar, ACTOR_SELF, 0, LW(10)) EVT_IF_EQ(LW(10), -1) EVT_CALL(SetHomePos, ACTOR_SELF, LW(0), 45, LW(2)) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.80078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.8)) EVT_CALL(SetGoalToHome, ACTOR_SELF) EVT_CALL(JumpToGoal, ACTOR_SELF, 15, FALSE, FALSE, FALSE) EVT_CALL(JumpToGoal, ACTOR_SELF, 10, FALSE, FALSE, FALSE) EVT_ELSE - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.80078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.8)) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), 45, LW(2)) EVT_CALL(JumpToGoal, ACTOR_SELF, 15, FALSE, FALSE, FALSE) EVT_CALL(GetIndexFromPos, ACTOR_SELF, LW(10)) @@ -264,7 +264,7 @@ EvtScript N(8021CD04) = { EVT_CALL(SetGoalToIndex, ACTOR_SELF, LW(10)) EVT_CALL(GetGoalPos, ACTOR_SELF, LW(10), LW(11), LW(12)) EVT_CALL(SetHomePos, ACTOR_SELF, LW(10), LW(11), LW(12)) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.80078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.8)) EVT_CALL(SetGoalToHome, ACTOR_SELF) EVT_CALL(JumpToGoal, ACTOR_SELF, 10, FALSE, FALSE, FALSE) EVT_END_IF @@ -447,7 +447,7 @@ EvtScript N(8021D7E4) = { EVT_SET(LW(10), LW(0)) EVT_WAIT_FRAMES(10) EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(5.0)) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.80078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.8)) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_swooper_Palette_00_Anim_6) EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) @@ -486,7 +486,7 @@ EvtScript N(8021D7E4) = { EVT_END_SWITCH EVT_WAIT_FRAMES(10) EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(5.0)) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.80078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.8)) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_swooper_Palette_00_Anim_6) EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) @@ -536,7 +536,7 @@ EvtScript N(takeTurn_8021DED4) = { EVT_SET(LW(10), LW(0)) EVT_WAIT_FRAMES(10) EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(5.0)) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.80078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.8)) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_swooper_Palette_00_Anim_6) EVT_CALL(SetGoalToTarget, ACTOR_SELF) EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) @@ -571,7 +571,7 @@ EvtScript N(takeTurn_8021DED4) = { EVT_END_SWITCH EVT_WAIT_FRAMES(10) EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(5.0)) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.80078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.8)) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_swooper_Palette_00_Anim_6) EVT_CALL(SetGoalToTarget, ACTOR_SELF) EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(8.0)) diff --git a/src/battle/area_isk_part_2/4EF4A0.c b/src/battle/area_isk_part_2/4EF4A0.c deleted file mode 100644 index 5482f568f2..0000000000 --- a/src/battle/area_isk_part_2/4EF4A0.c +++ /dev/null @@ -1,35 +0,0 @@ -#include "common.h" -#include "effects.h" - -#define NAMESPACE b_area_isk_part_2 - -#include "common/ChompChainInit.inc.c" - -#include "common/ChompChainUpdateHelperFunc.inc.c" - -#include "common/ChompChainUpdateHelperFunc2.inc.c" - -INCLUDE_ASM(s32, "battle/area_isk_part_2/4EF4A0", b_area_isk_part_2_ChompChainUpdate); - -ApiStatus func_8021866C_4EFB0C(Evt* script, s32 isInitialCall) { - Bytecode* args = script->ptrReadPos; - s32 var1 = *args++; - - evt_get_variable(script, *args++); - return ApiStatus_DONE2; -} - -#include "common/UnkBattleFunc1.inc.c" - -ApiStatus func_8021875C_4EFBFC(Evt* script, s32 isInitialCall) { - Bytecode* args = script->ptrReadPos; - s32 var1 = evt_get_variable(script, *args++); - s32 var2 = evt_get_variable(script, *args++); - s32 var3 = evt_get_variable(script, *args++); - EffectInstance* effect = playFX_4C(2, var1, 150.0f, var3, var2, -0.5f, -0.9f, 0.5f, 60); - - ((EffectInstanceData*)effect->data)->unk_30 = 0; - ((EffectInstanceData*)effect->data)->unk_38 = 0; - ((EffectInstanceData*)effect->data)->unk_34 = 0; - return ApiStatus_DONE2; -} diff --git a/src/battle/area_isk_part_2/4EFCF0.c b/src/battle/area_isk_part_2/4EFCF0.c deleted file mode 100644 index 8cb809c5bc..0000000000 --- a/src/battle/area_isk_part_2/4EFCF0.c +++ /dev/null @@ -1,19 +0,0 @@ -#include "common.h" -#include "effects.h" - -#define NAMESPACE b_area_isk_part_2 - -extern EffectInstance* D_80220740; -extern EffectInstance* D_80220744; - -ApiStatus func_80218850_4EFCF0(Evt* script, s32 isInitialCall) { - playFX_20(1, -133.0f, 72.0f, -143.0f, 0.3f, &D_80220740); - playFX_20(1, 129.0f, 72.0f, -143.0f, 0.3f, &D_80220744); - return ApiStatus_DONE2; -} - -ApiStatus func_802188E4_4EFD84(Evt* script, s32 isInitialCall) { - remove_effect(D_80220740); - remove_effect(D_80220744); - return ApiStatus_DONE2; -} diff --git a/src/battle/area_isk_part_2/4EFDC0.c b/src/battle/area_isk_part_2/4EFDC0.c deleted file mode 100644 index 9691a28924..0000000000 --- a/src/battle/area_isk_part_2/4EFDC0.c +++ /dev/null @@ -1,19 +0,0 @@ -#include "common.h" -#include "effects.h" - -#define NAMESPACE b_area_isk_part_2 - -extern EffectInstance* D_80220750; -extern EffectInstance* D_80220754; - -ApiStatus func_80218920_4EFDC0(Evt* script, s32 isInitialCall) { - playFX_20(1, -90.0f, 45.0f, -146.0f, 0.25f, &D_80220750); - playFX_20(1, 80.0f, 45.0f, -146.0f, 0.25f, &D_80220754); - return ApiStatus_DONE2; -} - -ApiStatus func_802189B0_4EFE50(Evt* script, s32 isInitialCall) { - remove_effect(D_80220750); - remove_effect(D_80220754); - return ApiStatus_DONE2; -} diff --git a/src/battle/area_isk_part_2/4EFE90.c b/src/battle/area_isk_part_2/4EFE90.c deleted file mode 100644 index d32a791a81..0000000000 --- a/src/battle/area_isk_part_2/4EFE90.c +++ /dev/null @@ -1,38 +0,0 @@ -#include "common.h" -#include "effects.h" - -#define NAMESPACE b_area_isk_part_2 - -extern EffectInstance* D_80220760; -extern EffectInstance* D_80220770; -extern EffectInstance* D_80220780; - -ApiStatus func_802189F0_4EFE90(Evt* script, s32 isInitialCall) { - playFX_20(1, -110.0f, 80.0f, -146.0f, 0.3f, &D_80220760); - return ApiStatus_DONE2; -} - -ApiStatus func_80218A38_4EFED8(Evt* script, s32 isInitialCall) { - remove_effect(D_80220760); - return ApiStatus_DONE2; -} - -ApiStatus func_80218A60_4EFF00(Evt* script, s32 isInitialCall) { - playFX_20(1, -110.0f, 80.0f, -146.0f, 0.3f, &D_80220770); - return ApiStatus_DONE2; -} - -ApiStatus func_80218AA8_4EFF48(Evt* script, s32 isInitialCall) { - remove_effect(D_80220770); - return ApiStatus_DONE2; -} - -ApiStatus func_80218AD0_4EFF70(Evt* script, s32 isInitialCall) { - playFX_20(1, 110.0f, 80.0f, -146.0f, 0.3f, &D_80220780); - return ApiStatus_DONE2; -} - -ApiStatus func_80218B18_4EFFB8(Evt* script, s32 isInitialCall) { - remove_effect(D_80220780); - return ApiStatus_DONE2; -} diff --git a/src/battle/area_isk_part_2/actor/chain_chomp.c b/src/battle/area_isk_part_2/actor/chain_chomp.c new file mode 100644 index 0000000000..adbc0aca81 --- /dev/null +++ b/src/battle/area_isk_part_2/actor/chain_chomp.c @@ -0,0 +1,919 @@ +#include "common.h" +#include "battle/battle.h" +#include "script_api/battle.h" +#include "sprite/npc/chain_chomp.h" +#include "sprite/npc/tutankoopa.h" + +#define NAMESPACE b_area_isk_part_2_chain_chomp + +extern EvtScript N(init_80218EC4); +extern EvtScript N(takeTurn_8021A7C4); +extern EvtScript N(idle_80219108); +extern EvtScript N(handleEvent_802197C4); +extern EvtScript N(8021972C); +extern EvtScript N(8021A200); +extern EvtScript N(8021B41C); +extern EvtScript N(8021B50C); + +s32 N(idleAnimations_80218B40)[] = { + STATUS_NORMAL, NPC_ANIM_chain_chomp_Palette_00_Anim_1, + STATUS_STONE, NPC_ANIM_chain_chomp_Palette_00_Anim_0, + STATUS_SLEEP, NPC_ANIM_chain_chomp_Palette_00_Anim_7, + STATUS_POISON, NPC_ANIM_chain_chomp_Palette_00_Anim_1, + STATUS_STOP, NPC_ANIM_chain_chomp_Palette_00_Anim_0, + STATUS_STATIC, NPC_ANIM_chain_chomp_Palette_00_Anim_0, + STATUS_PARALYZE, NPC_ANIM_chain_chomp_Palette_00_Anim_0, + STATUS_DIZZY, NPC_ANIM_chain_chomp_Palette_00_Anim_8, + STATUS_END, +}; + +s32 N(idleAnimations_80218B84)[] = { + STATUS_NORMAL, NPC_ANIM_chain_chomp_Palette_00_Anim_3, + STATUS_POISON, NPC_ANIM_chain_chomp_Palette_00_Anim_3, + STATUS_STOP, NPC_ANIM_chain_chomp_Palette_00_Anim_0, + STATUS_STONE, NPC_ANIM_chain_chomp_Palette_00_Anim_0, + STATUS_SLEEP, NPC_ANIM_chain_chomp_Palette_00_Anim_7, + STATUS_STATIC, NPC_ANIM_chain_chomp_Palette_00_Anim_0, + STATUS_PARALYZE, NPC_ANIM_chain_chomp_Palette_00_Anim_0, + STATUS_DIZZY, NPC_ANIM_chain_chomp_Palette_00_Anim_8, + STATUS_END, +}; + +s32 N(idleAnimations_80218BC8)[] = { + STATUS_NORMAL, NPC_ANIM_chain_chomp_Palette_00_Anim_4, + STATUS_POISON, NPC_ANIM_chain_chomp_Palette_00_Anim_4, + STATUS_STOP, NPC_ANIM_chain_chomp_Palette_00_Anim_0, + STATUS_STONE, NPC_ANIM_chain_chomp_Palette_00_Anim_0, + STATUS_SLEEP, NPC_ANIM_chain_chomp_Palette_00_Anim_7, + STATUS_STATIC, NPC_ANIM_chain_chomp_Palette_00_Anim_0, + STATUS_PARALYZE, NPC_ANIM_chain_chomp_Palette_00_Anim_0, + STATUS_DIZZY, NPC_ANIM_chain_chomp_Palette_00_Anim_8, + STATUS_END, +}; + +s32 N(idleAnimations_80218C0C)[] = { + STATUS_NORMAL, NPC_ANIM_chain_chomp_Palette_00_Anim_5, + STATUS_POISON, NPC_ANIM_chain_chomp_Palette_00_Anim_5, + STATUS_STOP, NPC_ANIM_chain_chomp_Palette_00_Anim_0, + STATUS_STONE, NPC_ANIM_chain_chomp_Palette_00_Anim_0, + STATUS_SLEEP, NPC_ANIM_chain_chomp_Palette_00_Anim_7, + STATUS_STATIC, NPC_ANIM_chain_chomp_Palette_00_Anim_0, + STATUS_PARALYZE, NPC_ANIM_chain_chomp_Palette_00_Anim_0, + STATUS_DIZZY, NPC_ANIM_chain_chomp_Palette_00_Anim_8, + STATUS_END, +}; + +s32 N(idleAnimations_80218C50)[] = { + STATUS_NORMAL, NPC_ANIM_chain_chomp_Palette_00_Anim_2, + STATUS_END, +}; + +s32 N(defenseTable_80218C5C)[] = { + ELEMENT_NORMAL, 3, + ELEMENT_SHOCK, 3, + ELEMENT_FIRE, 99, + ELEMENT_ICE, 99, + ELEMENT_MAGIC, 99, + ELEMENT_END, +}; + +s32 N(statusTable_80218C88)[] = { + STATUS_NORMAL, 0, + STATUS_DEFAULT, 0, + STATUS_SLEEP, 0, + STATUS_POISON, 0, + STATUS_FROZEN, 0, + STATUS_DIZZY, 75, + STATUS_FEAR, 0, + STATUS_STATIC, 0, + STATUS_PARALYZE, 0, + STATUS_SHRINK, 75, + STATUS_STOP, 75, + 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, -1, + STATUS_END, +}; + +ActorPartBlueprint N(partsTable_80218D34)[] = { + { + .flags = ACTOR_PART_FLAG_NO_TARGET, + .index = 1, + .posOffset = { 0, 0, 0 }, + .targetOffset = { 0, 24 }, + .opacity = 255, + .idleAnimations = N(idleAnimations_80218B40), + .defenseTable = N(defenseTable_80218C5C), + .eventFlags = ACTOR_EVENT_FLAG_0, + .elementImmunityFlags = 0, + .unk_1C = 0, + }, + { + .flags = ACTOR_PART_FLAG_INVISIBLE | ACTOR_PART_FLAG_100000 | ACTOR_PART_FLAG_MULTI_TARGET, + .index = 2, + .posOffset = { 0, 0, 0 }, + .targetOffset = { -13, 40 }, + .opacity = 255, + .idleAnimations = N(idleAnimations_80218B40), + .defenseTable = N(defenseTable_80218C5C), + .eventFlags = ACTOR_EVENT_FLAG_0, + .elementImmunityFlags = 0, + .unk_1C = 240, + }, + { + .flags = ACTOR_PART_FLAG_2 | ACTOR_PART_FLAG_4000 | ACTOR_PART_FLAG_NO_TARGET | ACTOR_PART_FLAG_100000, + .index = 3, + .posOffset = { 0, 0, 0 }, + .targetOffset = { 0, 12 }, + .opacity = 255, + .idleAnimations = N(idleAnimations_80218C50), + .defenseTable = N(defenseTable_80218C5C), + .eventFlags = ACTOR_EVENT_FLAG_0, + .elementImmunityFlags = 0, + .unk_1C = 0, + }, + { + .flags = ACTOR_PART_FLAG_2 | ACTOR_PART_FLAG_4000 | ACTOR_PART_FLAG_NO_TARGET | ACTOR_PART_FLAG_100000, + .index = 4, + .posOffset = { 0, 0, 0 }, + .targetOffset = { 0, 12 }, + .opacity = 255, + .idleAnimations = N(idleAnimations_80218C50), + .defenseTable = N(defenseTable_80218C5C), + .eventFlags = ACTOR_EVENT_FLAG_0, + .elementImmunityFlags = 0, + .unk_1C = 0, + }, + { + .flags = ACTOR_PART_FLAG_2 | ACTOR_PART_FLAG_4000 | ACTOR_PART_FLAG_NO_TARGET | ACTOR_PART_FLAG_100000, + .index = 5, + .posOffset = { 0, 0, 0 }, + .targetOffset = { 0, 12 }, + .opacity = 255, + .idleAnimations = N(idleAnimations_80218C50), + .defenseTable = N(defenseTable_80218C5C), + .eventFlags = ACTOR_EVENT_FLAG_0, + .elementImmunityFlags = 0, + .unk_1C = 0, + }, + { + .flags = ACTOR_PART_FLAG_2 | ACTOR_PART_FLAG_4000 | ACTOR_PART_FLAG_NO_TARGET | ACTOR_PART_FLAG_100000, + .index = 6, + .posOffset = { 0, 0, 0 }, + .targetOffset = { 0, 12 }, + .opacity = 255, + .idleAnimations = N(idleAnimations_80218C50), + .defenseTable = N(defenseTable_80218C5C), + .eventFlags = ACTOR_EVENT_FLAG_0, + .elementImmunityFlags = 0, + .unk_1C = 0, + }, + { + .flags = ACTOR_PART_FLAG_2 | ACTOR_PART_FLAG_4000 | ACTOR_PART_FLAG_NO_TARGET | ACTOR_PART_FLAG_100000, + .index = 7, + .posOffset = { 0, 0, 0 }, + .targetOffset = { 0, 12 }, + .opacity = 255, + .idleAnimations = N(idleAnimations_80218C50), + .defenseTable = N(defenseTable_80218C5C), + .eventFlags = ACTOR_EVENT_FLAG_0, + .elementImmunityFlags = 0, + .unk_1C = 0, + }, + { + .flags = ACTOR_PART_FLAG_2 | ACTOR_PART_FLAG_4000 | ACTOR_PART_FLAG_NO_TARGET | ACTOR_PART_FLAG_100000, + .index = 8, + .posOffset = { 0, 0, 0 }, + .targetOffset = { 0, 12 }, + .opacity = 255, + .idleAnimations = N(idleAnimations_80218C50), + .defenseTable = N(defenseTable_80218C5C), + .eventFlags = ACTOR_EVENT_FLAG_0, + .elementImmunityFlags = 0, + .unk_1C = 0, + }, + { + .flags = ACTOR_PART_FLAG_2 | ACTOR_PART_FLAG_4000 | ACTOR_PART_FLAG_NO_TARGET | ACTOR_PART_FLAG_100000, + .index = 9, + .posOffset = { 0, 0, 0 }, + .targetOffset = { 0, 12 }, + .opacity = 255, + .idleAnimations = N(idleAnimations_80218C50), + .defenseTable = N(defenseTable_80218C5C), + .eventFlags = ACTOR_EVENT_FLAG_0, + .elementImmunityFlags = 0, + .unk_1C = 0, + }, + { + .flags = ACTOR_PART_FLAG_2 | ACTOR_PART_FLAG_4000 | ACTOR_PART_FLAG_NO_TARGET | ACTOR_PART_FLAG_100000, + .index = 10, + .posOffset = { 0, 0, 0 }, + .targetOffset = { 0, 12 }, + .opacity = 255, + .idleAnimations = N(idleAnimations_80218C50), + .defenseTable = N(defenseTable_80218C5C), + .eventFlags = ACTOR_EVENT_FLAG_0, + .elementImmunityFlags = 0, + .unk_1C = 0, + }, +}; + +ActorBlueprint NAMESPACE = { + .flags = 0, + .type = ACTOR_TYPE_CHOMP, + .level = 14, + .maxHP = 4, + .partCount = ARRAY_COUNT(N(partsTable_80218D34)), + .partsData = N(partsTable_80218D34), + .script = N(init_80218EC4), + .statusTable = N(statusTable_80218C88), + .escapeChance = 0, + .airLiftChance = 0, + .spookChance = 0, + .baseStatusChance = 0, + .upAndAwayChance = 0, + .spinSmashReq = 0, + .powerBounceChance = 95, + .coinReward = 0, + .size = { 56, 40 }, + .hpBarOffset = { 0, 0 }, + .statusIconOffset = { -10, 20 }, + .statusMessageOffset = { 10, 20 }, +}; + +#include "common/ChompChainInit.inc.c" + +#include "common/ChompChainUpdateHelperFunc.inc.c" + +#include "common/ChompChainUpdateHelperFunc2.inc.c" + +ApiStatus N(ChompChainUpdate)(Evt* script, s32 isInitialCall); +INCLUDE_ASM(ApiStatus, "battle/area_isk_part_2/4EF4A0", b_area_isk_part_2_chain_chomp_ChompChainUpdate); + +ApiStatus func_8021866C_4EFB0C(Evt* script, s32 isInitialCall) { + Bytecode* args = script->ptrReadPos; + s32 var1 = *args++; + + evt_get_variable(script, *args++); + return ApiStatus_DONE2; +} + +EvtScript N(init_80218EC4) = { + EVT_CALL(SetActorVar, ACTOR_SELF, 8, 0) + EVT_CALL(BindTakeTurn, ACTOR_SELF, EVT_ADDR(N(takeTurn_8021A7C4))) + EVT_CALL(BindIdle, ACTOR_SELF, EVT_ADDR(N(idle_80219108))) + EVT_CALL(BindHandleEvent, ACTOR_SELF, EVT_ADDR(N(handleEvent_802197C4))) + EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(SetPartPos, ACTOR_SELF, 2, LW(0), LW(1), LW(2)) + EVT_SET(LW(0), 3) + EVT_LOOP(8) + EVT_CALL(SetPartSize, ACTOR_SELF, LW(0), 16, 16) + EVT_ADD(LW(0), 1) + EVT_END_LOOP + EVT_CALL(N(ChompChainInit)) + EVT_EXEC(N(8021972C)) + EVT_RETURN + EVT_END +}; + +EvtScript N(80218FCC) = { + EVT_CALL(GetStatusFlags, ACTOR_SELF, LW(0)) + EVT_IF_FLAG(LW(0), STATUS_FLAG_SLEEP | STATUS_FLAG_FROZEN | STATUS_FLAG_FEAR | STATUS_FLAG_PARALYZE | STATUS_FLAG_DIZZY | STATUS_FLAG_STONE | STATUS_FLAG_STOP) + EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(SetPartPos, ACTOR_SELF, 2, LW(0), LW(1), LW(2)) + EVT_CALL(SetTargetOffset, ACTOR_SELF, 2, 0, 24) + EVT_CALL(func_8027D4C8, ACTOR_SELF, 2, 0, 0) + EVT_ELSE + EVT_CALL(SetIdleGoalToHome, ACTOR_SELF) + EVT_CALL(GetIdleGoal, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(SetPartPos, ACTOR_SELF, 2, LW(0), LW(1), LW(2)) + EVT_CALL(SetTargetOffset, ACTOR_SELF, 2, -13, 40) + EVT_CALL(func_8027D4C8, ACTOR_SELF, 2, 0, -14) + EVT_END_IF + EVT_RETURN + EVT_END +}; + +EvtScript N(idle_80219108) = { + EVT_LABEL(0) + EVT_LOOP(0) + EVT_EXEC_WAIT(N(80218FCC)) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LW(0)) + EVT_IF_NOT_FLAG(LW(0), STATUS_FLAG_SLEEP | STATUS_FLAG_FROZEN | STATUS_FLAG_FEAR | STATUS_FLAG_PARALYZE | STATUS_FLAG_DIZZY | STATUS_FLAG_STONE | STATUS_FLAG_STOP) + EVT_BREAK_LOOP + EVT_END_IF + EVT_WAIT_FRAMES(1) + EVT_END_LOOP + EVT_CALL(SetIdleAnimations, ACTOR_SELF, 1, EVT_ADDR(N(idleAnimations_80218C0C))) + EVT_CALL(SetActorIdleJumpGravity, ACTOR_SELF, EVT_FLOAT(1.0)) + EVT_CALL(SetIdleGoalToHome, ACTOR_SELF) + EVT_CALL(GetIdleGoal, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_ADD(LW(0), 10) + EVT_CALL(SetActorIdleJumpGravity, ACTOR_SELF, EVT_FLOAT(0.8)) + EVT_CALL(SetIdleGoal, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(IdleJumpToGoal, ACTOR_SELF, 11, 1) + EVT_LOOP(0) + EVT_EXEC_WAIT(N(80218FCC)) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LW(0)) + EVT_IF_NOT_FLAG(LW(0), STATUS_FLAG_SLEEP | STATUS_FLAG_FROZEN | STATUS_FLAG_FEAR | STATUS_FLAG_PARALYZE | STATUS_FLAG_DIZZY | STATUS_FLAG_STONE | STATUS_FLAG_STOP) + EVT_BREAK_LOOP + EVT_END_IF + EVT_WAIT_FRAMES(1) + EVT_END_LOOP + EVT_CALL(SetActorIdleJumpGravity, ACTOR_SELF, EVT_FLOAT(1.0)) + EVT_CALL(SetIdleGoalToHome, ACTOR_SELF) + EVT_CALL(GetIdleGoal, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(SetIdleGoal, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(IdleJumpToGoal, ACTOR_SELF, 6, 1) + EVT_CALL(RandInt, 10, LW(0)) + EVT_ADD(LW(0), 1) + EVT_WAIT_FRAMES(LW(0)) + EVT_LOOP(0) + EVT_EXEC_WAIT(N(80218FCC)) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LW(0)) + EVT_IF_NOT_FLAG(LW(0), STATUS_FLAG_SLEEP | STATUS_FLAG_FROZEN | STATUS_FLAG_FEAR | STATUS_FLAG_PARALYZE | STATUS_FLAG_DIZZY | STATUS_FLAG_STONE | STATUS_FLAG_STOP) + EVT_BREAK_LOOP + EVT_END_IF + EVT_WAIT_FRAMES(1) + EVT_END_LOOP + EVT_CALL(SetIdleAnimations, ACTOR_SELF, 1, EVT_ADDR(N(idleAnimations_80218BC8))) + EVT_CALL(SetActorIdleJumpGravity, ACTOR_SELF, EVT_FLOAT(0.8)) + EVT_CALL(SetIdleGoalToHome, ACTOR_SELF) + EVT_CALL(GetIdleGoal, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(SetIdleGoal, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(IdleJumpToGoal, ACTOR_SELF, 15, 1) + EVT_LOOP(0) + EVT_EXEC_WAIT(N(80218FCC)) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LW(0)) + EVT_IF_NOT_FLAG(LW(0), STATUS_FLAG_SLEEP | STATUS_FLAG_FROZEN | STATUS_FLAG_FEAR | STATUS_FLAG_PARALYZE | STATUS_FLAG_DIZZY | STATUS_FLAG_STONE | STATUS_FLAG_STOP) + EVT_BREAK_LOOP + EVT_END_IF + EVT_WAIT_FRAMES(1) + EVT_END_LOOP + EVT_CALL(SetIdleAnimations, ACTOR_SELF, 1, EVT_ADDR(N(idleAnimations_80218C0C))) + EVT_CALL(SetActorIdleJumpGravity, ACTOR_SELF, EVT_FLOAT(0.8)) + EVT_CALL(SetIdleGoalToHome, ACTOR_SELF) + EVT_CALL(GetIdleGoal, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_SUB(LW(0), 20) + EVT_CALL(SetIdleGoal, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(IdleJumpToGoal, ACTOR_SELF, 12, 1) + EVT_LOOP(0) + EVT_EXEC_WAIT(N(80218FCC)) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LW(0)) + EVT_IF_NOT_FLAG(LW(0), STATUS_FLAG_SLEEP | STATUS_FLAG_FROZEN | STATUS_FLAG_FEAR | STATUS_FLAG_PARALYZE | STATUS_FLAG_DIZZY | STATUS_FLAG_STONE | STATUS_FLAG_STOP) + EVT_BREAK_LOOP + EVT_END_IF + EVT_WAIT_FRAMES(1) + EVT_END_LOOP + EVT_CALL(SetActorIdleJumpGravity, ACTOR_SELF, EVT_FLOAT(0.8)) + EVT_CALL(SetIdleGoalToHome, ACTOR_SELF) + EVT_CALL(GetIdleGoal, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_SUB(LW(0), 10) + EVT_CALL(SetIdleGoal, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(IdleJumpToGoal, ACTOR_SELF, 9, 1) + EVT_LOOP(0) + EVT_EXEC_WAIT(N(80218FCC)) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LW(0)) + EVT_IF_NOT_FLAG(LW(0), STATUS_FLAG_SLEEP | STATUS_FLAG_FROZEN | STATUS_FLAG_FEAR | STATUS_FLAG_PARALYZE | STATUS_FLAG_DIZZY | STATUS_FLAG_STONE | STATUS_FLAG_STOP) + EVT_BREAK_LOOP + EVT_END_IF + EVT_WAIT_FRAMES(1) + EVT_END_LOOP + EVT_CALL(SetIdleAnimations, ACTOR_SELF, 1, EVT_ADDR(N(idleAnimations_80218B84))) + EVT_CALL(SetActorIdleJumpGravity, ACTOR_SELF, EVT_FLOAT(0.8)) + EVT_CALL(SetIdleGoalToHome, ACTOR_SELF) + EVT_CALL(GetIdleGoal, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(SetIdleGoal, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(IdleJumpToGoal, ACTOR_SELF, 6, 1) + EVT_CALL(RandInt, 10, LW(0)) + EVT_ADD(LW(0), 10) + EVT_WAIT_FRAMES(LW(0)) + EVT_GOTO(0) + EVT_RETURN + EVT_END +}; + +EvtScript N(8021972C) = { + EVT_LABEL(0) + EVT_WAIT_FRAMES(1) + EVT_CALL(ActorExists, ACTOR_ENEMY1, LW(0)) + EVT_IF_EQ(LW(0), TRUE) + EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(N(ChompChainUpdate), LW(2)) + EVT_GOTO(0) + EVT_END_IF + EVT_LABEL(1) + EVT_RETURN + EVT_END +}; + +EvtScript N(handleEvent_802197C4) = { + EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE) + EVT_CALL(EnableIdleScript, ACTOR_SELF, 0) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.0), EVT_FLOAT(1.0), EVT_FLOAT(1.0)) + EVT_CALL(GetLastEvent, ACTOR_SELF, LW(0)) + EVT_SET(LW(15), LW(0)) + EVT_SWITCH(LW(0)) + EVT_CASE_EQ(EVENT_HIT_COMBO) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_chain_chomp_Palette_00_Anim_6) + EVT_EXEC_WAIT(DoNormalHit) + EVT_CASE_EQ(EVENT_HIT) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_chain_chomp_Palette_00_Anim_6) + EVT_EXEC_WAIT(DoNormalHit) + EVT_CASE_EQ(EVENT_BEGIN_FIRST_STRIKE) + EVT_CASE_EQ(EVENT_BURN_HIT) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_chain_chomp_Palette_00_Anim_6) + EVT_SET_CONST(LW(2), -1) + EVT_EXEC_WAIT(DoBurnHit) + EVT_CASE_EQ(EVENT_BURN_DEATH) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_chain_chomp_Palette_00_Anim_6) + EVT_SET_CONST(LW(2), -1) + EVT_EXEC_WAIT(DoBurnHit) + EVT_WAIT_FRAMES(10) + EVT_CALL(SetActorVar, ACTOR_ENEMY0, 12, 2) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_chain_chomp_Palette_00_Anim_6) + EVT_EXEC_WAIT(DoDeath) + EVT_RETURN + EVT_CASE_EQ(EVENT_SPIN_SMASH_HIT) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_chain_chomp_Palette_00_Anim_6) + EVT_EXEC_WAIT(N(8021A200)) + EVT_CALL(EnableIdleScript, ACTOR_SELF, -1) + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_RETURN + EVT_CASE_EQ(EVENT_SHOCK_HIT) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_chain_chomp_Palette_00_Anim_6) + EVT_EXEC_WAIT(DoShockHit) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_chain_chomp_Palette_00_Anim_6) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(SetAnimation, ACTOR_SELF, LW(0), LW(1)) + EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_SET(LW(1), 0) + EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.4)) + EVT_CALL(AddGoalPos, ACTOR_SELF, 30, 0, 0) + EVT_CALL(JumpToGoal, ACTOR_SELF, 15, FALSE, TRUE, FALSE) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x2062) + EVT_CALL(AddGoalPos, ACTOR_SELF, 15, 0, 0) + EVT_CALL(JumpToGoal, ACTOR_SELF, 8, FALSE, TRUE, FALSE) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x2062) + EVT_CALL(AddGoalPos, ACTOR_SELF, 5, 0, 0) + EVT_CALL(JumpToGoal, ACTOR_SELF, 5, FALSE, TRUE, FALSE) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x2062) + EVT_CALL(JumpToGoal, ACTOR_SELF, 5, FALSE, TRUE, FALSE) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x2062) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_chain_chomp_Palette_00_Anim_5) + EVT_EXEC_WAIT(N(8021B41C)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.6)) + EVT_CALL(JumpToGoal, ACTOR_SELF, 5, FALSE, TRUE, FALSE) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x2062) + EVT_THREAD + EVT_CALL(ShakeCam, 1, 0, 1, EVT_FLOAT(0.5)) + EVT_END_THREAD + EVT_CALL(SetGoalToHome, ACTOR_SELF) + EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(SetPartPos, ACTOR_SELF, 2, LW(0), LW(1), LW(2)) + EVT_CALL(SetActorVar, ACTOR_SELF, 8, 0) + EVT_CASE_EQ(EVENT_BEGIN_AIR_LIFT) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LW(0)) + EVT_IF_NOT_FLAG(LW(0), STATUS_FLAG_SLEEP | STATUS_FLAG_FROZEN | STATUS_FLAG_FEAR | STATUS_FLAG_PARALYZE | STATUS_FLAG_DIZZY | STATUS_FLAG_STONE | STATUS_FLAG_STOP) + EVT_CALL(SetGoalToHome, ACTOR_SELF) + EVT_CALL(GetGoalPos, ACTOR_SELF, LW(1), LW(2), LW(3)) + EVT_IF_FLAG(LW(0), STATUS_FLAG_SHRINK) + EVT_SUB(LW(1), 10) + EVT_ADD(LW(2), 4) + EVT_ELSE + EVT_SUB(LW(1), 5) + EVT_ADD(LW(2), 11) + EVT_END_IF + EVT_CALL(SetActorPos, ACTOR_SELF, LW(1), LW(2), LW(3)) + EVT_END_IF + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_chain_chomp_Palette_00_Anim_6) + EVT_EXEC_WAIT(DoAirLift) + EVT_CALL(EnableIdleScript, ACTOR_SELF, -1) + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_RETURN + EVT_CASE_EQ(EVENT_BLOW_AWAY) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_chain_chomp_Palette_00_Anim_6) + EVT_EXEC_WAIT(DoBlowAway) + EVT_RETURN + EVT_CASE_EQ(EVENT_AIR_LIFT_FAILED) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_chain_chomp_Palette_00_Anim_1) + EVT_EXEC_WAIT(DoImmune) + EVT_CALL(SetAnimationRate, ACTOR_SELF, 1, EVT_FLOAT(1.0)) + EVT_CASE_OR_EQ(EVENT_UNKNOWN_TRIGGER) + EVT_CASE_OR_EQ(EVENT_IMMUNE) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_chain_chomp_Palette_00_Anim_1) + EVT_EXEC_WAIT(DoImmune) + EVT_END_CASE_GROUP + EVT_CASE_EQ(EVENT_SHOCK_DEATH) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_chain_chomp_Palette_00_Anim_6) + EVT_EXEC_WAIT(DoShockHit) + EVT_CALL(SetActorVar, ACTOR_SELF, 8, 0) + EVT_WAIT_FRAMES(10) + EVT_CALL(SetActorVar, ACTOR_ENEMY0, 12, 2) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_chain_chomp_Palette_00_Anim_6) + EVT_EXEC_WAIT(DoDeath) + EVT_RETURN + EVT_CASE_EQ(EVENT_DEATH) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_chain_chomp_Palette_00_Anim_6) + EVT_EXEC_WAIT(DoNormalHit) + EVT_WAIT_FRAMES(10) + EVT_CALL(SetActorVar, ACTOR_ENEMY0, 12, 2) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_chain_chomp_Palette_00_Anim_6) + EVT_EXEC_WAIT(DoDeath) + EVT_RETURN + EVT_CASE_EQ(EVENT_SPIN_SMASH_DEATH) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_chain_chomp_Palette_00_Anim_6) + EVT_EXEC_WAIT(N(8021A200)) + EVT_CALL(SetActorVar, ACTOR_ENEMY0, 12, 2) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_chain_chomp_Palette_00_Anim_6) + EVT_EXEC_WAIT(DoDeath) + EVT_RETURN + EVT_CASE_EQ(EVENT_RECOVER_STATUS) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_chain_chomp_Palette_00_Anim_1) + EVT_EXEC_WAIT(DoRecover) + EVT_CASE_DEFAULT + EVT_END_SWITCH + EVT_CALL(GetStatusFlags, ACTOR_SELF, LW(0)) + EVT_IF_FLAG(LW(0), STATUS_FLAG_SLEEP | STATUS_FLAG_PARALYZE | STATUS_FLAG_DIZZY | STATUS_FLAG_STONE) + EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_IF_NE(LW(1), 0) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.8)) + EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), 0, LW(2)) + EVT_CALL(FallToGoal, ACTOR_SELF, 11) + EVT_END_IF + EVT_END_IF + EVT_CALL(EnableIdleScript, ACTOR_SELF, -1) + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_RETURN + EVT_END +}; + +EvtScript N(8021A200) = { + EVT_CALL(ActorExists, ACTOR_ENEMY0, LW(0)) + EVT_IF_EQ(LW(0), FALSE) + EVT_GOTO(1) + EVT_END_IF + EVT_CALL(GetActorVar, ACTOR_ENEMY0, 8, LW(0)) + EVT_IF_EQ(LW(0), 0) + EVT_GOTO(1) + EVT_END_IF + EVT_LABEL(0) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_chain_chomp_Palette_00_Anim_6) + EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_ENEMY0) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), 20, LW(2)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.1)) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(7.0)) + EVT_CALL(JumpToGoal, ACTOR_SELF, 0, FALSE, TRUE, FALSE) + EVT_THREAD + EVT_CALL(ShakeCam, 1, 0, 2, EVT_FLOAT(1.0)) + EVT_END_THREAD + EVT_WAIT_FRAMES(2) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LW(0), DAMAGE_TYPE_IGNORE_DEFENSE, 0, 0, 1, BS_FLAGS1_SP_EVT_ACTIVE) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.1)) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(6.0)) + EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(SetGoalPos, ACTOR_SELF, 150, LW(1), LW(2)) + EVT_CALL(JumpToGoal, ACTOR_SELF, 0, FALSE, TRUE, FALSE) + EVT_THREAD + EVT_CALL(GetStatusFlags, ACTOR_SELF, LW(0)) + EVT_IF_NOT_FLAG(LW(0), STATUS_FLAG_SHRINK) + EVT_CALL(ShakeCam, 1, 0, 1, EVT_FLOAT(0.5)) + EVT_END_IF + EVT_END_THREAD + EVT_SET(LW(1), 0) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.0)) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(6.0)) + EVT_CALL(SetGoalPos, ACTOR_SELF, 130, LW(1), LW(2)) + EVT_CALL(JumpToGoal, ACTOR_SELF, 10, FALSE, TRUE, FALSE) + EVT_THREAD + EVT_CALL(GetStatusFlags, ACTOR_SELF, LW(0)) + EVT_IF_NOT_FLAG(LW(0), STATUS_FLAG_SHRINK) + EVT_CALL(ShakeCam, 1, 0, 1, EVT_FLOAT(0.5)) + EVT_END_IF + EVT_END_THREAD + EVT_CALL(SetActorDispOffset, ACTOR_SELF, 0, 0, 0) + EVT_WAIT_FRAMES(15) + EVT_GOTO(10) + EVT_LABEL(1) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_chain_chomp_Palette_00_Anim_6) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.1)) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(6.0)) + EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(SetGoalPos, ACTOR_SELF, 135, LW(1), LW(2)) + EVT_CALL(JumpToGoal, ACTOR_SELF, 0, FALSE, TRUE, FALSE) + EVT_THREAD + EVT_CALL(GetStatusFlags, ACTOR_SELF, LW(0)) + EVT_IF_NOT_FLAG(LW(0), STATUS_FLAG_SHRINK) + EVT_CALL(ShakeCam, 1, 0, 1, EVT_FLOAT(0.5)) + EVT_END_IF + EVT_END_THREAD + EVT_SET(LW(1), 0) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.0)) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(6.0)) + EVT_CALL(SetGoalPos, ACTOR_SELF, 105, LW(1), LW(2)) + EVT_CALL(JumpToGoal, ACTOR_SELF, 10, FALSE, TRUE, FALSE) + EVT_THREAD + EVT_CALL(GetStatusFlags, ACTOR_SELF, LW(0)) + EVT_IF_NOT_FLAG(LW(0), STATUS_FLAG_SHRINK) + EVT_CALL(ShakeCam, 1, 0, 1, EVT_FLOAT(0.5)) + EVT_END_IF + EVT_END_THREAD + EVT_CALL(SetActorDispOffset, ACTOR_SELF, 0, 0, 0) + EVT_WAIT_FRAMES(15) + EVT_LABEL(10) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_chain_chomp_Palette_00_Anim_1) + EVT_EXEC_WAIT(N(8021B41C)) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_tutankoopa_Palette_00_Anim_1) + EVT_RETURN + EVT_END +}; + +EvtScript N(takeTurn_8021A7C4) = { + EVT_CALL(SetActorVar, ACTOR_SELF, 8, 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_63) + EVT_CALL(BattleCamTargetActor, ACTOR_SELF) + EVT_CALL(func_8024ECF8, -1, 1, 0) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.5)) + EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_SET(LW(1), 0) + EVT_ADD(LW(0), 45) + EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(JumpToGoal, ACTOR_SELF, 15, FALSE, TRUE, FALSE) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x2062) + EVT_THREAD + EVT_CALL(GetStatusFlags, ACTOR_SELF, LW(0)) + EVT_IF_NOT_FLAG(LW(0), STATUS_FLAG_SHRINK) + EVT_CALL(ShakeCam, 1, 0, 1, EVT_FLOAT(0.5)) + EVT_END_IF + EVT_END_THREAD + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_chain_chomp_Palette_00_Anim_5) + EVT_WAIT_FRAMES(15) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x10F) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LW(0), 0, 0, 1, BS_FLAGS1_10) + EVT_SWITCH(LW(0)) + EVT_CASE_OR_EQ(HIT_RESULT_MISS) + EVT_CASE_OR_EQ(HIT_RESULT_LUCKY) + EVT_SET(LW(10), LW(0)) + EVT_CALL(PlaySound, 0x10F) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_chain_chomp_Palette_00_Anim_1) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_SUB(LW(0), 20) + EVT_SET(LW(1), 0) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.8)) + EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(JumpToGoal, ACTOR_SELF, 10, FALSE, TRUE, FALSE) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x2062) + EVT_THREAD + EVT_CALL(GetStatusFlags, ACTOR_SELF, LW(0)) + EVT_IF_NOT_FLAG(LW(0), STATUS_FLAG_SHRINK) + EVT_CALL(ShakeCam, 1, 0, 1, EVT_FLOAT(0.5)) + EVT_END_IF + EVT_END_THREAD + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.8)) + EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_SUB(LW(0), 25) + EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(JumpToGoal, ACTOR_SELF, 6, FALSE, TRUE, FALSE) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x2062) + EVT_THREAD + EVT_CALL(GetStatusFlags, ACTOR_SELF, LW(0)) + EVT_IF_NOT_FLAG(LW(0), STATUS_FLAG_SHRINK) + EVT_CALL(ShakeCam, 1, 0, 1, EVT_FLOAT(0.5)) + EVT_END_IF + EVT_END_THREAD + EVT_SUB(LW(0), 15) + EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(JumpToGoal, ACTOR_SELF, 4, FALSE, TRUE, FALSE) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x2062) + EVT_THREAD + EVT_CALL(GetStatusFlags, ACTOR_SELF, LW(0)) + EVT_IF_NOT_FLAG(LW(0), STATUS_FLAG_SHRINK) + EVT_CALL(ShakeCam, 1, 0, 1, EVT_FLOAT(0.5)) + EVT_END_IF + EVT_END_THREAD + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_chain_chomp_Palette_00_Anim_4) + EVT_WAIT_FRAMES(20) + EVT_IF_EQ(LW(10), HIT_RESULT_LUCKY) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LW(0), DAMAGE_TYPE_TRIGGER_LUCKY, 0, 0, 0) + EVT_END_IF + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(MoveBattleCamOver, 20) + EVT_CALL(SetActorYaw, ACTOR_SELF, 180) + EVT_CALL(AddActorDecoration, ACTOR_SELF, 1, 0, 2) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_chain_chomp_Palette_00_Anim_1) + EVT_EXEC_WAIT(N(8021B41C)) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_chain_chomp_Palette_00_Anim_1) + EVT_CALL(HPBarToHome, ACTOR_SELF) + EVT_CALL(RemoveActorDecoration, ACTOR_SELF, 1, 0) + EVT_CALL(SetActorYaw, ACTOR_SELF, 0) + EVT_CALL(SetActorVar, ACTOR_SELF, 8, 0) + EVT_CALL(EnableIdleScript, ACTOR_SELF, -1) + EVT_RETURN + EVT_END_CASE_GROUP + EVT_END_SWITCH + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_chain_chomp_Palette_00_Anim_1) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LW(10)) + EVT_IF_FLAG(LW(10), STATUS_FLAG_SHRINK) + EVT_ADD(LW(0), 4) + EVT_ELSE + EVT_ADD(LW(0), 10) + EVT_END_IF + EVT_SET(LW(1), 27) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.2)) + EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(JumpToGoal, ACTOR_SELF, 5, FALSE, TRUE, FALSE) + EVT_WAIT_FRAMES(2) + EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(SetPartPos, ACTOR_SELF, 2, LW(0), LW(1), LW(2)) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LW(15), 0, 0, 0, 3, BS_FLAGS1_SP_EVT_ACTIVE) + EVT_SWITCH(LW(15)) + EVT_CASE_DEFAULT + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(MoveBattleCamOver, 20) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_chain_chomp_Palette_00_Anim_4) + EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_ADD(LW(0), 40) + EVT_SET(LW(1), 0) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.8)) + EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(JumpToGoal, ACTOR_SELF, 10, FALSE, TRUE, FALSE) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x2062) + EVT_THREAD + EVT_CALL(GetStatusFlags, ACTOR_SELF, LW(0)) + EVT_IF_NOT_FLAG(LW(0), STATUS_FLAG_SHRINK) + EVT_CALL(ShakeCam, 1, 0, 1, EVT_FLOAT(0.5)) + EVT_END_IF + EVT_END_THREAD + EVT_ADD(LW(0), 30) + EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(JumpToGoal, ACTOR_SELF, 8, FALSE, TRUE, FALSE) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x2062) + EVT_THREAD + EVT_CALL(GetStatusFlags, ACTOR_SELF, LW(0)) + EVT_IF_NOT_FLAG(LW(0), STATUS_FLAG_SHRINK) + EVT_CALL(ShakeCam, 1, 0, 1, EVT_FLOAT(0.5)) + EVT_END_IF + EVT_END_THREAD + EVT_ADD(LW(0), 20) + EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(JumpToGoal, ACTOR_SELF, 6, FALSE, TRUE, FALSE) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x2062) + EVT_THREAD + EVT_CALL(GetStatusFlags, ACTOR_SELF, LW(0)) + EVT_IF_NOT_FLAG(LW(0), STATUS_FLAG_SHRINK) + EVT_CALL(ShakeCam, 1, 0, 1, EVT_FLOAT(0.5)) + EVT_END_IF + EVT_END_THREAD + EVT_SUB(LW(0), 10) + EVT_CALL(JumpToGoal, ACTOR_SELF, 4, FALSE, TRUE, FALSE) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x2062) + EVT_THREAD + EVT_CALL(GetStatusFlags, ACTOR_SELF, LW(0)) + EVT_IF_NOT_FLAG(LW(0), STATUS_FLAG_SHRINK) + EVT_CALL(ShakeCam, 1, 0, 1, EVT_FLOAT(0.5)) + EVT_END_IF + EVT_END_THREAD + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_chain_chomp_Palette_00_Anim_1) + EVT_WAIT_FRAMES(8) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_IF_EQ(LW(15), HIT_RESULT_10) + EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(SetPartPos, ACTOR_SELF, 2, LW(0), LW(1), LW(2)) + EVT_RETURN + EVT_END_IF + EVT_CALL(YieldTurn) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_chain_chomp_Palette_00_Anim_1) + EVT_EXEC_WAIT(N(8021B41C)) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_chain_chomp_Palette_00_Anim_1) + EVT_END_SWITCH + EVT_CALL(SetActorVar, ACTOR_SELF, 8, 0) + EVT_CALL(HPBarToHome, ACTOR_SELF) + EVT_CALL(EnableIdleScript, ACTOR_SELF, -1) + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_RETURN + EVT_END +}; + +EvtScript N(8021B41C) = { + EVT_CALL(SetAnimation, ACTOR_SELF, LW(0), LW(1)) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_chain_chomp_Palette_00_Anim_4) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(4.0)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.8)) + EVT_CALL(SetGoalToHome, ACTOR_SELF) + EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_EXEC_WAIT(N(8021B50C)) + EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(SetPartPos, ACTOR_SELF, 2, LW(0), LW(1), LW(2)) + EVT_CALL(SetActorYaw, ACTOR_SELF, 0) + EVT_RETURN + EVT_END +}; + +EvtScript N(8021B50C) = { + EVT_CALL(GetActorPos, ACTOR_SELF, LW(3), LW(4), LW(5)) + EVT_IF_LT(LW(3), LW(0)) + EVT_CALL(SetActorYaw, ACTOR_SELF, 180) + EVT_ELSE + EVT_CALL(SetActorYaw, ACTOR_SELF, 0) + EVT_END_IF + EVT_LABEL(0) + EVT_CALL(GetActorPos, ACTOR_SELF, LW(3), LW(4), LW(5)) + EVT_IF_EQ(LW(3), LW(0)) + EVT_GOTO(10) + EVT_END_IF + EVT_IF_LT(LW(3), LW(0)) + EVT_SET(LW(4), LW(0)) + EVT_SUB(LW(4), LW(3)) + EVT_IF_LT(LW(4), 30) + EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(JumpToGoal, ACTOR_SELF, 6, FALSE, TRUE, FALSE) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x2062) + EVT_THREAD + EVT_CALL(GetStatusFlags, ACTOR_SELF, LW(0)) + EVT_IF_NOT_FLAG(LW(0), STATUS_FLAG_SHRINK) + EVT_CALL(ShakeCam, 1, 0, 1, EVT_FLOAT(0.5)) + EVT_END_IF + EVT_END_THREAD + EVT_ELSE + EVT_SET(LW(4), LW(3)) + EVT_ADD(LW(3), 30) + EVT_CALL(SetGoalPos, ACTOR_SELF, LW(3), LW(1), LW(2)) + EVT_CALL(JumpToGoal, ACTOR_SELF, 6, FALSE, TRUE, FALSE) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x2062) + EVT_THREAD + EVT_CALL(GetStatusFlags, ACTOR_SELF, LW(0)) + EVT_IF_NOT_FLAG(LW(0), STATUS_FLAG_SHRINK) + EVT_CALL(ShakeCam, 1, 0, 1, EVT_FLOAT(0.5)) + EVT_END_IF + EVT_END_THREAD + EVT_END_IF + EVT_ELSE + EVT_SET(LW(4), LW(3)) + EVT_SUB(LW(4), LW(0)) + EVT_IF_LT(LW(4), 30) + EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(JumpToGoal, ACTOR_SELF, 6, FALSE, TRUE, FALSE) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x2062) + EVT_THREAD + EVT_CALL(GetStatusFlags, ACTOR_SELF, LW(0)) + EVT_IF_NOT_FLAG(LW(0), STATUS_FLAG_SHRINK) + EVT_CALL(ShakeCam, 1, 0, 1, EVT_FLOAT(0.5)) + EVT_END_IF + EVT_END_THREAD + EVT_ELSE + EVT_SUB(LW(3), 30) + EVT_CALL(SetGoalPos, ACTOR_SELF, LW(3), LW(1), LW(2)) + EVT_CALL(JumpToGoal, ACTOR_SELF, 6, FALSE, TRUE, FALSE) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x2062) + EVT_THREAD + EVT_CALL(GetStatusFlags, ACTOR_SELF, LW(0)) + EVT_IF_NOT_FLAG(LW(0), STATUS_FLAG_SHRINK) + EVT_CALL(ShakeCam, 1, 0, 1, EVT_FLOAT(0.5)) + EVT_END_IF + EVT_END_THREAD + EVT_END_IF + EVT_END_IF + EVT_GOTO(0) + EVT_LABEL(10) + EVT_RETURN + EVT_END +}; diff --git a/src/battle/area_isk_part_2/actor/tutankoopa.c b/src/battle/area_isk_part_2/actor/tutankoopa.c new file mode 100644 index 0000000000..68d825ab36 --- /dev/null +++ b/src/battle/area_isk_part_2/actor/tutankoopa.c @@ -0,0 +1,1209 @@ +#include "common.h" +#include "effects.h" +#include "battle/battle.h" +#include "script_api/battle.h" +#include "sprite/npc/tutankoopa.h" +#include "sprite/npc/chain_chomp.h" +#include "sprite/npc/buzzy_beetle.h" + +#define NAMESPACE b_area_isk_part_2_tutankoopa + +extern ActorBlueprint b_area_isk_part_2_chain_chomp; +extern EvtScript N(init_8021BC1C); +extern EvtScript N(takeTurn_8021CCD4); +extern EvtScript N(idle_8021BE28); +extern EvtScript N(handleEvent_8021BFD0); +extern EvtScript N(nextTurn_8021F9C4); +extern EvtScript N(8021C748); +extern EvtScript N(8021C974); +extern EvtScript N(8021D04C); +extern EvtScript N(8021D81C); +extern EvtScript N(8021DDE8); +extern EvtScript N(8021E008); +extern EvtScript N(8021E9C8); +extern EvtScript N(8021F42C); +extern EvtScript N(8021F5E8); +extern EvtScript N(8021F80C); +extern EvtScript N(8021FA54); + +s32 N(idleAnimations_8021B960)[] = { + STATUS_NORMAL, NPC_ANIM_tutankoopa_Palette_00_Anim_1, + STATUS_STONE, NPC_ANIM_tutankoopa_Palette_00_Anim_0, + STATUS_SLEEP, NPC_ANIM_tutankoopa_Palette_00_Anim_C, + STATUS_POISON, NPC_ANIM_tutankoopa_Palette_00_Anim_1, + STATUS_STOP, NPC_ANIM_tutankoopa_Palette_00_Anim_0, + STATUS_STATIC, NPC_ANIM_tutankoopa_Palette_00_Anim_0, + STATUS_PARALYZE, NPC_ANIM_tutankoopa_Palette_00_Anim_0, + STATUS_PARALYZE, NPC_ANIM_tutankoopa_Palette_00_Anim_0, + STATUS_DIZZY, NPC_ANIM_tutankoopa_Palette_00_Anim_A, + STATUS_END, +}; + +s32 N(idleAnimations_8021B9AC)[] = { + STATUS_NORMAL, NPC_ANIM_tutankoopa_Palette_00_Anim_A, + STATUS_STONE, NPC_ANIM_tutankoopa_Palette_00_Anim_7, + STATUS_SLEEP, NPC_ANIM_tutankoopa_Palette_00_Anim_D, + STATUS_POISON, NPC_ANIM_tutankoopa_Palette_00_Anim_A, + STATUS_STOP, NPC_ANIM_tutankoopa_Palette_00_Anim_7, + STATUS_STATIC, NPC_ANIM_tutankoopa_Palette_00_Anim_A, + STATUS_PARALYZE, NPC_ANIM_tutankoopa_Palette_00_Anim_A, + STATUS_PARALYZE, NPC_ANIM_tutankoopa_Palette_00_Anim_A, + STATUS_DIZZY, NPC_ANIM_tutankoopa_Palette_00_Anim_A, + STATUS_END, +}; + +s32 N(idleAnimations_8021B9F8)[] = { + STATUS_NORMAL, NPC_ANIM_buzzy_beetle_Palette_00_Anim_6, + STATUS_END, +}; + +s32 N(idleAnimations_8021BA04)[] = { + STATUS_NORMAL, NPC_ANIM_tutankoopa_Palette_00_Anim_16, + STATUS_END, +}; + +s32 N(idleAnimations_8021BA10)[] = { + STATUS_NORMAL, NPC_ANIM_tutankoopa_Palette_00_Anim_16, + STATUS_END, +}; + +s32 N(defenseTable_8021BA1C)[] = { + ELEMENT_NORMAL, 0, + ELEMENT_END, +}; + +s32 N(statusTable_8021BA28)[] = { + STATUS_NORMAL, 0, + STATUS_DEFAULT, 0, + STATUS_SLEEP, 20, + STATUS_POISON, 0, + STATUS_FROZEN, 0, + STATUS_DIZZY, 30, + STATUS_FEAR, 0, + STATUS_STATIC, 0, + STATUS_PARALYZE, 30, + STATUS_SHRINK, 60, + STATUS_STOP, 40, + 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(partsTable_8021BAD4)[] = { + { + .flags = ACTOR_PART_FLAG_NO_TARGET, + .index = 1, + .posOffset = { 0, 0, 0 }, + .targetOffset = { 0, 40 }, + .opacity = 255, + .idleAnimations = N(idleAnimations_8021B960), + .defenseTable = N(defenseTable_8021BA1C), + .eventFlags = ACTOR_EVENT_FLAG_0, + .elementImmunityFlags = 0, + .unk_1C = 0, + }, + { + .flags = ACTOR_PART_FLAG_INVISIBLE | ACTOR_PART_FLAG_MULTI_TARGET, + .index = 2, + .posOffset = { 0, 0, 0 }, + .targetOffset = { 0, 39 }, + .opacity = 255, + .idleAnimations = N(idleAnimations_8021B960), + .defenseTable = N(defenseTable_8021BA1C), + .eventFlags = ACTOR_EVENT_FLAG_0, + .elementImmunityFlags = 0, + .unk_1C = -1039, + }, + { + .flags = ACTOR_PART_FLAG_NO_TARGET | ACTOR_PART_FLAG_100000 | ACTOR_PART_FLAG_40000000, + .index = 3, + .posOffset = { 0, 0, 0 }, + .targetOffset = { 0, 0 }, + .opacity = 255, + .idleAnimations = N(idleAnimations_8021B9F8), + .defenseTable = NULL, + .eventFlags = ACTOR_EVENT_FLAG_0, + .elementImmunityFlags = 0, + .unk_1C = 0, + }, + { + .flags = ACTOR_PART_FLAG_NO_TARGET | ACTOR_PART_FLAG_100000 | ACTOR_PART_FLAG_40000000, + .index = 4, + .posOffset = { 0, 0, 0 }, + .targetOffset = { 0, 0 }, + .opacity = 255, + .idleAnimations = N(idleAnimations_8021B9F8), + .defenseTable = NULL, + .eventFlags = ACTOR_EVENT_FLAG_0, + .elementImmunityFlags = 0, + .unk_1C = 0, + }, + { + .flags = ACTOR_PART_FLAG_NO_TARGET | ACTOR_PART_FLAG_100000 | ACTOR_PART_FLAG_40000000, + .index = 5, + .posOffset = { 0, 0, 0 }, + .targetOffset = { 0, 0 }, + .opacity = 255, + .idleAnimations = N(idleAnimations_8021B9F8), + .defenseTable = NULL, + .eventFlags = ACTOR_EVENT_FLAG_0, + .elementImmunityFlags = 0, + .unk_1C = 0, + }, + { + .flags = ACTOR_PART_FLAG_INVISIBLE | ACTOR_PART_FLAG_NO_TARGET | ACTOR_PART_FLAG_100000, + .index = 6, + .posOffset = { 0, 0, 0 }, + .targetOffset = { 0, 0 }, + .opacity = 255, + .idleAnimations = N(idleAnimations_8021BA04), + .defenseTable = NULL, + .eventFlags = ACTOR_EVENT_FLAG_0, + .elementImmunityFlags = 0, + .unk_1C = 0, + }, + { + .flags = ACTOR_PART_FLAG_INVISIBLE | ACTOR_PART_FLAG_NO_TARGET | ACTOR_PART_FLAG_100000, + .index = 7, + .posOffset = { 0, 0, 0 }, + .targetOffset = { 0, 0 }, + .opacity = 255, + .idleAnimations = N(idleAnimations_8021BA04), + .defenseTable = NULL, + .eventFlags = ACTOR_EVENT_FLAG_0, + .elementImmunityFlags = 0, + .unk_1C = 0, + }, + { + .flags = ACTOR_PART_FLAG_INVISIBLE | ACTOR_PART_FLAG_NO_TARGET | ACTOR_PART_FLAG_100000, + .index = 8, + .posOffset = { 0, 0, 0 }, + .targetOffset = { 0, 0 }, + .opacity = 255, + .idleAnimations = N(idleAnimations_8021BA10), + .defenseTable = NULL, + .eventFlags = ACTOR_EVENT_FLAG_0, + .elementImmunityFlags = 0, + .unk_1C = 0, + }, +}; + +ActorBlueprint NAMESPACE = { + .flags = 0, + .type = ACTOR_TYPE_TUTANKOOPA, + .level = 55, + .maxHP = 30, + .partCount = ARRAY_COUNT(N(partsTable_8021BAD4)), + .partsData = N(partsTable_8021BAD4), + .script = N(init_8021BC1C), + .statusTable = N(statusTable_8021BA28), + .escapeChance = 0, + .airLiftChance = 0, + .spookChance = 0, + .baseStatusChance = 0, + .upAndAwayChance = 0, + .spinSmashReq = 4, + .powerBounceChance = 70, + .coinReward = 0, + .size = { 56, 45 }, + .hpBarOffset = { 0, 0 }, + .statusIconOffset = { -10, 35 }, + .statusMessageOffset = { 10, 35 }, +}; + +#include "common/UnkBattleFunc1.inc.c" + +ApiStatus func_8021875C_4EFBFC(Evt* script, s32 isInitialCall) { + Bytecode* args = script->ptrReadPos; + s32 var1 = evt_get_variable(script, *args++); + s32 var2 = evt_get_variable(script, *args++); + s32 var3 = evt_get_variable(script, *args++); + EffectInstance* effect = playFX_4C(2, var1, 150.0f, var3, var2, -0.5f, -0.9f, 0.5f, 60); + + ((EffectInstanceData*)effect->data)->unk_30 = 0; + ((EffectInstanceData*)effect->data)->unk_38 = 0; + ((EffectInstanceData*)effect->data)->unk_34 = 0; + return ApiStatus_DONE2; +} + +EvtScript N(init_8021BC1C) = { + EVT_CALL(BindTakeTurn, ACTOR_SELF, EVT_ADDR(N(takeTurn_8021CCD4))) + EVT_CALL(BindIdle, ACTOR_SELF, EVT_ADDR(N(idle_8021BE28))) + EVT_CALL(BindHandleEvent, ACTOR_SELF, EVT_ADDR(N(handleEvent_8021BFD0))) + EVT_CALL(BindNextTurn, ACTOR_SELF, EVT_ADDR(N(nextTurn_8021F9C4))) + EVT_CALL(HPBarToHome, ACTOR_SELF) + EVT_CALL(ForceHomePos, ACTOR_SELF, 97, 70, 15) + EVT_CALL(SetPartPos, ACTOR_SELF, 3, 70, 70, 3) + EVT_CALL(SetPartPos, ACTOR_SELF, 4, 80, 70, -7) + EVT_CALL(SetPartPos, ACTOR_SELF, 5, 60, 70, -7) + EVT_CALL(SetActorVar, ACTOR_SELF, 8, 0) + EVT_CALL(SetActorVar, ACTOR_SELF, 0, 0) + EVT_CALL(SetActorVar, ACTOR_SELF, 1, 0) + EVT_CALL(SetActorVar, ACTOR_SELF, 3, 0) + EVT_CALL(SetActorVar, ACTOR_SELF, 4, 0) + EVT_CALL(SetActorVar, ACTOR_SELF, 2, 3) + EVT_CALL(SetActorVar, ACTOR_SELF, 6, 0) + EVT_CALL(SetActorVar, ACTOR_SELF, 7, 0) + EVT_CALL(SetActorVar, ACTOR_SELF, 10, 0) + EVT_CALL(SetActorVar, ACTOR_SELF, 11, 0) + EVT_CALL(SetActorVar, ACTOR_SELF, 12, 0) + EVT_CALL(SetActorVar, ACTOR_SELF, 13, 0) + EVT_RETURN + EVT_END +}; + +EvtScript N(idle_8021BE28) = { + EVT_LABEL(0) + EVT_CALL(GetActorVar, ACTOR_SELF, 8, LW(0)) + EVT_SWITCH(LW(0)) + EVT_CASE_EQ(0) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LW(0)) + EVT_IF_FLAG(LW(0), STATUS_FLAG_DIZZY) + EVT_CALL(SetTargetOffset, ACTOR_SELF, 2, -10, 22) + EVT_CALL(func_8027D4C8, ACTOR_SELF, 2, 2, -8) + EVT_CALL(N(UnkBattleFunc1), -25, 15, 0, 20) + EVT_ELSE + EVT_CALL(SetTargetOffset, ACTOR_SELF, 2, 0, 39) + EVT_CALL(func_8027D4C8, ACTOR_SELF, 2, -5, -15) + EVT_CALL(N(UnkBattleFunc1), -17, 23, 11, 32) + EVT_END_IF + EVT_CASE_EQ(1) + EVT_CALL(SetTargetOffset, ACTOR_SELF, 2, -10, 22) + EVT_CALL(func_8027D4C8, ACTOR_SELF, 2, 2, -8) + EVT_CALL(N(UnkBattleFunc1), -25, 15, 0, 20) + EVT_END_SWITCH + EVT_WAIT_FRAMES(1) + EVT_GOTO(0) + EVT_RETURN + EVT_END +}; + +EvtScript N(handleEvent_8021BFD0) = { + EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE) + EVT_CALL(EnableIdleScript, ACTOR_SELF, 0) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.0), EVT_FLOAT(1.0), EVT_FLOAT(1.0)) + EVT_CALL(GetLastElement, LW(14)) + EVT_CALL(GetLastEvent, ACTOR_SELF, LW(0)) + EVT_SWITCH(LW(0)) + EVT_CASE_EQ(EVENT_HIT_COMBO) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_tutankoopa_Palette_00_Anim_6) + EVT_EXEC_WAIT(DoNormalHit) + EVT_CASE_EQ(EVENT_HIT) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_tutankoopa_Palette_00_Anim_6) + EVT_EXEC_WAIT(DoNormalHit) + EVT_CALL(GetActorVar, ACTOR_SELF, 13, LW(2)) + EVT_IF_NE(LW(2), 0) + EVT_CALL(SetActorVar, ACTOR_SELF, 13, 0) + EVT_EXEC_WAIT(N(8021C974)) + EVT_END_IF + EVT_CASE_EQ(EVENT_BEGIN_FIRST_STRIKE) + EVT_CASE_EQ(EVENT_BURN_HIT) + EVT_SET(LW(0), 1) + EVT_SET(LW(1), 6815762) + EVT_SET(LW(2), 6815763) + EVT_EXEC_WAIT(DoBurnHit) + EVT_CASE_EQ(EVENT_BURN_DEATH) + EVT_SET(LW(0), 1) + EVT_SET(LW(1), 6815762) + EVT_SET(LW(2), 6815763) + EVT_EXEC_WAIT(DoBurnHit) + EVT_WAIT_FRAMES(10) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_tutankoopa_Palette_00_Anim_13) + EVT_EXEC_WAIT(N(8021FA54)) + EVT_RETURN + EVT_CASE_EQ(EVENT_SPIN_SMASH_HIT) + EVT_EXEC_WAIT(N(8021C748)) + EVT_CASE_EQ(EVENT_SHOCK_HIT) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_tutankoopa_Palette_00_Anim_E) + EVT_EXEC_WAIT(DoShockHit) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_tutankoopa_Palette_00_Anim_6) + EVT_EXEC_WAIT(DoJumpBack) + EVT_CALL(JumpToGoal, ACTOR_SELF, 5, FALSE, TRUE, FALSE) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_tutankoopa_Palette_00_Anim_2) + EVT_EXEC_WAIT(DoReturnHome) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.6)) + EVT_CALL(JumpToGoal, ACTOR_SELF, 5, FALSE, TRUE, FALSE) + EVT_CASE_OR_EQ(EVENT_UNKNOWN_TRIGGER) + EVT_CASE_OR_EQ(EVENT_IMMUNE) + EVT_CASE_OR_EQ(EVENT_AIR_LIFT_FAILED) + EVT_SET_CONST(LW(0), 1) + EVT_CALL(GetActorVar, ACTOR_SELF, 8, LW(1)) + EVT_IF_EQ(LW(1), 1) + EVT_CALL(GetActorVar, ACTOR_SELF, 1, LW(1)) + EVT_IF_NE(LW(1), 0) + EVT_SET_CONST(LW(1), NPC_ANIM_tutankoopa_Palette_00_Anim_A) + EVT_ELSE + EVT_SET_CONST(LW(1), NPC_ANIM_tutankoopa_Palette_00_Anim_1) + EVT_END_IF + EVT_ELSE + EVT_SET_CONST(LW(1), NPC_ANIM_tutankoopa_Palette_00_Anim_1) + EVT_END_IF + EVT_EXEC_WAIT(DoImmune) + EVT_END_CASE_GROUP + EVT_CASE_EQ(EVENT_SPIKE_TAUNT) + EVT_CALL(GetActorVar, ACTOR_SELF, 1, LW(1)) + EVT_IF_EQ(LW(1), 0) + EVT_IF_FLAG(LW(14), DAMAGE_TYPE_JUMP) + EVT_CALL(GetActorVar, ACTOR_SELF, 11, LW(0)) + EVT_IF_EQ(LW(0), 0) + EVT_CALL(SetActorVar, ACTOR_SELF, 11, 1) + EVT_WAIT_FRAMES(60) + EVT_END_IF + EVT_END_IF + EVT_END_IF + EVT_CASE_OR_EQ(EVENT_SHOCK_DEATH) + EVT_CASE_OR_EQ(EVENT_DEATH) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_tutankoopa_Palette_00_Anim_6) + EVT_EXEC_WAIT(DoNormalHit) + EVT_WAIT_FRAMES(10) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_tutankoopa_Palette_00_Anim_6) + EVT_EXEC_WAIT(N(8021FA54)) + EVT_RETURN + EVT_END_CASE_GROUP + EVT_CASE_EQ(EVENT_SPIN_SMASH_DEATH) + EVT_EXEC_WAIT(N(8021C748)) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_tutankoopa_Palette_00_Anim_6) + EVT_EXEC_WAIT(N(8021FA54)) + EVT_RETURN + EVT_CASE_EQ(EVENT_SPIKE_CONTACT) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_tutankoopa_Palette_00_Anim_6) + EVT_WAIT_FRAMES(20) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_tutankoopa_Palette_00_Anim_2) + EVT_CALL(SetGoalToHome, ACTOR_SELF) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(6.0)) + EVT_CALL(RunToGoal, ACTOR_SELF, 0, FALSE) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_tutankoopa_Palette_00_Anim_1) + EVT_CASE_EQ(EVENT_BURN_CONTACT) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_tutankoopa_Palette_00_Anim_6) + EVT_WAIT_FRAMES(20) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_tutankoopa_Palette_00_Anim_2) + EVT_CALL(SetGoalToHome, ACTOR_SELF) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(6.0)) + EVT_CALL(RunToGoal, ACTOR_SELF, 0, FALSE) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_tutankoopa_Palette_00_Anim_1) + EVT_CASE_EQ(EVENT_END_FIRST_STRIKE) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_tutankoopa_Palette_00_Anim_1) + EVT_EXEC_WAIT(DoReturnHome) + EVT_CALL(HPBarToHome, ACTOR_SELF) + EVT_CASE_EQ(EVENT_RECOVER_STATUS) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_tutankoopa_Palette_00_Anim_1) + EVT_EXEC_WAIT(DoRecover) + EVT_CASE_DEFAULT + EVT_END_SWITCH + EVT_CALL(EnableIdleScript, ACTOR_SELF, 1) + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_RETURN + EVT_END +}; + +EvtScript N(8021C748) = { + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_tutankoopa_Palette_00_Anim_6) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.1)) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(6.0)) + EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_ADD(LW(1), 20) + EVT_CALL(SetGoalPos, ACTOR_SELF, 150, LW(1), LW(2)) + EVT_CALL(JumpToGoal, ACTOR_SELF, 0, FALSE, TRUE, FALSE) + EVT_SUB(LW(1), 20) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.1)) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(6.0)) + EVT_CALL(SetGoalPos, ACTOR_SELF, 130, LW(1), LW(2)) + EVT_CALL(JumpToGoal, ACTOR_SELF, 5, FALSE, TRUE, FALSE) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_tutankoopa_Palette_00_Anim_7) + EVT_WAIT_FRAMES(15) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_tutankoopa_Palette_00_Anim_8) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.0)) + EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(JumpToGoal, ACTOR_SELF, 8, FALSE, TRUE, FALSE) + EVT_CALL(SetGoalToHome, ACTOR_SELF) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_tutankoopa_Palette_00_Anim_2) + EVT_CALL(RunToGoal, ACTOR_SELF, 10, FALSE) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_tutankoopa_Palette_00_Anim_1) + EVT_RETURN + EVT_END +}; + +EvtScript N(8021C974) = { + EVT_CALL(GetActorVar, ACTOR_SELF, 8, LW(0)) + EVT_IF_EQ(LW(0), 1) + EVT_RETURN + EVT_END_IF + EVT_CALL(func_8027D32C, ACTOR_SELF) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x20E3) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_tutankoopa_Palette_00_Anim_6) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.9)) + EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_ADD(LW(0), 10) + EVT_SET(LW(1), 0) + EVT_ADD(LW(2), 24) + EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(JumpToGoal, ACTOR_SELF, 16, FALSE, TRUE, FALSE) + EVT_THREAD + EVT_CALL(SetPartScale, ACTOR_SELF, 1, EVT_FLOAT(1.1), EVT_FLOAT(0.5), EVT_FLOAT(1.0)) + EVT_WAIT_FRAMES(1) + EVT_CALL(SetPartScale, ACTOR_SELF, 1, EVT_FLOAT(1.0), EVT_FLOAT(0.7), EVT_FLOAT(1.0)) + EVT_WAIT_FRAMES(1) + EVT_CALL(SetPartScale, ACTOR_SELF, 1, EVT_FLOAT(1.0), EVT_FLOAT(1.0), EVT_FLOAT(1.0)) + EVT_END_THREAD + EVT_CALL(StartRumble, 1) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x20E4) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_tutankoopa_Palette_00_Anim_7) + EVT_CALL(ShakeCam, 1, 0, 5, EVT_FLOAT(3.0)) + EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_ADD(LW(1), 40) + EVT_CALL(PlayEffect, EFFECT_ID_2F, 0, LW(0), LW(1), LW(2), 20, 4, LW(15), 0, 0, 0, 0, 0, 0) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_tutankoopa_Palette_00_Anim_A) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x20E5) + EVT_WAIT_FRAMES(30) + EVT_CALL(RemoveEffect, LW(15)) + EVT_CALL(SetActorVar, ACTOR_SELF, 8, 1) + EVT_CALL(SetActorVar, ACTOR_SELF, 7, 0) + EVT_CALL(SetActorVar, ACTOR_SELF, 1, 2) + EVT_CALL(SetIdleAnimations, ACTOR_SELF, 1, EVT_ADDR(N(idleAnimations_8021B9AC))) + EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(ForceHomePos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(HPBarToHome, ACTOR_SELF) + EVT_RETURN + EVT_END +}; + +EvtScript N(takeTurn_8021CCD4) = { + EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE) + EVT_CALL(EnableIdleScript, ACTOR_SELF, 0) + EVT_LABEL(0) + EVT_CALL(GetActorVar, ACTOR_SELF, 8, LW(0)) + EVT_IF_EQ(LW(0), 0) + EVT_CALL(ActorExists, ACTOR_ENEMY1, LW(0)) + EVT_IF_EQ(LW(0), FALSE) + EVT_CALL(GetActorVar, ACTOR_SELF, 12, LW(0)) + EVT_IF_EQ(LW(0), 0) + EVT_EXEC_WAIT(N(8021E9C8)) + EVT_CALL(EnableIdleScript, ACTOR_SELF, 1) + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_RETURN + EVT_ELSE + EVT_SUB(LW(0), 1) + EVT_CALL(SetActorVar, ACTOR_SELF, 12, LW(0)) + EVT_END_IF + EVT_END_IF + EVT_CALL(GetStatusFlags, ACTOR_SELF, LW(0)) + EVT_IF_FLAG(LW(0), STATUS_FLAG_SHRINK) + EVT_CALL(SetActorVar, ACTOR_SELF, 0, 1) + EVT_END_IF + EVT_CALL(GetActorVar, ACTOR_SELF, 0, LW(0)) + EVT_SWITCH(LW(0)) + EVT_CASE_EQ(0) + EVT_CALL(GetActorVar, ACTOR_SELF, 2, LW(0)) + EVT_IF_EQ(LW(0), 0) + EVT_EXEC_WAIT(N(8021D81C)) + EVT_CALL(SetActorVar, ACTOR_SELF, 0, 1) + EVT_ELSE + EVT_CALL(GetStatusFlags, ACTOR_SELF, LW(0)) + EVT_IF_NOT_FLAG(LW(0), STATUS_FLAG_SHRINK) + EVT_EXEC_WAIT(N(8021D04C)) + EVT_CALL(SetActorVar, ACTOR_SELF, 0, 1) + EVT_ELSE + EVT_EXEC_WAIT(N(8021D81C)) + EVT_CALL(SetActorVar, ACTOR_SELF, 0, 0) + EVT_END_IF + EVT_END_IF + EVT_CASE_DEFAULT + EVT_CALL(SetActorVar, ACTOR_SELF, 0, 0) + EVT_EXEC_WAIT(N(8021D81C)) + EVT_END_SWITCH + EVT_CALL(EnableIdleScript, ACTOR_SELF, 1) + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_RETURN + EVT_ELSE + EVT_CALL(SetActorVar, ACTOR_SELF, 7, 0) + EVT_CALL(SetActorVar, ACTOR_SELF, 1, 0) + EVT_EXEC_WAIT(N(8021F80C)) + EVT_EXEC_WAIT(N(8021F5E8)) + EVT_GOTO(0) + EVT_END_IF + EVT_CALL(EnableIdleScript, ACTOR_SELF, 1) + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_RETURN + EVT_RETURN + EVT_END +}; + +EvtScript N(8021D04C) = { + EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER) + EVT_CALL(GetActorVar, ACTOR_SELF, 2, LW(0)) + EVT_SWITCH(LW(0)) + EVT_CASE_EQ(1) + EVT_SET(LW(9), 5) + EVT_CASE_EQ(2) + EVT_SET(LW(9), 4) + EVT_CASE_EQ(3) + EVT_SET(LW(9), 3) + EVT_CASE_DEFAULT + EVT_RETURN + EVT_END_SWITCH + EVT_SUB(LW(0), 1) + EVT_CALL(SetActorVar, ACTOR_SELF, 2, LW(0)) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_15) + EVT_CALL(SetBattleCamZoom, 320) + EVT_CALL(SetBattleCamOffsetZ, 0) + EVT_CALL(func_8024EB84, ACTOR_SELF, LW(9)) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_tutankoopa_Palette_00_Anim_2) + EVT_CALL(GetPartOffset, ACTOR_SELF, LW(9), LW(0), LW(1), LW(2)) + EVT_ADD(LW(0), 20) + EVT_SUB(LW(2), 3) + EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(RunToGoal, ACTOR_SELF, 10, FALSE) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_tutankoopa_Palette_00_Anim_1) + EVT_WAIT_FRAMES(10) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_tutankoopa_Palette_00_Anim_4) + EVT_WAIT_FRAMES(7) + EVT_CALL(GetPartOffset, ACTOR_SELF, LW(9), LW(0), LW(1), LW(2)) + EVT_ADD(LW(0), 20) + EVT_ADD(LW(1), 40) + EVT_CALL(SetPartJumpGravity, ACTOR_SELF, LW(9), EVT_FLOAT(0.8)) + EVT_CALL(JumpPartTo, ACTOR_SELF, LW(9), LW(0), LW(1), LW(2), 5, 1) + EVT_WAIT_FRAMES(8) + EVT_CALL(SetAnimation, ACTOR_SELF, LW(9), 0x330005) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x2F9) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LW(10), 0, 0, 1, BS_FLAGS1_10) + EVT_SWITCH(LW(10)) + EVT_CASE_OR_EQ(HIT_RESULT_MISS) + EVT_CASE_OR_EQ(HIT_RESULT_LUCKY) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_tutankoopa_Palette_00_Anim_5) + EVT_CALL(SetPartMoveSpeed, ACTOR_SELF, LW(9), EVT_FLOAT(14.0)) + EVT_CALL(SetPartJumpGravity, ACTOR_SELF, LW(9), EVT_FLOAT(0.2)) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_SUB(LW(0), 50) + EVT_SET(LW(1), -5) + EVT_CALL(FlyPartTo, ACTOR_SELF, LW(9), LW(0), LW(1), LW(2), 0, 30, 0) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(GetActorPos, ACTOR_PLAYER, LW(0), LW(1), LW(2)) + EVT_SUB(LW(0), 65) + EVT_SET(LW(1), -5) + EVT_CALL(SetPartMoveSpeed, ACTOR_SELF, LW(9), EVT_FLOAT(6.0)) + EVT_CALL(SetPartJumpGravity, ACTOR_SELF, LW(9), EVT_FLOAT(0.1)) + EVT_CALL(FlyPartTo, ACTOR_SELF, LW(9), LW(0), LW(1), LW(2), 0, 15, 0) + EVT_CALL(SetPartFlagBits, ACTOR_SELF, LW(9), ACTOR_PART_FLAG_INVISIBLE, 1) + EVT_IF_EQ(LW(10), HIT_RESULT_LUCKY) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LW(0), DAMAGE_TYPE_TRIGGER_LUCKY, 0, 0, 0) + EVT_END_IF + EVT_CALL(SetGoalToHome, ACTOR_SELF) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_tutankoopa_Palette_00_Anim_2) + EVT_CALL(RunToGoal, ACTOR_SELF, 10, FALSE) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_tutankoopa_Palette_00_Anim_1) + EVT_RETURN + EVT_END_SWITCH + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_tutankoopa_Palette_00_Anim_5) + EVT_CALL(SetPartMoveSpeed, ACTOR_SELF, LW(9), EVT_FLOAT(14.0)) + EVT_CALL(SetPartJumpGravity, ACTOR_SELF, LW(9), EVT_FLOAT(0.2)) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(SetPartJumpGravity, ACTOR_SELF, LW(9), EVT_FLOAT(0.2)) + EVT_CALL(FlyPartTo, ACTOR_SELF, LW(9), LW(0), LW(1), LW(2), 0, 30, 0) + EVT_WAIT_FRAMES(2) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LW(8), DAMAGE_TYPE_NO_CONTACT, 0, 0, 3, BS_FLAGS1_SP_EVT_ACTIVE) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(GetActorPos, ACTOR_PLAYER, LW(0), LW(1), LW(2)) + EVT_SUB(LW(0), 55) + EVT_SET(LW(1), 0) + EVT_CALL(SetPartMoveSpeed, ACTOR_SELF, LW(9), EVT_FLOAT(6.0)) + EVT_CALL(SetPartJumpGravity, ACTOR_SELF, LW(9), EVT_FLOAT(0.1)) + EVT_CALL(FlyPartTo, ACTOR_SELF, LW(9), LW(0), LW(1), LW(2), 0, 25, 0) + EVT_CALL(SetPartMoveSpeed, ACTOR_SELF, LW(9), EVT_FLOAT(4.0)) + EVT_SUB(LW(0), 20) + EVT_CALL(FlyPartTo, ACTOR_SELF, LW(9), LW(0), LW(1), LW(2), 0, 21, 0) + EVT_CALL(SetPartFlagBits, ACTOR_SELF, LW(9), ACTOR_PART_FLAG_INVISIBLE, 1) + EVT_WAIT_FRAMES(19) + EVT_IF_EQ(LW(8), HIT_RESULT_10) + EVT_RETURN + EVT_END_IF + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(YieldTurn) + EVT_CALL(SetGoalToHome, ACTOR_SELF) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_tutankoopa_Palette_00_Anim_2) + EVT_CALL(RunToGoal, ACTOR_SELF, 10, FALSE) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_tutankoopa_Palette_00_Anim_1) + EVT_RETURN + EVT_END +}; + +EvtScript N(8021D81C) = { + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_15) + EVT_CALL(SetBattleCamZoom, 350) + EVT_CALL(SetBattleCamOffsetZ, 0) + EVT_CALL(BattleCamTargetActor, ACTOR_SELF) + EVT_CALL(MoveBattleCamOver, 40) + EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(GetActorVar, ACTOR_SELF, 6, LW(0)) + EVT_IF_EQ(LW(0), 0) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_13) + EVT_CALL(BattleCamTargetActor, ACTOR_SELF) + EVT_CALL(MoveBattleCamOver, 20) + EVT_WAIT_FRAMES(20) + EVT_CALL(ActorSpeak, MESSAGE_ID(0x0D, 0x00E5), ACTOR_SELF, 1, NPC_ANIM_tutankoopa_Palette_00_Anim_3, NPC_ANIM_tutankoopa_Palette_00_Anim_3) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_END_IF + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x20E1) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_tutankoopa_Palette_00_Anim_3) + EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_ADD(LW(1), 20) + EVT_CALL(PlayEffect, EFFECT_ID_71, 0, LW(0), LW(1), LW(2), EVT_FLOAT(1.0), 45, 0, 0, 0, 0, 0, 0, 0) + EVT_WAIT_FRAMES(30) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(MoveBattleCamOver, 70) + EVT_CALL(PlaySound, 0x20E7) + EVT_CALL(PlayEffect, EFFECT_ID_4D, 0, 0, 60, 0, EVT_FLOAT(0.2), 0, EVT_FLOAT(1.4), 255, EVT_FLOAT(0.1), 150, 0, 0, 0) + EVT_WAIT_FRAMES(15) + EVT_CALL(GetStatusFlags, ACTOR_PLAYER, LW(0)) + EVT_IF_NOT_FLAG(LW(0), STATUS_FLAG_SLEEP | STATUS_FLAG_FROZEN | STATUS_FLAG_FEAR | STATUS_FLAG_PARALYZE | STATUS_FLAG_DIZZY | STATUS_FLAG_STONE | STATUS_FLAG_STOP | STATUS_FLAG_TRANSPARENT) + EVT_CALL(UseIdleAnimation, ACTOR_PLAYER, FALSE) + EVT_CALL(SetAnimation, ACTOR_PLAYER, 0, ANIM_1002B) + EVT_WAIT_FRAMES(49) + EVT_CALL(PlaySound, 0x20E9) + EVT_WAIT_FRAMES(5) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_tutankoopa_Palette_00_Anim_5) + EVT_WAIT_FRAMES(8) + EVT_CALL(SetAnimation, ACTOR_PLAYER, 0, ANIM_CROUCH) + EVT_WAIT_FRAMES(5) + EVT_CALL(StartRumble, 10) + EVT_CALL(PlaySound, 0x20EA) + EVT_CALL(ShakeCam, 1, 0, 5, EVT_FLOAT(4.0)) + EVT_WAIT_FRAMES(20) + EVT_CALL(SetAnimation, ACTOR_PLAYER, 0, ANIM_QUESTION) + EVT_CALL(GetActorPos, ACTOR_PLAYER, LW(0), LW(1), LW(2)) + EVT_ADD(LW(1), 20) + EVT_CALL(PlayEffect, EFFECT_ID_10, 2, 0, LW(0), LW(1), LW(2), 20, 315, 30, 0, 0, 0, 0, 0) + EVT_CALL(PlaySound, 0x20E8) + EVT_ELSE + EVT_WAIT_FRAMES(50) + EVT_CALL(PlaySound, 0x20E9) + EVT_WAIT_FRAMES(18) + EVT_CALL(StartRumble, 10) + EVT_CALL(PlaySound, 0x20EA) + EVT_WAIT_FRAMES(20) + EVT_CALL(PlaySound, 0x20E8) + EVT_END_IF + EVT_CALL(GetActorVar, ACTOR_SELF, 6, LW(0)) + EVT_SWITCH(LW(0)) + EVT_CASE_EQ(0) + EVT_CALL(SetActorVar, ACTOR_SELF, 6, 1) + EVT_EXEC_WAIT(N(8021E008)) + EVT_CASE_EQ(1) + EVT_CALL(GetActorHP, ACTOR_SELF, LW(0)) + EVT_CALL(SetActorVar, ACTOR_SELF, 6, 2) + EVT_IF_GT(LW(0), 2) + EVT_EXEC_WAIT(N(8021DDE8)) + EVT_ELSE + EVT_EXEC_WAIT(N(8021E008)) + EVT_END_IF + EVT_CASE_DEFAULT + EVT_CALL(RandInt, 2, LW(0)) + EVT_IF_EQ(LW(0), 0) + EVT_CALL(GetActorHP, ACTOR_SELF, LW(0)) + EVT_IF_GT(LW(0), 2) + EVT_EXEC_WAIT(N(8021DDE8)) + EVT_ELSE + EVT_EXEC_WAIT(N(8021E008)) + EVT_END_IF + EVT_ELSE + EVT_EXEC_WAIT(N(8021E008)) + EVT_END_IF + EVT_END_SWITCH + EVT_RETURN + EVT_END +}; + +EvtScript N(8021DDE8) = { + EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_ENEMY0) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_SET(LW(3), 170) + EVT_CALL(SetPartPos, ACTOR_SELF, 8, LW(0), LW(3), LW(2)) + EVT_CALL(SetPartFlagBits, ACTOR_SELF, 8, ACTOR_PART_FLAG_INVISIBLE, 0) + EVT_CALL(SetAnimation, ACTOR_SELF, 8, NPC_ANIM_tutankoopa_Palette_00_Anim_16) + EVT_CALL(PlaySound, 0x20EB) + EVT_CALL(SetPartMoveSpeed, ACTOR_SELF, 8, EVT_FLOAT(8.0)) + EVT_CALL(SetPartJumpGravity, ACTOR_SELF, 8, EVT_FLOAT(0.3)) + EVT_CALL(FallPartTo, ACTOR_SELF, 8, LW(0), LW(1), LW(2), 20) + EVT_THREAD + EVT_LOOP(20) + EVT_CALL(SetPartFlagBits, ACTOR_SELF, 8, ACTOR_PART_FLAG_INVISIBLE, 0) + EVT_WAIT_FRAMES(1) + EVT_CALL(SetPartFlagBits, ACTOR_SELF, 8, ACTOR_PART_FLAG_INVISIBLE, 1) + EVT_WAIT_FRAMES(1) + EVT_END_LOOP + EVT_END_THREAD + EVT_CALL(GetStatusFlags, ACTOR_PLAYER, LW(0)) + EVT_IF_NOT_FLAG(LW(0), 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_PLAYER, 0, ANIM_THUMBS_UP) + EVT_END_IF + EVT_CALL(SetActorVar, ACTOR_SELF, 13, 1) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LW(0), DAMAGE_TYPE_IGNORE_DEFENSE, 0, 0, 2, BS_FLAGS1_SP_EVT_ACTIVE) + EVT_RETURN + EVT_END +}; + +EvtScript N(8021E008) = { + EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LW(10), 0, 0, 1, BS_FLAGS1_10) + EVT_SWITCH(LW(10)) + EVT_CASE_OR_EQ(HIT_RESULT_MISS) + EVT_CASE_OR_EQ(HIT_RESULT_LUCKY) + EVT_THREAD + EVT_LOOP(6) + EVT_CALL(RandInt, 120, LW(0)) + EVT_SUB(LW(0), 150) + EVT_CALL(RandInt, 90, LW(1)) + EVT_SUB(LW(0), 40) + EVT_CALL(PlaySound, 0x20EB) + EVT_CALL(func_8021875C_4EFBFC, LW(0), 0, LW(1)) + EVT_CALL(RandInt, 5, LW(0)) + EVT_ADD(LW(0), 5) + EVT_WAIT_FRAMES(LW(0)) + EVT_END_LOOP + EVT_END_THREAD + EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PARTNER) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LW(11), 0, 0, 1, BS_FLAGS1_10) + EVT_SWITCH(LW(11)) + EVT_CASE_EQ(HIT_RESULT_MISS) + EVT_RETURN + EVT_CASE_DEFAULT + EVT_CALL(func_8026BF48, 1) + EVT_THREAD + EVT_CALL(PlaySound, 0x20EB) + EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_SUB(LW(0), 5) + EVT_SET(LW(1), 0) + EVT_SET(LW(3), 170) + EVT_CALL(SetPartPos, ACTOR_SELF, 6, LW(0), LW(3), LW(2)) + EVT_CALL(SetPartFlagBits, ACTOR_SELF, 6, ACTOR_PART_FLAG_INVISIBLE, 0) + EVT_CALL(SetAnimation, ACTOR_SELF, 6, NPC_ANIM_tutankoopa_Palette_00_Anim_16) + EVT_CALL(SetPartMoveSpeed, ACTOR_SELF, 6, EVT_FLOAT(8.0)) + EVT_CALL(SetPartJumpGravity, ACTOR_SELF, 6, EVT_FLOAT(0.3)) + EVT_CALL(FallPartTo, ACTOR_SELF, 6, LW(0), LW(1), LW(2), 20) + EVT_CALL(SetAnimation, ACTOR_SELF, 6, NPC_ANIM_tutankoopa_Palette_00_Anim_17) + EVT_IF_EQ(LW(10), HIT_RESULT_LUCKY) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LW(0), DAMAGE_TYPE_TRIGGER_LUCKY, 0, 0, 0) + EVT_END_IF + EVT_END_THREAD + EVT_WAIT_FRAMES(25) + EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PARTNER) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(GetGoalPos, ACTOR_SELF, LW(4), LW(5), LW(6)) + EVT_SUB(LW(4), 5) + EVT_ADD(LW(5), 5) + EVT_SET(LW(7), 170) + EVT_CALL(SetPartPos, ACTOR_SELF, 7, LW(4), LW(7), LW(6)) + EVT_CALL(SetPartFlagBits, ACTOR_SELF, 7, ACTOR_PART_FLAG_INVISIBLE, 0) + EVT_CALL(SetAnimation, ACTOR_SELF, 7, NPC_ANIM_tutankoopa_Palette_00_Anim_16) + EVT_CALL(PlaySound, 0x20EB) + EVT_CALL(SetPartMoveSpeed, ACTOR_SELF, 7, EVT_FLOAT(8.0)) + EVT_CALL(SetPartJumpGravity, ACTOR_SELF, 7, EVT_FLOAT(0.3)) + EVT_CALL(FallPartTo, ACTOR_SELF, 7, LW(4), LW(5), LW(6), 20) + EVT_CALL(SetAnimation, ACTOR_SELF, 6, NPC_ANIM_tutankoopa_Palette_00_Anim_17) + EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PARTNER) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LW(0), DAMAGE_TYPE_NO_CONTACT, 0, 0, 2, BS_FLAGS1_SP_EVT_ACTIVE) + EVT_WAIT_FRAMES(20) + EVT_CALL(SetPartFlagBits, ACTOR_SELF, 7, ACTOR_PART_FLAG_INVISIBLE, 1) + EVT_CALL(func_8026BF48, 0) + EVT_RETURN + EVT_END_SWITCH + EVT_RETURN + EVT_END_CASE_GROUP + EVT_END_SWITCH + EVT_THREAD + EVT_LOOP(6) + EVT_CALL(RandInt, 120, LW(0)) + EVT_SUB(LW(0), 150) + EVT_CALL(RandInt, 90, LW(1)) + EVT_SUB(LW(0), 40) + EVT_CALL(PlaySound, 0x20EB) + EVT_CALL(func_8021875C_4EFBFC, LW(0), 0, LW(1)) + EVT_CALL(RandInt, 5, LW(0)) + EVT_ADD(LW(0), 5) + EVT_WAIT_FRAMES(LW(0)) + EVT_END_LOOP + EVT_END_THREAD + EVT_CALL(func_8026BF48, 1) + EVT_THREAD + EVT_WAIT_FRAMES(25) + EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PARTNER) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(GetGoalPos, ACTOR_SELF, LW(4), LW(5), LW(6)) + EVT_SUB(LW(4), 5) + EVT_ADD(LW(5), 5) + EVT_SET(LW(7), 170) + EVT_CALL(SetPartPos, ACTOR_SELF, 7, LW(4), LW(7), LW(6)) + EVT_CALL(SetPartFlagBits, ACTOR_SELF, 7, ACTOR_PART_FLAG_INVISIBLE, 0) + EVT_CALL(SetAnimation, ACTOR_SELF, 7, NPC_ANIM_tutankoopa_Palette_00_Anim_16) + EVT_CALL(PlaySound, 0x20EB) + EVT_CALL(SetPartMoveSpeed, ACTOR_SELF, 7, EVT_FLOAT(8.0)) + EVT_CALL(SetPartJumpGravity, ACTOR_SELF, 7, EVT_FLOAT(0.3)) + EVT_CALL(FallPartTo, ACTOR_SELF, 7, LW(4), LW(5), LW(6), 20) + EVT_CALL(SetAnimation, ACTOR_SELF, 6, NPC_ANIM_tutankoopa_Palette_00_Anim_17) + EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PARTNER) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LW(0), DAMAGE_TYPE_NO_CONTACT, 0, 0, 2, BS_FLAGS1_SP_EVT_ACTIVE) + EVT_WAIT_FRAMES(20) + EVT_CALL(SetPartFlagBits, ACTOR_SELF, 7, ACTOR_PART_FLAG_INVISIBLE, 1) + EVT_CALL(func_8026BF48, 0) + EVT_END_THREAD + EVT_CALL(PlaySound, 0x20EB) + EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_SUB(LW(0), 5) + EVT_ADD(LW(1), 5) + EVT_SET(LW(3), 170) + EVT_CALL(SetPartPos, ACTOR_SELF, 6, LW(0), LW(3), LW(2)) + EVT_CALL(SetPartFlagBits, ACTOR_SELF, 6, ACTOR_PART_FLAG_INVISIBLE, 0) + EVT_CALL(SetAnimation, ACTOR_SELF, 6, NPC_ANIM_tutankoopa_Palette_00_Anim_16) + EVT_CALL(SetPartMoveSpeed, ACTOR_SELF, 6, EVT_FLOAT(8.0)) + EVT_CALL(SetPartJumpGravity, ACTOR_SELF, 6, EVT_FLOAT(0.3)) + EVT_CALL(FallPartTo, ACTOR_SELF, 6, LW(0), LW(1), LW(2), 20) + EVT_CALL(SetAnimation, ACTOR_SELF, 6, NPC_ANIM_tutankoopa_Palette_00_Anim_17) + EVT_WAIT_FRAMES(2) + EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LW(0), DAMAGE_TYPE_NO_CONTACT, 0, 0, 2, BS_FLAGS1_SP_EVT_ACTIVE) + EVT_WAIT_FRAMES(19) + EVT_CALL(SetPartFlagBits, ACTOR_SELF, 6, ACTOR_PART_FLAG_INVISIBLE, 1) + EVT_IF_EQ(LW(0), HIT_RESULT_10) + EVT_RETURN + EVT_END_IF + EVT_RETURN + EVT_END +}; + +Vec3i N(vector3D_8021E9A0) = { 190, 0, 0 }; + +Formation N(specialFormation_8021E9AC) = { + { .actor = &b_area_isk_part_2_chain_chomp, .home = { .vec = &N(vector3D_8021E9A0) }, .priority = 100 }, +}; + +EvtScript N(8021E9C8) = { + EVT_CALL(GetStatusFlags, ACTOR_SELF, LW(0)) + EVT_CALL(GetActorVar, ACTOR_SELF, 3, LW(0)) + EVT_IF_EQ(LW(0), 0) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_13) + EVT_CALL(BattleCamTargetActor, ACTOR_SELF) + EVT_CALL(MoveBattleCamOver, 20) + EVT_WAIT_FRAMES(20) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_tutankoopa_Palette_00_Anim_3) + EVT_CALL(ActorSpeak, MESSAGE_ID(0x0D, 0x00E6), ACTOR_SELF, 1, NPC_ANIM_tutankoopa_Palette_00_Anim_3, NPC_ANIM_tutankoopa_Palette_00_Anim_3) + EVT_ELSE + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_13) + EVT_CALL(BattleCamTargetActor, ACTOR_SELF) + EVT_CALL(MoveBattleCamOver, 20) + EVT_WAIT_FRAMES(20) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_tutankoopa_Palette_00_Anim_3) + EVT_CALL(ActorSpeak, MESSAGE_ID(0x0D, 0x00E7), ACTOR_SELF, 1, NPC_ANIM_tutankoopa_Palette_00_Anim_3, NPC_ANIM_tutankoopa_Palette_00_Anim_3) + EVT_END_IF + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_tutankoopa_Palette_00_Anim_1) + EVT_CALL(GetActorVar, ACTOR_SELF, 8, LW(0)) + EVT_IF_EQ(LW(0), 0) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_13) + EVT_CALL(func_8024ECF8, -1, 1, 0) + EVT_CALL(SetBattleCamZoom, 225) + EVT_CALL(SetBattleCamOffsetZ, -30) + EVT_CALL(MoveBattleCamOver, 40) + EVT_ELSE + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_13) + EVT_CALL(func_8024ECF8, -1, 1, 0) + EVT_CALL(SetBattleCamZoom, 200) + EVT_CALL(SetBattleCamOffsetZ, 35) + EVT_CALL(MoveBattleCamOver, 40) + EVT_END_IF + EVT_CALL(SetActorVar, ACTOR_SELF, 5, 0) + EVT_THREAD + EVT_LABEL(0) + EVT_CALL(StartRumble, 1) + EVT_CALL(ShakeCam, 1, 0, 2, EVT_FLOAT(0.5)) + EVT_WAIT_FRAMES(1) + EVT_CALL(GetActorVar, ACTOR_SELF, 5, LW(0)) + EVT_IF_LT(LW(0), 60) + EVT_GOTO(0) + EVT_END_IF + EVT_END_THREAD + EVT_CALL(PlaySound, 0x26B) + EVT_LABEL(10) + EVT_CALL(GetActorVar, ACTOR_SELF, 5, LW(13)) + EVT_CALL(TranslateModel, 31, 0, LW(13), 0) + EVT_ADD(LW(13), 1) + EVT_CALL(SetActorVar, ACTOR_SELF, 5, LW(13)) + EVT_WAIT_FRAMES(1) + EVT_IF_LT(LW(13), 60) + EVT_GOTO(10) + EVT_END_IF + EVT_CALL(StopSound, 619) + EVT_WAIT_FRAMES(10) + EVT_CALL(SummonEnemy, EVT_ADDR(N(specialFormation_8021E9AC)), 0) + EVT_SET(LW(11), LW(0)) + EVT_SET(LW(0), 165) + EVT_SET(LW(1), 0) + EVT_SET(LW(2), -30) + EVT_CALL(SetActorPos, LW(11), LW(0), LW(1), LW(2)) + EVT_CALL(SetActorDispOffset, LW(11), 0, 0, 0) + EVT_CALL(UseIdleAnimation, LW(11), FALSE) + EVT_CALL(EnableIdleScript, LW(11), 0) + EVT_CALL(SetAnimation, LW(11), 1, NPC_ANIM_chain_chomp_Palette_00_Anim_5) + EVT_CALL(SetActorSpeed, LW(11), EVT_FLOAT(6.0)) + EVT_CALL(SetActorJumpGravity, LW(11), EVT_FLOAT(0.8)) + EVT_SET(LW(0), 90) + EVT_SET(LW(1), 0) + EVT_SET(LW(2), -30) + EVT_SET(LW(3), 8) + EVT_SET(LW(4), 30) + EVT_EXEC_WAIT(N(8021F42C)) + EVT_CALL(GetActorVar, ACTOR_SELF, 3, LW(5)) + EVT_IF_EQ(LW(5), 0) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_19) + EVT_CALL(SetBattleCamZoom, 160) + EVT_CALL(GetActorPos, LW(11), LW(0), LW(1), LW(2)) + EVT_SET(LW(1), 60) + EVT_CALL(SetBattleCamTarget, LW(0), LW(1), LW(2)) + EVT_CALL(MoveBattleCamOver, 8) + EVT_LOOP(3) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_19) + EVT_CALL(SetBattleCamZoom, 150) + EVT_CALL(SetBattleCamTarget, LW(0), LW(1), LW(2)) + EVT_CALL(MoveBattleCamOver, 5) + EVT_WAIT_FRAMES(4) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x2061) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_19) + EVT_CALL(SetBattleCamZoom, 200) + EVT_CALL(SetBattleCamTarget, LW(0), LW(1), LW(2)) + EVT_CALL(MoveBattleCamOver, 5) + EVT_WAIT_FRAMES(4) + EVT_END_LOOP + EVT_ELSE + EVT_WAIT_FRAMES(8) + EVT_CALL(SetGoalPos, LW(11), LW(0), LW(1), LW(2)) + EVT_CALL(JumpToGoal, LW(11), 8, FALSE, TRUE, FALSE) + EVT_THREAD + EVT_CALL(ShakeCam, 1, 0, 1, EVT_FLOAT(0.5)) + EVT_END_THREAD + EVT_CALL(SetGoalPos, LW(11), LW(0), LW(1), LW(2)) + EVT_CALL(JumpToGoal, LW(11), 8, FALSE, TRUE, FALSE) + EVT_THREAD + EVT_CALL(ShakeCam, 1, 0, 1, EVT_FLOAT(0.5)) + EVT_END_THREAD + EVT_WAIT_FRAMES(8) + EVT_END_IF + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(MoveBattleCamOver, 30) + EVT_CALL(SetActorSpeed, LW(11), EVT_FLOAT(3.0)) + EVT_CALL(SetActorJumpGravity, LW(11), EVT_FLOAT(0.8)) + EVT_SET(LW(0), 20) + EVT_SET(LW(1), 0) + EVT_SET(LW(2), 20) + EVT_SET(LW(3), 8) + EVT_SET(LW(4), 20) + EVT_EXEC_WAIT(N(8021F42C)) + EVT_CALL(GetActorPos, LW(11), LW(0), LW(1), LW(2)) + EVT_CALL(ForceHomePos, LW(11), LW(0), LW(1), LW(2)) + EVT_CALL(SetPartPos, LW(11), 2, LW(0), LW(1), LW(2)) + EVT_CALL(HPBarToHome, LW(11)) + EVT_CALL(SetActorSpeed, LW(11), EVT_FLOAT(6.0)) + EVT_CALL(SetActorJumpGravity, LW(11), EVT_FLOAT(0.8)) + EVT_CALL(EnableIdleScript, LW(11), 1) + EVT_CALL(UseIdleAnimation, LW(11), TRUE) + EVT_CALL(SetActorVar, ACTOR_SELF, 5, 60) + EVT_THREAD + EVT_LABEL(40) + EVT_CALL(StartRumble, 1) + EVT_CALL(ShakeCam, 1, 0, 2, EVT_FLOAT(0.5)) + EVT_WAIT_FRAMES(1) + EVT_CALL(GetActorVar, ACTOR_SELF, 5, LW(0)) + EVT_IF_NE(LW(0), 0) + EVT_GOTO(40) + EVT_END_IF + EVT_END_THREAD + EVT_CALL(PlaySound, 0x26B) + EVT_LABEL(50) + EVT_CALL(GetActorVar, ACTOR_SELF, 5, LW(13)) + EVT_CALL(TranslateModel, 31, 0, LW(13), 0) + EVT_SUB(LW(13), 1) + EVT_CALL(SetActorVar, ACTOR_SELF, 5, LW(13)) + EVT_WAIT_FRAMES(1) + EVT_IF_GT(LW(13), 0) + EVT_GOTO(50) + EVT_END_IF + EVT_CALL(StopSound, 619) + EVT_CALL(PlaySound, 0x26C) + EVT_CALL(ShakeCam, 1, 0, 4, EVT_FLOAT(0.5)) + EVT_CALL(SetActorVar, ACTOR_SELF, 3, 1) + EVT_RETURN + EVT_END +}; + +EvtScript N(8021F42C) = { + EVT_LABEL(20) + EVT_CALL(GetActorPos, LW(11), LW(5), LW(6), LW(7)) + EVT_IF_EQ(LW(5), LW(0)) + EVT_GOTO(30) + EVT_END_IF + EVT_SET(LW(6), LW(5)) + EVT_SUB(LW(6), LW(0)) + EVT_IF_LT(LW(6), LW(4)) + EVT_CALL(SetGoalPos, LW(11), LW(0), LW(1), LW(2)) + EVT_CALL(JumpToGoal, LW(11), LW(3), FALSE, TRUE, FALSE) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x2062) + EVT_THREAD + EVT_CALL(ShakeCam, 1, 0, 1, EVT_FLOAT(0.5)) + EVT_END_THREAD + EVT_ELSE + EVT_SUB(LW(5), LW(4)) + EVT_CALL(SetGoalPos, LW(11), LW(5), LW(1), LW(2)) + EVT_CALL(JumpToGoal, LW(11), LW(3), FALSE, TRUE, FALSE) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x2062) + EVT_THREAD + EVT_CALL(ShakeCam, 1, 0, 1, EVT_FLOAT(0.5)) + EVT_END_THREAD + EVT_END_IF + EVT_GOTO(20) + EVT_LABEL(30) + EVT_RETURN + EVT_END +}; + +EvtScript N(8021F5E8) = { + EVT_CALL(SetActorVar, ACTOR_SELF, 7, 0) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_13) + EVT_CALL(BattleCamTargetActor, ACTOR_SELF) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x20E1) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_tutankoopa_Palette_00_Anim_8) + EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_ADD(LW(1), 20) + EVT_CALL(PlayEffect, EFFECT_ID_71, 0, LW(0), LW(1), LW(2), EVT_FLOAT(1.0), 45, 0, 0, 0, 0, 0, 0, 0) + EVT_WAIT_FRAMES(45) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(MoveBattleCamOver, 60) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x20E6) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.1)) + EVT_CALL(SetGoalPos, ACTOR_SELF, 97, 70, 15) + EVT_CALL(JumpToGoal, ACTOR_SELF, 45, FALSE, TRUE, FALSE) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x20BA) + EVT_THREAD + EVT_WAIT_FRAMES(1) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x3B4) + EVT_END_THREAD + EVT_WAIT_FRAMES(5) + EVT_CALL(SetActorVar, ACTOR_SELF, 8, 0) + EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(ForceHomePos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(HPBarToHome, ACTOR_SELF) + EVT_RETURN + EVT_END +}; + +EvtScript N(8021F80C) = { + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_tutankoopa_Palette_00_Anim_8) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.0)) + EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(JumpToGoal, ACTOR_SELF, 8, FALSE, TRUE, FALSE) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x20BA) + EVT_THREAD + EVT_WAIT_FRAMES(1) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x3B4) + EVT_END_THREAD + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_tutankoopa_Palette_00_Anim_1) + EVT_CALL(SetIdleAnimations, ACTOR_SELF, 1, EVT_ADDR(N(idleAnimations_8021B960))) + EVT_WAIT_FRAMES(10) + EVT_CALL(GetActorVar, ACTOR_SELF, 4, LW(0)) + EVT_IF_EQ(LW(0), 0) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_13) + EVT_CALL(BattleCamTargetActor, ACTOR_SELF) + EVT_CALL(MoveBattleCamOver, 20) + EVT_WAIT_FRAMES(20) + EVT_CALL(ActorSpeak, MESSAGE_ID(0x0D, 0x00E4), ACTOR_SELF, 1, NPC_ANIM_tutankoopa_Palette_00_Anim_B, NPC_ANIM_tutankoopa_Palette_00_Anim_1) + EVT_CALL(SetActorVar, ACTOR_SELF, 4, 1) + EVT_END_IF + EVT_RETURN + EVT_END +}; + +EvtScript N(nextTurn_8021F9C4) = { + EVT_CALL(GetBattlePhase, LW(0)) + EVT_SWITCH(LW(0)) + EVT_CASE_EQ(PHASE_PLAYER_BEGIN) + EVT_CALL(GetActorVar, ACTOR_SELF, 10, LW(0)) + EVT_SWITCH(LW(0)) + EVT_CASE_EQ(0) + EVT_CALL(SetActorVar, ACTOR_SELF, 10, 1) + EVT_END_SWITCH + EVT_END_SWITCH + EVT_RETURN + EVT_END +}; + +EvtScript N(8021FA54) = { + EVT_CALL(ActorExists, ACTOR_ENEMY1, LW(2)) + EVT_IF_NE(LW(2), FALSE) + EVT_CALL(GetActorHP, ACTOR_ENEMY1, LW(2)) + EVT_IF_NE(LW(2), 0) + EVT_THREAD + EVT_CALL(func_8027D32C, ACTOR_ENEMY1) + EVT_CALL(EnableIdleScript, ACTOR_ENEMY1, 0) + EVT_CALL(UseIdleAnimation, ACTOR_ENEMY1, FALSE) + EVT_CALL(SetAnimation, ACTOR_ENEMY1, 1, NPC_ANIM_chain_chomp_Palette_00_Anim_6) + EVT_WAIT_FRAMES(10) + EVT_SET(LW(2), 0) + EVT_LOOP(24) + EVT_CALL(SetActorYaw, ACTOR_ENEMY1, LW(2)) + EVT_ADD(LW(2), 30) + EVT_WAIT_FRAMES(1) + EVT_END_LOOP + EVT_CALL(SetActorYaw, ACTOR_ENEMY1, 0) + EVT_CALL(GetActorPos, ACTOR_ENEMY1, LW(0), LW(1), LW(2)) + EVT_ADD(LW(1), 10) + EVT_CALL(PlayEffect, EFFECT_ID_01, LW(0), LW(1), LW(2), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0) + EVT_CALL(PlaySoundAtActor, ACTOR_ENEMY1, SOUND_DEATH) + EVT_SET(LW(3), 0) + EVT_LOOP(12) + EVT_CALL(SetActorRotation, ACTOR_ENEMY1, LW(3), 0, 0) + EVT_ADD(LW(3), 8) + EVT_WAIT_FRAMES(1) + EVT_END_LOOP + EVT_CALL(RemoveActor, ACTOR_ENEMY1) + EVT_END_THREAD + EVT_END_IF + EVT_END_IF + EVT_EXEC_WAIT(D_8029AF08) + EVT_LABEL(0) + EVT_CALL(ActorExists, ACTOR_ENEMY1, LW(0)) + EVT_IF_NE(LW(0), FALSE) + EVT_WAIT_FRAMES(1) + EVT_GOTO(0) + EVT_END_IF + EVT_CALL(RemoveActor, ACTOR_SELF) + EVT_RETURN + EVT_END +}; diff --git a/src/battle/area_isk_part_2/area.c b/src/battle/area_isk_part_2/area.c new file mode 100644 index 0000000000..9ed92183d8 --- /dev/null +++ b/src/battle/area_isk_part_2/area.c @@ -0,0 +1,46 @@ +#include "common.h" +#include "battle/battle.h" + +#define NAMESPACE b_area_isk_part_2 + +extern ActorBlueprint N(tutankoopa); + +extern Stage N(isk_00); +extern Stage N(isk_01); +extern Stage N(isk_02); +extern Stage N(isk_02b); +extern Stage N(isk_02c); +extern Stage N(isk_03); +extern Stage N(isk_03b); +extern Stage N(isk_04); +extern Stage N(isk_05); +extern Stage N(isk_06); +extern Stage N(isk_06b); +extern Stage N(isk_07); + +Vec3i N(vector3D_80220420) = { 97, 70, 17 }; + +Formation N(formation_00) = { + { .actor = &N(tutankoopa), .home = { .vec = &N(vector3D_80220420) }, .priority = 10 }, +}; + +BattleList N(formationTable) = { + BATTLE("カーメン ワンワン", N(formation_00), &N(isk_01)), + {}, +}; + +StageList N(stageTable) = { + { "isk_00", &N(isk_00) }, + { "isk_01", &N(isk_01) }, + { "isk_02", &N(isk_02) }, + { "isk_02b", &N(isk_02b) }, + { "isk_02c", &N(isk_02c) }, + { "isk_03", &N(isk_03) }, + { "isk_03b", &N(isk_03b) }, + { "isk_04", &N(isk_04) }, + { "isk_05", &N(isk_05) }, + { "isk_06", &N(isk_06) }, + { "isk_06b", &N(isk_06b) }, + { "isk_07", &N(isk_07) }, + {}, +}; diff --git a/src/battle/area_isk_part_2/stage/isk_00.c b/src/battle/area_isk_part_2/stage/isk_00.c new file mode 100644 index 0000000000..91802eafc6 --- /dev/null +++ b/src/battle/area_isk_part_2/stage/isk_00.c @@ -0,0 +1,23 @@ +#include "common.h" +#include "battle/battle.h" + +#define NAMESPACE b_area_isk_part_2_isk_00 + +EvtScript N(beforeBattle_8021FCF0) = { + EVT_CALL(SetSpriteShading, -1) + EVT_CALL(SetCamBGColor, 1, 0, 0, 0) + EVT_RETURN + EVT_END +}; + +EvtScript N(afterBattle_8021FD2C) = { + EVT_RETURN + EVT_END +}; + +Stage NAMESPACE = { + .texture = "isk_tex", + .shape = "isk_bt00_shape", + .preBattle = N(beforeBattle_8021FCF0), + .postBattle = N(afterBattle_8021FD2C), +}; diff --git a/src/battle/area_isk_part_2/stage/isk_01.c b/src/battle/area_isk_part_2/stage/isk_01.c new file mode 100644 index 0000000000..c5c103e738 --- /dev/null +++ b/src/battle/area_isk_part_2/stage/isk_01.c @@ -0,0 +1,24 @@ +#include "common.h" +#include "battle/battle.h" + +#define NAMESPACE b_area_isk_part_2_isk_01 + +EvtScript N(beforeBattle_8021FD70) = { + EVT_CALL(SetSpriteShading, -1) + EVT_CALL(SetCamBGColor, 1, 0, 0, 0) + EVT_RETURN + EVT_END +}; + +EvtScript N(afterBattle_8021FDAC) = { + EVT_RETURN + EVT_END +}; + +Stage NAMESPACE = { + .texture = "isk_tex", + .shape = "isk_bt01_shape", + .hit = "isk_bt01_hit", + .preBattle = N(beforeBattle_8021FD70), + .postBattle = N(afterBattle_8021FDAC), +}; diff --git a/src/battle/area_isk_part_2/stage/isk_02.c b/src/battle/area_isk_part_2/stage/isk_02.c new file mode 100644 index 0000000000..1f6c455e33 --- /dev/null +++ b/src/battle/area_isk_part_2/stage/isk_02.c @@ -0,0 +1,29 @@ +#include "common.h" +#include "battle/battle.h" + +#define NAMESPACE b_area_isk_part_2_isk_02 + +EvtScript N(beforeBattle_8021FDF0) = { + EVT_CALL(SetSpriteShading, 786432) + EVT_CALL(SetCamBGColor, 1, 0, 0, 0) + EVT_RETURN + EVT_END +}; + +EvtScript N(afterBattle_8021FE2C) = { + EVT_RETURN + EVT_END +}; + +s32 N(foregroundModelList_8021FE3C)[] = { + 0x0000001F, 0x0000001E, 0x00000021, 0x00000000, +}; + +Stage NAMESPACE = { + .texture = "isk_tex", + .shape = "isk_bt02_shape", + .hit = "isk_bt02_hit", + .preBattle = N(beforeBattle_8021FDF0), + .postBattle = N(afterBattle_8021FE2C), + .foregroundModelList = N(foregroundModelList_8021FE3C), +}; diff --git a/src/battle/area_isk_part_2/stage/isk_02b.c b/src/battle/area_isk_part_2/stage/isk_02b.c new file mode 100644 index 0000000000..8b62e1ab1d --- /dev/null +++ b/src/battle/area_isk_part_2/stage/isk_02b.c @@ -0,0 +1,35 @@ +#include "common.h" +#include "battle/battle.h" + +#define NAMESPACE b_area_isk_part_2_isk_02b + +EvtScript N(beforeBattle_8021FE80) = { + EVT_CALL(SetSpriteShading, -1) + EVT_CALL(SetCamBGColor, 1, 0, 0, 0) + EVT_CALL(EnableModel, 7, 0) + EVT_CALL(EnableModel, 8, 0) + EVT_CALL(EnableModel, 9, 0) + EVT_CALL(EnableModel, 15, 0) + EVT_CALL(EnableModel, 16, 0) + EVT_CALL(EnableModel, 17, 0) + EVT_RETURN + EVT_END +}; + +EvtScript N(afterBattle_8021FF34) = { + EVT_RETURN + EVT_END +}; + +s32 N(foregroundModelList_8021FF44)[] = { + 0x0000001F, 0x0000001E, 0x00000021, 0x00000000, +}; + +Stage NAMESPACE = { + .texture = "isk_tex", + .shape = "isk_bt02_shape", + .hit = "isk_bt02_hit", + .preBattle = N(beforeBattle_8021FE80), + .postBattle = N(afterBattle_8021FF34), + .foregroundModelList = N(foregroundModelList_8021FF44), +}; diff --git a/src/battle/area_isk_part_2/stage/isk_02c.c b/src/battle/area_isk_part_2/stage/isk_02c.c new file mode 100644 index 0000000000..e473f4dd72 --- /dev/null +++ b/src/battle/area_isk_part_2/stage/isk_02c.c @@ -0,0 +1,31 @@ +#include "common.h" +#include "battle/battle.h" + +#define NAMESPACE b_area_isk_part_2_isk_02c + +EvtScript N(beforeBattle_8021FF80) = { + EVT_CALL(SetSpriteShading, -1) + EVT_CALL(SetCamBGColor, 1, 0, 0, 0) + EVT_CALL(EnableModel, 14, 0) + EVT_CALL(EnableModel, 11, 0) + EVT_RETURN + EVT_END +}; + +EvtScript N(afterBattle_8021FFE4) = { + EVT_RETURN + EVT_END +}; + +s32 N(foregroundModelList_8021FFF4)[] = { + 0x0000001F, 0x0000001E, 0x00000021, 0x00000000, +}; + +Stage NAMESPACE = { + .texture = "isk_tex", + .shape = "isk_bt02_shape", + .hit = "isk_bt02_hit", + .preBattle = N(beforeBattle_8021FF80), + .postBattle = N(afterBattle_8021FFE4), + .foregroundModelList = N(foregroundModelList_8021FFF4), +}; diff --git a/src/battle/area_isk_part_2/stage/isk_03.c b/src/battle/area_isk_part_2/stage/isk_03.c new file mode 100644 index 0000000000..e02e87ac31 --- /dev/null +++ b/src/battle/area_isk_part_2/stage/isk_03.c @@ -0,0 +1,25 @@ +#include "common.h" +#include "battle/battle.h" + +#define NAMESPACE b_area_isk_part_2_isk_03 + +EvtScript N(beforeBattle_80220030) = { + EVT_CALL(SetSpriteShading, -1) + EVT_CALL(SetCamBGColor, 1, 0, 0, 0) + EVT_RETURN + EVT_END +}; + +EvtScript N(afterBattle_8022006C) = { + EVT_RETURN + EVT_END +}; + +Stage NAMESPACE = { + .texture = "isk_tex", + .shape = "isk_bt03_shape", + .hit = "isk_bt03_hit", + .bg = "sbk3_bg", + .preBattle = N(beforeBattle_80220030), + .postBattle = N(afterBattle_8022006C), +}; diff --git a/src/battle/area_isk_part_2/stage/isk_03b.c b/src/battle/area_isk_part_2/stage/isk_03b.c new file mode 100644 index 0000000000..3068b665e2 --- /dev/null +++ b/src/battle/area_isk_part_2/stage/isk_03b.c @@ -0,0 +1,24 @@ +#include "common.h" +#include "battle/battle.h" + +#define NAMESPACE b_area_isk_part_2_isk_03b + +EvtScript N(beforeBattle_802200B0) = { + EVT_CALL(SetSpriteShading, -1) + EVT_CALL(SetCamBGColor, 1, 0, 0, 0) + EVT_RETURN + EVT_END +}; + +EvtScript N(afterBattle_802200EC) = { + EVT_RETURN + EVT_END +}; + +Stage NAMESPACE = { + .texture = "isk_tex", + .shape = "isk_bt03_shape", + .hit = "isk_bt03_hit", + .preBattle = N(beforeBattle_802200B0), + .postBattle = N(afterBattle_802200EC), +}; diff --git a/src/battle/area_isk_part_2/stage/isk_04.c b/src/battle/area_isk_part_2/stage/isk_04.c new file mode 100644 index 0000000000..e5a2894531 --- /dev/null +++ b/src/battle/area_isk_part_2/stage/isk_04.c @@ -0,0 +1,47 @@ +#include "common.h" +#include "effects.h" +#include "battle/battle.h" + +#define NAMESPACE b_area_isk_part_2_isk_04 + +BSS EffectInstance* D_80220740; +BSS EffectInstance* D_80220744; + +ApiStatus func_80218850_4EFCF0(Evt* script, s32 isInitialCall) { + playFX_20(1, -133.0f, 72.0f, -143.0f, 0.3f, &D_80220740); + playFX_20(1, 129.0f, 72.0f, -143.0f, 0.3f, &D_80220744); + return ApiStatus_DONE2; +} + +ApiStatus func_802188E4_4EFD84(Evt* script, s32 isInitialCall) { + remove_effect(D_80220740); + remove_effect(D_80220744); + return ApiStatus_DONE2; +} + +EvtScript N(beforeBattle_80220130) = { + EVT_CALL(SetSpriteShading, -1) + EVT_CALL(SetCamBGColor, 1, 0, 0, 0) + EVT_CALL(func_80218850_4EFCF0) + EVT_RETURN + EVT_END +}; + +EvtScript N(afterBattle_80220178) = { + EVT_CALL(func_802188E4_4EFD84) + EVT_RETURN + EVT_END +}; + +s32 N(foregroundModelList_80220194)[] = { + 0x00000033, 0x00000034, 0x00000000, +}; + +Stage NAMESPACE = { + .texture = "isk_tex", + .shape = "isk_bt04_shape", + .hit = "isk_bt04_hit", + .preBattle = N(beforeBattle_80220130), + .postBattle = N(afterBattle_80220178), + .foregroundModelList = N(foregroundModelList_80220194), +}; diff --git a/src/battle/area_isk_part_2/stage/isk_05.c b/src/battle/area_isk_part_2/stage/isk_05.c new file mode 100644 index 0000000000..2939da62d9 --- /dev/null +++ b/src/battle/area_isk_part_2/stage/isk_05.c @@ -0,0 +1,42 @@ +#include "common.h" +#include "effects.h" +#include "battle/battle.h" + +#define NAMESPACE b_area_isk_part_2_isk_05 + +BSS EffectInstance* D_80220750; +BSS EffectInstance* D_80220754; + +ApiStatus func_80218920_4EFDC0(Evt* script, s32 isInitialCall) { + playFX_20(1, -90.0f, 45.0f, -146.0f, 0.25f, &D_80220750); + playFX_20(1, 80.0f, 45.0f, -146.0f, 0.25f, &D_80220754); + return ApiStatus_DONE2; +} + +ApiStatus func_802189B0_4EFE50(Evt* script, s32 isInitialCall) { + remove_effect(D_80220750); + remove_effect(D_80220754); + return ApiStatus_DONE2; +} + +EvtScript N(beforeBattle_802201D0) = { + EVT_CALL(SetSpriteShading, -1) + EVT_CALL(SetCamBGColor, 1, 0, 0, 0) + EVT_CALL(func_80218920_4EFDC0) + EVT_RETURN + EVT_END +}; + +EvtScript N(afterBattle_80220218) = { + EVT_CALL(func_802189B0_4EFE50) + EVT_RETURN + EVT_END +}; + +Stage NAMESPACE = { + .texture = "isk_tex", + .shape = "isk_bt05_shape", + .hit = "isk_bt05_hit", + .preBattle = N(beforeBattle_802201D0), + .postBattle = N(afterBattle_80220218), +}; diff --git a/src/battle/area_isk_part_2/stage/isk_06.c b/src/battle/area_isk_part_2/stage/isk_06.c new file mode 100644 index 0000000000..1133c67155 --- /dev/null +++ b/src/battle/area_isk_part_2/stage/isk_06.c @@ -0,0 +1,39 @@ +#include "common.h" +#include "effects.h" +#include "battle/battle.h" + +#define NAMESPACE b_area_isk_part_2_isk_06 + +BSS EffectInstance* D_80220760; + +ApiStatus func_802189F0_4EFE90(Evt* script, s32 isInitialCall) { + playFX_20(1, -110.0f, 80.0f, -146.0f, 0.3f, &D_80220760); + return ApiStatus_DONE2; +} + +ApiStatus func_80218A38_4EFED8(Evt* script, s32 isInitialCall) { + remove_effect(D_80220760); + return ApiStatus_DONE2; +} + +EvtScript N(beforeBattle_80220260) = { + EVT_CALL(SetSpriteShading, -1) + EVT_CALL(SetCamBGColor, 1, 0, 0, 0) + EVT_CALL(func_802189F0_4EFE90) + EVT_RETURN + EVT_END +}; + +EvtScript N(afterBattle_802202A8) = { + EVT_CALL(func_80218A38_4EFED8) + EVT_RETURN + EVT_END +}; + +Stage NAMESPACE = { + .texture = "isk_tex", + .shape = "isk_bt06_shape", + .hit = "isk_bt06_hit", + .preBattle = N(beforeBattle_80220260), + .postBattle = N(afterBattle_802202A8), +}; diff --git a/src/battle/area_isk_part_2/stage/isk_06b.c b/src/battle/area_isk_part_2/stage/isk_06b.c new file mode 100644 index 0000000000..6388d21aa6 --- /dev/null +++ b/src/battle/area_isk_part_2/stage/isk_06b.c @@ -0,0 +1,40 @@ +#include "common.h" +#include "effects.h" +#include "battle/battle.h" + +#define NAMESPACE b_area_isk_part_2_isk_06b + +BSS EffectInstance* D_80220770; + +ApiStatus func_80218A60_4EFF00(Evt* script, s32 isInitialCall) { + playFX_20(1, -110.0f, 80.0f, -146.0f, 0.3f, &D_80220770); + return ApiStatus_DONE2; +} + +ApiStatus func_80218AA8_4EFF48(Evt* script, s32 isInitialCall) { + remove_effect(D_80220770); + return ApiStatus_DONE2; +} + +EvtScript N(beforeBattle_802202F0) = { + EVT_CALL(SetSpriteShading, -1) + EVT_CALL(SetCamBGColor, 1, 0, 0, 0) + EVT_CALL(func_80218A60_4EFF00) + EVT_CALL(EnableModel, 23, 0) + EVT_RETURN + EVT_END +}; + +EvtScript N(afterBattle_8022034C) = { + EVT_CALL(func_80218AA8_4EFF48) + EVT_RETURN + EVT_END +}; + +Stage NAMESPACE = { + .texture = "isk_tex", + .shape = "isk_bt06_shape", + .hit = "isk_bt06_hit", + .preBattle = N(beforeBattle_802202F0), + .postBattle = N(afterBattle_8022034C), +}; diff --git a/src/battle/area_isk_part_2/stage/isk_07.c b/src/battle/area_isk_part_2/stage/isk_07.c new file mode 100644 index 0000000000..6704088c3f --- /dev/null +++ b/src/battle/area_isk_part_2/stage/isk_07.c @@ -0,0 +1,39 @@ +#include "common.h" +#include "effects.h" +#include "battle/battle.h" + +#define NAMESPACE b_area_isk_part_2_isk_07 + +BSS EffectInstance* D_80220780; + +ApiStatus func_80218AD0_4EFF70(Evt* script, s32 isInitialCall) { + playFX_20(1, 110.0f, 80.0f, -146.0f, 0.3f, &D_80220780); + return ApiStatus_DONE2; +} + +ApiStatus func_80218B18_4EFFB8(Evt* script, s32 isInitialCall) { + remove_effect(D_80220780); + return ApiStatus_DONE2; +} + +EvtScript N(beforeBattle_80220390) = { + EVT_CALL(SetSpriteShading, -1) + EVT_CALL(SetCamBGColor, 1, 0, 0, 0) + EVT_CALL(func_80218AD0_4EFF70) + EVT_RETURN + EVT_END +}; + +EvtScript N(afterBattle_802203D8) = { + EVT_CALL(func_80218B18_4EFFB8) + EVT_RETURN + EVT_END +}; + +Stage NAMESPACE = { + .texture = "isk_tex", + .shape = "isk_bt07_shape", + .hit = "isk_bt07_hit", + .preBattle = N(beforeBattle_80220390), + .postBattle = N(afterBattle_802203D8), +}; diff --git a/src/battle/area_iwa/actor/buzzar.c b/src/battle/area_iwa/actor/buzzar.c index 95a7197a00..e5ddd3c5f2 100644 --- a/src/battle/area_iwa/actor/buzzar.c +++ b/src/battle/area_iwa/actor/buzzar.c @@ -558,7 +558,7 @@ EvtScript N(8021CCE8) = { EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_ADD(LW(0), 24) EVT_ADD(LW(1), 24) - EVT_CALL(PlayEffect, EFFECT_ID_6D, 0, LW(0), LW(1), LW(2), EVT_FLOAT(0.6005859375), 0, 0, 0, 0, 0, 0, 0, 0) + EVT_CALL(PlayEffect, EFFECT_ID_6D, 0, LW(0), LW(1), LW(2), EVT_FLOAT(0.6), 0, 0, 0, 0, 0, 0, 0, 0) EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x20F3) EVT_WAIT_FRAMES(10) EVT_CALL(SetPartSounds, ACTOR_SELF, 3, 1, 0, 0) @@ -582,11 +582,11 @@ EvtScript N(8021CCE8) = { EVT_CALL(SetPartFlagBits, ACTOR_SELF, 4, ACTOR_PART_FLAG_INVISIBLE, 0) EVT_CALL(SetPartFlagBits, ACTOR_SELF, 5, ACTOR_PART_FLAG_INVISIBLE, 0) EVT_CALL(SetPartMoveSpeed, ACTOR_SELF, 3, EVT_FLOAT(6.0)) - EVT_CALL(SetPartJumpGravity, ACTOR_SELF, 3, EVT_FLOAT(0.1005859375)) + EVT_CALL(SetPartJumpGravity, ACTOR_SELF, 3, EVT_FLOAT(0.1)) EVT_CALL(SetPartMoveSpeed, ACTOR_SELF, 4, EVT_FLOAT(6.0)) - EVT_CALL(SetPartJumpGravity, ACTOR_SELF, 4, EVT_FLOAT(0.1005859375)) + EVT_CALL(SetPartJumpGravity, ACTOR_SELF, 4, EVT_FLOAT(0.1)) EVT_CALL(SetPartMoveSpeed, ACTOR_SELF, 5, EVT_FLOAT(6.0)) - EVT_CALL(SetPartJumpGravity, ACTOR_SELF, 5, EVT_FLOAT(0.1005859375)) + EVT_CALL(SetPartJumpGravity, ACTOR_SELF, 5, EVT_FLOAT(0.1)) EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x20F4) EVT_CALL(EnemyTestTarget, ACTOR_SELF, LW(0), DAMAGE_TYPE_NO_CONTACT, 0, 2, BS_FLAGS1_10) EVT_SWITCH(LW(0)) @@ -745,14 +745,14 @@ EvtScript N(8021DCB8) = { EVT_END_CHILD_THREAD EVT_CHILD_THREAD EVT_CALL(SetActorSpeed, ACTOR_PLAYER, EVT_FLOAT(5.0)) - EVT_CALL(SetActorJumpGravity, ACTOR_PLAYER, EVT_FLOAT(0.1005859375)) + EVT_CALL(SetActorJumpGravity, ACTOR_PLAYER, EVT_FLOAT(0.1)) EVT_CALL(GetActorPos, ACTOR_PLAYER, LW(0), LW(1), LW(2)) EVT_ADD(LW(1), 180) EVT_CALL(SetGoalPos, ACTOR_PLAYER, LW(0), LW(1), LW(2)) EVT_CALL(FlyToGoal, ACTOR_PLAYER, 99, 0, 0) EVT_END_CHILD_THREAD EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(5.0)) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.1005859375)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.1)) EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_ADD(LW(1), 180) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) @@ -801,7 +801,7 @@ EvtScript N(8021DF2C) = { EVT_CALL(BattleCamTargetActor, ACTOR_SELF) EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x20F1) EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(5.0)) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.80078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.8)) EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(JumpToGoal, ACTOR_SELF, 10, FALSE, TRUE, FALSE) @@ -830,7 +830,7 @@ EvtScript N(8021DF2C) = { EVT_CALL(BattleCamTargetActor, ACTOR_SELF) EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x20F1) EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(5.0)) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.80078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.8)) EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(JumpToGoal, ACTOR_SELF, 10, FALSE, TRUE, FALSE) @@ -888,7 +888,7 @@ EvtScript N(8021DF2C) = { EVT_END_THREAD EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x20F1) EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(5.0)) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.80078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.8)) EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(JumpToGoal, ACTOR_SELF, 10, FALSE, TRUE, FALSE) @@ -938,7 +938,7 @@ EvtScript N(8021DF2C) = { EVT_KILL_THREAD(LW(10)) EVT_CALL(SetJumpAnimations, ACTOR_PLAYER, 0, ANIM_MIDAIR_STILL, ANIM_MIDAIR_STILL, ANIM_10009) EVT_CALL(SetActorSpeed, ACTOR_PLAYER, EVT_FLOAT(5.0)) - EVT_CALL(SetActorJumpGravity, ACTOR_PLAYER, EVT_FLOAT(1.80078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_PLAYER, EVT_FLOAT(1.8)) EVT_CALL(GetActorPos, ACTOR_PLAYER, LW(0), LW(1), LW(2)) EVT_SET(LW(1), 0) EVT_CALL(SetGoalPos, ACTOR_PLAYER, LW(0), LW(1), LW(2)) @@ -963,7 +963,7 @@ EvtScript N(8021DF2C) = { EVT_WAIT_FRAMES(10) EVT_CALL(SetJumpAnimations, ACTOR_PLAYER, 0, ANIM_RUN_PANIC, ANIM_RUN_PANIC, ANIM_RUN_PANIC) EVT_CALL(SetActorSpeed, ACTOR_PLAYER, EVT_FLOAT(5.0)) - EVT_CALL(SetActorJumpGravity, ACTOR_PLAYER, EVT_FLOAT(1.2001953125)) + EVT_CALL(SetActorJumpGravity, ACTOR_PLAYER, EVT_FLOAT(1.2)) EVT_CALL(GetActorPos, ACTOR_PLAYER, LW(0), LW(1), LW(2)) EVT_SET(LW(1), 0) EVT_CALL(SetGoalPos, ACTOR_PLAYER, LW(0), LW(1), LW(2)) @@ -1048,7 +1048,7 @@ EvtScript N(8021F030) = { EVT_WAIT_FRAMES(10) EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x20F1) EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(5.0)) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.80078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.8)) EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(JumpToGoal, ACTOR_SELF, 10, FALSE, TRUE, FALSE) @@ -1074,7 +1074,7 @@ EvtScript N(8021F030) = { EVT_WAIT_FRAMES(10) EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x20F1) EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(5.0)) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.80078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.8)) EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(JumpToGoal, ACTOR_SELF, 10, FALSE, TRUE, FALSE) diff --git a/src/battle/area_iwa/actor/cleft.c b/src/battle/area_iwa/actor/cleft.c index 26eafb37f0..d617955cf1 100644 --- a/src/battle/area_iwa/actor/cleft.c +++ b/src/battle/area_iwa/actor/cleft.c @@ -146,7 +146,7 @@ EvtScript N(80218944) = { EVT_END_LOOP EVT_END_THREAD EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.30078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.3)) EVT_SUB(LW(1), 6) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(JumpToGoal, ACTOR_SELF, 20, FALSE, TRUE, FALSE) @@ -271,7 +271,7 @@ EvtScript N(handleEvent_80218C3C) = { EVT_SET_CONST(LW(0), 1) EVT_SET_CONST(LW(1), NPC_ANIM_cleft_default_run) EVT_EXEC_WAIT(DoReturnHome) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.6005859375)) + 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(LW(0), 1) @@ -401,7 +401,7 @@ EvtScript N(802197AC) = { EVT_END_THREAD EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_SUB(LW(1), 6) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.30078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.3)) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(JumpToGoal, ACTOR_SELF, 10, FALSE, TRUE, FALSE) EVT_CALL(N(StartRumbleWithParams), 200, 10) @@ -517,7 +517,7 @@ EvtScript N(80219BA0) = { EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_ADD(LW(0), 15) EVT_SET(LW(1), 0) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(2.400390625)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(2.4)) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(JumpToGoal, ACTOR_SELF, 6, FALSE, TRUE, FALSE) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_cleft_default_idle) diff --git a/src/battle/area_iwa/actor/monty_mole.c b/src/battle/area_iwa/actor/monty_mole.c index f1c2514fb3..db68404bee 100644 --- a/src/battle/area_iwa/actor/monty_mole.c +++ b/src/battle/area_iwa/actor/monty_mole.c @@ -149,7 +149,7 @@ ActorPartBlueprint N(partsTable_8021A60C)[] = { EvtScript N(init_8021A630) = { EVT_CALL(GetActorVar, ACTOR_SELF, 0, LW(0)) EVT_IF_EQ(LW(0), 1) - EVT_CALL(SetPartScale, ACTOR_SELF, 1, EVT_FLOAT(0.400390625), EVT_FLOAT(0.400390625), EVT_FLOAT(0.400390625)) + EVT_CALL(SetPartScale, ACTOR_SELF, 1, EVT_FLOAT(0.4), EVT_FLOAT(0.4), EVT_FLOAT(0.4)) EVT_END_IF EVT_RETURN EVT_END @@ -368,7 +368,7 @@ EvtScript N(takeTurn_8021AFAC) = { EVT_CALL(SetPartFlagBits, ACTOR_SELF, 3, ACTOR_PART_FLAG_INVISIBLE, 0) EVT_CALL(GetStatusFlags, ACTOR_SELF, LW(0)) EVT_IF_FLAG(LW(0), STATUS_FLAG_SHRINK) - EVT_CALL(SetPartScale, ACTOR_SELF, 3, EVT_FLOAT(0.400390625), EVT_FLOAT(0.400390625), EVT_FLOAT(0.400390625)) + EVT_CALL(SetPartScale, ACTOR_SELF, 3, EVT_FLOAT(0.4), EVT_FLOAT(0.4), EVT_FLOAT(0.4)) EVT_ELSE EVT_CALL(SetPartScale, ACTOR_SELF, 3, EVT_FLOAT(1.0), EVT_FLOAT(1.0), EVT_FLOAT(1.0)) EVT_END_IF @@ -385,7 +385,7 @@ EvtScript N(takeTurn_8021AFAC) = { EVT_SUB(LW(0), 100) EVT_SET(LW(1), -5) EVT_CALL(SetPartMoveSpeed, ACTOR_SELF, 3, EVT_FLOAT(12.0)) - EVT_CALL(SetPartJumpGravity, ACTOR_SELF, 3, EVT_FLOAT(0.1005859375)) + EVT_CALL(SetPartJumpGravity, ACTOR_SELF, 3, EVT_FLOAT(0.1)) EVT_CALL(SetAnimation, ACTOR_SELF, 3, NPC_ANIM_monty_mole_Palette_00_Anim_F) EVT_CALL(FlyPartTo, ACTOR_SELF, 3, LW(0), LW(1), LW(2), 0, 30, 0) EVT_CALL(SetPartFlagBits, ACTOR_SELF, 3, ACTOR_PART_FLAG_INVISIBLE, 1) @@ -402,7 +402,7 @@ EvtScript N(takeTurn_8021AFAC) = { EVT_CALL(SetGoalToTarget, ACTOR_SELF) EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(SetPartMoveSpeed, ACTOR_SELF, 3, EVT_FLOAT(12.0)) - EVT_CALL(SetPartJumpGravity, ACTOR_SELF, 3, EVT_FLOAT(0.1005859375)) + EVT_CALL(SetPartJumpGravity, ACTOR_SELF, 3, EVT_FLOAT(0.1)) EVT_CALL(SetAnimation, ACTOR_SELF, 3, NPC_ANIM_monty_mole_Palette_00_Anim_F) EVT_CALL(FlyPartTo, ACTOR_SELF, 3, LW(0), LW(1), LW(2), 0, 20, 0) EVT_WAIT_FRAMES(2) @@ -414,7 +414,7 @@ EvtScript N(takeTurn_8021AFAC) = { EVT_SUB(LW(0), 55) EVT_SET(LW(1), 0) EVT_CALL(SetPartMoveSpeed, ACTOR_SELF, 3, EVT_FLOAT(6.0)) - EVT_CALL(SetPartJumpGravity, ACTOR_SELF, 3, EVT_FLOAT(0.1005859375)) + EVT_CALL(SetPartJumpGravity, ACTOR_SELF, 3, EVT_FLOAT(0.1)) EVT_CALL(FlyPartTo, ACTOR_SELF, 3, LW(0), LW(1), LW(2), 0, 25, 0) EVT_CALL(SetPartMoveSpeed, ACTOR_SELF, 3, EVT_FLOAT(4.0)) EVT_SUB(LW(0), 20) 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 5af492a5d3..ac3a3ad1f2 100644 --- a/src/battle/area_kmr_part_2/actor/blue_goomba.c +++ b/src/battle/area_kmr_part_2/actor/blue_goomba.c @@ -219,7 +219,7 @@ EvtScript N(handleEvent_80219D74) = { EVT_CALL(SetAnimationRate, ACTOR_SELF, 1, EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(5) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_bros_Palette_01_Anim_2) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.6005859375)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.6)) EVT_CALL(JumpToGoal, ACTOR_SELF, 5, FALSE, TRUE, FALSE) EVT_CASE_EQ(38) EVT_SET_CONST(LW(0), 0x00000001) @@ -314,7 +314,7 @@ EvtScript N(takeTurn_8021A5A0) = { EVT_SET(LW(1), 10) EVT_ADD(LW(2), 3) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.2001953125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.2)) EVT_THREAD EVT_CALL(GetActorPos, ACTOR_SELF, LW(1), LW(2), LW(0)) EVT_SET(LW(0), 0) @@ -334,10 +334,10 @@ EvtScript N(takeTurn_8021A5A0) = { EVT_END_THREAD EVT_CALL(JumpToGoal, ACTOR_SELF, 16, FALSE, TRUE, FALSE) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_bros_Palette_01_Anim_D) - EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.1005859375), EVT_FLOAT(0.80078125), EVT_FLOAT(1.0)) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.1), EVT_FLOAT(0.8), EVT_FLOAT(1.0)) EVT_CALL(SetActorDispOffset, ACTOR_SELF, 0, 5, 0) EVT_WAIT_FRAMES(1) - EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.30078125), EVT_FLOAT(0.5), EVT_FLOAT(1.0)) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.3), EVT_FLOAT(0.5), EVT_FLOAT(1.0)) EVT_CALL(SetActorDispOffset, ACTOR_SELF, 0, -2, 0) EVT_WAIT_FRAMES(1) EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.0), EVT_FLOAT(1.0), EVT_FLOAT(1.0)) @@ -381,7 +381,7 @@ EvtScript N(takeTurn_8021A5A0) = { EVT_CALL(SetActorYaw, ACTOR_SELF, 0) EVT_WAIT_FRAMES(5) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_bros_Palette_01_Anim_2) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.6005859375)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.6)) EVT_CALL(JumpToGoal, ACTOR_SELF, 5, FALSE, TRUE, FALSE) EVT_CALL(RemoveActorDecoration, ACTOR_SELF, 1, 0) EVT_CALL(EnableIdleScript, ACTOR_SELF, 1) @@ -390,7 +390,7 @@ EvtScript N(takeTurn_8021A5A0) = { EVT_END_CASE_GROUP EVT_CASE_DEFAULT EVT_CALL(SetGoalToTarget, ACTOR_SELF) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.2001953125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.2)) EVT_THREAD EVT_CALL(GetActorPos, ACTOR_SELF, LW(1), LW(2), LW(0)) EVT_SET(LW(0), 0) @@ -410,9 +410,9 @@ EvtScript N(takeTurn_8021A5A0) = { EVT_END_THREAD EVT_CALL(JumpToGoal, ACTOR_SELF, 16, FALSE, TRUE, FALSE) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_bros_Palette_01_Anim_8) - EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.1005859375), EVT_FLOAT(0.80078125), EVT_FLOAT(1.0)) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.1), EVT_FLOAT(0.8), EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(1) - EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.30078125), EVT_FLOAT(0.5), EVT_FLOAT(1.0)) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.3), EVT_FLOAT(0.5), EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(1) EVT_END_SWITCH EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LW(0), 0, 0, 0, 1, 32) @@ -420,7 +420,7 @@ EvtScript N(takeTurn_8021A5A0) = { EVT_CASE_OR_EQ(0) EVT_CASE_OR_EQ(2) EVT_CALL(UseBattleCamPreset, 2) - EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.1005859375), EVT_FLOAT(0.80078125), EVT_FLOAT(1.0)) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.1), EVT_FLOAT(0.8), EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(1) EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.0), EVT_FLOAT(1.0), EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(1) @@ -430,7 +430,7 @@ EvtScript N(takeTurn_8021A5A0) = { EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_ADD(LW(0), 40) EVT_SET(LW(1), 0) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.80078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.8)) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(JumpToGoal, ACTOR_SELF, 10, FALSE, TRUE, FALSE) EVT_ADD(LW(0), 30) 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 4adfb33b31..61bf11c557 100644 --- a/src/battle/area_kmr_part_2/actor/blue_goomba2.c +++ b/src/battle/area_kmr_part_2/actor/blue_goomba2.c @@ -217,7 +217,7 @@ EvtScript N(handleEvent_8021D8C4) = { EVT_CALL(SetAnimationRate, ACTOR_SELF, 1, EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(5) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_bros_Palette_01_Anim_2) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.6005859375)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.6)) EVT_CALL(JumpToGoal, ACTOR_SELF, 5, FALSE, TRUE, FALSE) EVT_CASE_EQ(38) EVT_SET_CONST(LW(0), 0x00000001) @@ -312,7 +312,7 @@ EvtScript N(takeTurn_8021E0F0) = { EVT_SET(LW(1), 10) EVT_ADD(LW(2), 3) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.2001953125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.2)) EVT_THREAD EVT_CALL(GetActorPos, ACTOR_SELF, LW(1), LW(2), LW(0)) EVT_SET(LW(0), 0) @@ -332,10 +332,10 @@ EvtScript N(takeTurn_8021E0F0) = { EVT_END_THREAD EVT_CALL(JumpToGoal, ACTOR_SELF, 16, FALSE, TRUE, FALSE) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_bros_Palette_01_Anim_D) - EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.1005859375), EVT_FLOAT(0.80078125), EVT_FLOAT(1.0)) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.1), EVT_FLOAT(0.8), EVT_FLOAT(1.0)) EVT_CALL(SetActorDispOffset, ACTOR_SELF, 0, 5, 0) EVT_WAIT_FRAMES(1) - EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.30078125), EVT_FLOAT(0.5), EVT_FLOAT(1.0)) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.3), EVT_FLOAT(0.5), EVT_FLOAT(1.0)) EVT_CALL(SetActorDispOffset, ACTOR_SELF, 0, -2, 0) EVT_WAIT_FRAMES(1) EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.0), EVT_FLOAT(1.0), EVT_FLOAT(1.0)) @@ -379,7 +379,7 @@ EvtScript N(takeTurn_8021E0F0) = { EVT_CALL(SetActorYaw, ACTOR_SELF, 0) EVT_WAIT_FRAMES(5) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_bros_Palette_01_Anim_2) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.6005859375)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.6)) EVT_CALL(JumpToGoal, ACTOR_SELF, 5, FALSE, TRUE, FALSE) EVT_CALL(RemoveActorDecoration, ACTOR_SELF, 1, 0) EVT_CALL(EnableIdleScript, ACTOR_SELF, 1) @@ -388,7 +388,7 @@ EvtScript N(takeTurn_8021E0F0) = { EVT_END_CASE_GROUP EVT_CASE_DEFAULT EVT_CALL(SetGoalToTarget, ACTOR_SELF) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.2001953125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.2)) EVT_THREAD EVT_CALL(GetActorPos, ACTOR_SELF, LW(1), LW(2), LW(0)) EVT_SET(LW(0), 0) @@ -408,9 +408,9 @@ EvtScript N(takeTurn_8021E0F0) = { EVT_END_THREAD EVT_CALL(JumpToGoal, ACTOR_SELF, 16, FALSE, TRUE, FALSE) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_bros_Palette_01_Anim_8) - EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.1005859375), EVT_FLOAT(0.80078125), EVT_FLOAT(1.0)) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.1), EVT_FLOAT(0.8), EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(1) - EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.30078125), EVT_FLOAT(0.5), EVT_FLOAT(1.0)) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.3), EVT_FLOAT(0.5), EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(1) EVT_END_SWITCH EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LW(0), 0, 0, 0, 1, 32) @@ -418,7 +418,7 @@ EvtScript N(takeTurn_8021E0F0) = { EVT_CASE_OR_EQ(0) EVT_CASE_OR_EQ(2) EVT_CALL(UseBattleCamPreset, 2) - EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.1005859375), EVT_FLOAT(0.80078125), EVT_FLOAT(1.0)) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.1), EVT_FLOAT(0.8), EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(1) EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.0), EVT_FLOAT(1.0), EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(1) @@ -428,7 +428,7 @@ EvtScript N(takeTurn_8021E0F0) = { EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_ADD(LW(0), 40) EVT_SET(LW(1), 0) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.80078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.8)) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(JumpToGoal, ACTOR_SELF, 10, FALSE, TRUE, FALSE) EVT_ADD(LW(0), 30) 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 e85eac90fc..ccc82b8e5d 100644 --- a/src/battle/area_kmr_part_2/actor/goomba_king.c +++ b/src/battle/area_kmr_part_2/actor/goomba_king.c @@ -216,7 +216,7 @@ EvtScript N(80220DB0) = { EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_SET(LW(1), 0) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.400390625)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.4)) EVT_CALL(AddGoalPos, ACTOR_SELF, 30, 0, 0) EVT_CALL(JumpToGoal, ACTOR_SELF, 15, FALSE, TRUE, FALSE) EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x20B4) @@ -465,7 +465,7 @@ EvtScript N(80221CD4) = { EVT_WAIT_FRAMES(15) EVT_CALL(func_8024ECF8, 0, 1, 0) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_king_Palette_00_Anim_9) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.80078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.8)) EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(JumpToGoal, ACTOR_SELF, 20, FALSE, TRUE, FALSE) @@ -707,12 +707,12 @@ EvtScript N(80222D9C) = { EVT_IF_EQ(LW(0), 0) EVT_CALL(GetStatusFlags, ACTOR_SELF, LW(0)) EVT_IF_NOT_FLAG(LW(0), 0x80000) - EVT_CALL(ShakeCam, 1, 0, 2, EVT_FLOAT(0.2001953125)) + EVT_CALL(ShakeCam, 1, 0, 2, EVT_FLOAT(0.2)) EVT_END_IF EVT_ELSE EVT_CALL(GetStatusFlags, ACTOR_SELF, LW(0)) EVT_IF_NOT_FLAG(LW(0), 0x80000) - EVT_CALL(ShakeCam, 1, 0, 2, EVT_FLOAT(0.7001953125)) + EVT_CALL(ShakeCam, 1, 0, 2, EVT_FLOAT(0.7)) EVT_END_IF EVT_END_IF EVT_END_IF 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 46d351a008..cd948dd8bd 100644 --- a/src/battle/area_kmr_part_2/actor/goomnut_tree.c +++ b/src/battle/area_kmr_part_2/actor/goomnut_tree.c @@ -235,7 +235,7 @@ EvtScript N(shakeTree) = { EVT_BUF_READ1(LW(2)) EVT_LOOP(LW(2)) EVT_BUF_READ1(LW(3)) - EVT_CALL(N(TransformFoliage), LW(3), EVT_FLOAT(0.1005859375), EVT_FLOAT(0.2001953125), LW(15), 0) + EVT_CALL(N(TransformFoliage), LW(3), EVT_FLOAT(0.1), EVT_FLOAT(0.2), LW(15), 0) EVT_IF_EQ(LF(0), 0) EVT_SET(LF(0), 1) EVT_CALL(PlaySoundAtModel, LW(3), 358, 0) @@ -246,7 +246,7 @@ EvtScript N(shakeTree) = { EVT_BUF_READ1(LW(2)) EVT_LOOP(LW(2)) EVT_BUF_READ1(LW(3)) - EVT_CALL(N(TransformFoliage), LW(3), EVT_FLOAT(0.1005859375), EVT_FLOAT(-0.19921875), LW(15), 0) + EVT_CALL(N(TransformFoliage), LW(3), EVT_FLOAT(0.1), EVT_FLOAT(-0.2), LW(15), 0) EVT_END_LOOP EVT_WAIT_FRAMES(1) EVT_END_LOOP @@ -267,7 +267,7 @@ EvtScript N(shakeTree) = { EVT_BUF_READ1(LW(3)) EVT_LOOP(LW(3)) EVT_BUF_READ1(LW(4)) - EVT_CALL(N(TransformFoliage), LW(4), EVT_FLOAT(0.1005859375), EVT_FLOAT(0.2001953125), LW(15), 0) + EVT_CALL(N(TransformFoliage), LW(4), EVT_FLOAT(0.1), EVT_FLOAT(0.2), LW(15), 0) EVT_IF_EQ(LF(0), 0) EVT_SET(LF(0), 1) EVT_CALL(PlaySoundAtModel, LW(4), 357, 0) @@ -278,7 +278,7 @@ EvtScript N(shakeTree) = { EVT_BUF_READ1(LW(3)) EVT_LOOP(LW(3)) EVT_BUF_READ1(LW(4)) - EVT_CALL(N(TransformFoliage), LW(4), EVT_FLOAT(0.1005859375), EVT_FLOAT(-0.19921875), LW(15), 0) + EVT_CALL(N(TransformFoliage), LW(4), EVT_FLOAT(0.1), EVT_FLOAT(-0.2), LW(15), 0) EVT_END_LOOP EVT_WAIT_FRAMES(1) EVT_END_LOOP @@ -352,7 +352,7 @@ EvtScript N(80223DBC) = { EVT_CALL(SetGoalPos, ACTOR_SELF, 10, 0, 10) EVT_CALL(SetPartFlagBits, -127, 2, 1, 0) EVT_CALL(PlaySoundAtPart, -127, 2, 769) - EVT_CALL(SetPartJumpGravity, -127, 2, EVT_FLOAT(0.80078125)) + EVT_CALL(SetPartJumpGravity, -127, 2, EVT_FLOAT(0.8)) EVT_CALL(SetPartMoveSpeed, -127, 2, EVT_FLOAT(4.0)) EVT_CALL(FallPartTo, -127, 2, 10, 20, 10, 20) EVT_CALL(JumpPartTo, -127, 2, 30, 20, 10, 10, 1) @@ -366,7 +366,7 @@ EvtScript N(80223DBC) = { EVT_RETURN EVT_END_IF EVT_CALL(PlaySoundAtPart, -127, 2, 769) - EVT_CALL(SetPartJumpGravity, -127, 2, EVT_FLOAT(0.80078125)) + EVT_CALL(SetPartJumpGravity, -127, 2, EVT_FLOAT(0.8)) EVT_CALL(SetPartMoveSpeed, -127, 2, EVT_FLOAT(4.0)) EVT_CALL(GetStatusFlags, ACTOR_ENEMY0, LW(0)) EVT_IF_NOT_FLAG(LW(0), 0x80000) @@ -384,7 +384,7 @@ EvtScript N(80223DBC) = { EVT_CALL(GetPartOffset, -127, 2, LW(0), LW(1), LW(2)) EVT_ADD(LW(0), 65) EVT_SET(LW(1), 20) - EVT_CALL(SetPartJumpGravity, -127, 2, EVT_FLOAT(0.7001953125)) + EVT_CALL(SetPartJumpGravity, -127, 2, EVT_FLOAT(0.7)) EVT_CALL(JumpPartTo, -127, 2, LW(0), LW(1), LW(2), 20, 1) EVT_ADD(LW(0), 12) EVT_CALL(JumpPartTo, -127, 2, LW(0), LW(1), LW(2), 8, 1) @@ -403,7 +403,7 @@ EvtScript N(80223DBC) = { EVT_ELSE EVT_ADD(LW(1), 20) EVT_END_IF - EVT_CALL(SetPartJumpGravity, -127, 2, EVT_FLOAT(0.7001953125)) + EVT_CALL(SetPartJumpGravity, -127, 2, EVT_FLOAT(0.7)) EVT_CALL(JumpPartTo, -127, 2, LW(0), LW(1), LW(2), 20, 1) EVT_CALL(SetOwnerTarget, 513, 1) EVT_CALL(SetGoalToTarget, ACTOR_SELF) @@ -413,7 +413,7 @@ EvtScript N(80223DBC) = { EVT_CALL(GetPartOffset, -127, 2, LW(0), LW(1), LW(2)) EVT_ADD(LW(0), 35) EVT_SET(LW(1), 20) - EVT_CALL(SetPartJumpGravity, -127, 2, EVT_FLOAT(0.7001953125)) + EVT_CALL(SetPartJumpGravity, -127, 2, EVT_FLOAT(0.7)) EVT_CALL(JumpPartTo, -127, 2, LW(0), LW(1), LW(2), 20, 1) EVT_ADD(LW(0), 12) EVT_CALL(JumpPartTo, -127, 2, LW(0), LW(1), LW(2), 8, 1) @@ -432,7 +432,7 @@ EvtScript N(80223DBC) = { EVT_ELSE EVT_ADD(LW(1), 20) EVT_END_IF - EVT_CALL(SetPartJumpGravity, -127, 2, EVT_FLOAT(0.7001953125)) + EVT_CALL(SetPartJumpGravity, -127, 2, EVT_FLOAT(0.7)) EVT_CALL(JumpPartTo, -127, 2, LW(0), LW(1), LW(2), 20, 1) EVT_CALL(SetOwnerTarget, 514, 1) EVT_CALL(SetGoalToTarget, ACTOR_SELF) @@ -440,7 +440,7 @@ EvtScript N(80223DBC) = { EVT_CALL(GetPartOffset, -127, 2, LW(0), LW(1), LW(2)) EVT_ADD(LW(0), 20) EVT_SET(LW(1), 20) - EVT_CALL(SetPartJumpGravity, -127, 2, EVT_FLOAT(0.7001953125)) + EVT_CALL(SetPartJumpGravity, -127, 2, EVT_FLOAT(0.7)) EVT_CALL(JumpPartTo, -127, 2, LW(0), LW(1), LW(2), 20, 1) EVT_ADD(LW(0), 12) EVT_CALL(JumpPartTo, -127, 2, LW(0), LW(1), LW(2), 8, 1) 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 142d0bf03d..5fbe91b3b5 100644 --- a/src/battle/area_kmr_part_2/actor/red_goomba.c +++ b/src/battle/area_kmr_part_2/actor/red_goomba.c @@ -219,7 +219,7 @@ EvtScript N(handleEvent_8021BB84) = { EVT_CALL(SetAnimationRate, ACTOR_SELF, 1, EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(5) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_bros_Palette_00_Anim_2) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.6005859375)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.6)) EVT_CALL(JumpToGoal, ACTOR_SELF, 5, FALSE, TRUE, FALSE) EVT_CASE_EQ(38) EVT_SET_CONST(LW(0), 0x00000001) @@ -314,7 +314,7 @@ EvtScript N(takeTurn_8021C3B0) = { EVT_SET(LW(1), 10) EVT_ADD(LW(2), 3) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.2001953125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.2)) EVT_THREAD EVT_CALL(GetActorPos, ACTOR_SELF, LW(1), LW(2), LW(0)) EVT_SET(LW(0), 0) @@ -334,10 +334,10 @@ EvtScript N(takeTurn_8021C3B0) = { EVT_END_THREAD EVT_CALL(JumpToGoal, ACTOR_SELF, 16, FALSE, TRUE, FALSE) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_bros_Palette_00_Anim_D) - EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.1005859375), EVT_FLOAT(0.80078125), EVT_FLOAT(1.0)) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.1), EVT_FLOAT(0.8), EVT_FLOAT(1.0)) EVT_CALL(SetActorDispOffset, ACTOR_SELF, 0, 5, 0) EVT_WAIT_FRAMES(1) - EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.30078125), EVT_FLOAT(0.5), EVT_FLOAT(1.0)) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.3), EVT_FLOAT(0.5), EVT_FLOAT(1.0)) EVT_CALL(SetActorDispOffset, ACTOR_SELF, 0, -2, 0) EVT_WAIT_FRAMES(1) EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.0), EVT_FLOAT(1.0), EVT_FLOAT(1.0)) @@ -381,7 +381,7 @@ EvtScript N(takeTurn_8021C3B0) = { EVT_CALL(SetActorYaw, ACTOR_SELF, 0) EVT_WAIT_FRAMES(5) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_bros_Palette_00_Anim_2) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.6005859375)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.6)) EVT_CALL(JumpToGoal, ACTOR_SELF, 5, FALSE, TRUE, FALSE) EVT_CALL(RemoveActorDecoration, ACTOR_SELF, 1, 0) EVT_CALL(EnableIdleScript, ACTOR_SELF, 1) @@ -390,7 +390,7 @@ EvtScript N(takeTurn_8021C3B0) = { EVT_END_CASE_GROUP EVT_CASE_DEFAULT EVT_CALL(SetGoalToTarget, ACTOR_SELF) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.2001953125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.2)) EVT_THREAD EVT_CALL(GetActorPos, ACTOR_SELF, LW(1), LW(2), LW(0)) EVT_SET(LW(0), 0) @@ -410,9 +410,9 @@ EvtScript N(takeTurn_8021C3B0) = { EVT_END_THREAD EVT_CALL(JumpToGoal, ACTOR_SELF, 16, FALSE, TRUE, FALSE) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_bros_Palette_00_Anim_8) - EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.1005859375), EVT_FLOAT(0.80078125), EVT_FLOAT(1.0)) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.1), EVT_FLOAT(0.8), EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(1) - EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.30078125), EVT_FLOAT(0.5), EVT_FLOAT(1.0)) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.3), EVT_FLOAT(0.5), EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(1) EVT_END_SWITCH EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LW(0), 0, 0, 0, 1, 32) @@ -420,7 +420,7 @@ EvtScript N(takeTurn_8021C3B0) = { EVT_CASE_OR_EQ(0) EVT_CASE_OR_EQ(2) EVT_CALL(UseBattleCamPreset, 2) - EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.1005859375), EVT_FLOAT(0.80078125), EVT_FLOAT(1.0)) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.1), EVT_FLOAT(0.8), EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(1) EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.0), EVT_FLOAT(1.0), EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(1) @@ -430,7 +430,7 @@ EvtScript N(takeTurn_8021C3B0) = { EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_ADD(LW(0), 40) EVT_SET(LW(1), 0) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.80078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.8)) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(JumpToGoal, ACTOR_SELF, 10, FALSE, TRUE, FALSE) EVT_ADD(LW(0), 30) 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 f939b40f21..a9123bed3b 100644 --- a/src/battle/area_kmr_part_2/actor/red_goomba2.c +++ b/src/battle/area_kmr_part_2/actor/red_goomba2.c @@ -217,7 +217,7 @@ EvtScript N(handleEvent_8021F2C4) = { EVT_CALL(SetAnimationRate, ACTOR_SELF, 1, EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(5) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_bros_Palette_00_Anim_2) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.6005859375)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.6)) EVT_CALL(JumpToGoal, ACTOR_SELF, 5, FALSE, TRUE, FALSE) EVT_CASE_EQ(38) EVT_SET_CONST(LW(0), 0x00000001) @@ -312,7 +312,7 @@ EvtScript N(takeTurn_8021FAF0) = { EVT_SET(LW(1), 10) EVT_ADD(LW(2), 3) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.2001953125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.2)) EVT_THREAD EVT_CALL(GetActorPos, ACTOR_SELF, LW(1), LW(2), LW(0)) EVT_SET(LW(0), 0) @@ -332,10 +332,10 @@ EvtScript N(takeTurn_8021FAF0) = { EVT_END_THREAD EVT_CALL(JumpToGoal, ACTOR_SELF, 16, FALSE, TRUE, FALSE) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_bros_Palette_00_Anim_D) - EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.1005859375), EVT_FLOAT(0.80078125), EVT_FLOAT(1.0)) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.1), EVT_FLOAT(0.8), EVT_FLOAT(1.0)) EVT_CALL(SetActorDispOffset, ACTOR_SELF, 0, 5, 0) EVT_WAIT_FRAMES(1) - EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.30078125), EVT_FLOAT(0.5), EVT_FLOAT(1.0)) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.3), EVT_FLOAT(0.5), EVT_FLOAT(1.0)) EVT_CALL(SetActorDispOffset, ACTOR_SELF, 0, -2, 0) EVT_WAIT_FRAMES(1) EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.0), EVT_FLOAT(1.0), EVT_FLOAT(1.0)) @@ -379,7 +379,7 @@ EvtScript N(takeTurn_8021FAF0) = { EVT_CALL(SetActorYaw, ACTOR_SELF, 0) EVT_WAIT_FRAMES(5) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_bros_Palette_00_Anim_2) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.6005859375)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.6)) EVT_CALL(JumpToGoal, ACTOR_SELF, 5, FALSE, TRUE, FALSE) EVT_CALL(RemoveActorDecoration, ACTOR_SELF, 1, 0) EVT_CALL(EnableIdleScript, ACTOR_SELF, 1) @@ -388,7 +388,7 @@ EvtScript N(takeTurn_8021FAF0) = { EVT_END_CASE_GROUP EVT_CASE_DEFAULT EVT_CALL(SetGoalToTarget, ACTOR_SELF) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.2001953125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.2)) EVT_THREAD EVT_CALL(GetActorPos, ACTOR_SELF, LW(1), LW(2), LW(0)) EVT_SET(LW(0), 0) @@ -408,9 +408,9 @@ EvtScript N(takeTurn_8021FAF0) = { EVT_END_THREAD EVT_CALL(JumpToGoal, ACTOR_SELF, 16, FALSE, TRUE, FALSE) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_bros_Palette_00_Anim_8) - EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.1005859375), EVT_FLOAT(0.80078125), EVT_FLOAT(1.0)) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.1), EVT_FLOAT(0.8), EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(1) - EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.30078125), EVT_FLOAT(0.5), EVT_FLOAT(1.0)) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.3), EVT_FLOAT(0.5), EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(1) EVT_END_SWITCH EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LW(0), 0, 0, 0, 1, 32) @@ -418,7 +418,7 @@ EvtScript N(takeTurn_8021FAF0) = { EVT_CASE_OR_EQ(0) EVT_CASE_OR_EQ(2) EVT_CALL(UseBattleCamPreset, 2) - EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.1005859375), EVT_FLOAT(0.80078125), EVT_FLOAT(1.0)) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.1), EVT_FLOAT(0.8), EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(1) EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.0), EVT_FLOAT(1.0), EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(1) @@ -428,7 +428,7 @@ EvtScript N(takeTurn_8021FAF0) = { EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_ADD(LW(0), 40) EVT_SET(LW(1), 0) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.80078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.8)) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(JumpToGoal, ACTOR_SELF, 10, FALSE, TRUE, FALSE) EVT_ADD(LW(0), 30) 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 ecb0456821..64adb1ec05 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 @@ -424,7 +424,7 @@ EvtScript N(takeTurn_80225314) = { EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_SUB(LW(0), 20) EVT_SET(LW(1), 0) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.80078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.8)) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(JumpToGoal, ACTOR_SELF, 10, FALSE, TRUE, FALSE) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_jr_troopa_default_idle) @@ -463,7 +463,7 @@ EvtScript N(takeTurn_80225314) = { EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_ADD(LW(0), 40) EVT_SET(LW(1), 0) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.80078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.8)) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(JumpToGoal, ACTOR_SELF, 10, FALSE, TRUE, FALSE) EVT_ADD(LW(0), 30) 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 7ae8f69a06..e54879249a 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 @@ -617,7 +617,7 @@ EvtScript N(8022DD48) = { EVT_CALL(SetPartFlagBits, -127, 2, 8388608, 1) EVT_WAIT_FRAMES(10) EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(2.0)) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.2001953125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.2)) EVT_CALL(SetGoalToHome, ACTOR_SELF) EVT_CALL(AddGoalPos, ACTOR_SELF, 20, 60, 0) EVT_CALL(FlyToGoal, ACTOR_SELF, 30, 0, 0) @@ -646,7 +646,7 @@ EvtScript N(8022DF54) = { EVT_CALL(SetPartFlagBits, -127, 3, 131073, 0) EVT_CALL(SetPartFlagBits, -127, 3, 8388608, 1) EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(2.0)) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.80078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.8)) EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_SUB(LW(0), 20) EVT_SET(LW(1), 0) @@ -729,7 +729,7 @@ EvtScript N(8022E198) = { EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_jr_troopa_default_jump) EVT_WAIT_FRAMES(2) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_jr_troopa_default_jump_still) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.6005859375)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.6)) EVT_CALL(SetGoalToTarget, ACTOR_SELF) EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_SUB(LW(0), 10) @@ -770,7 +770,7 @@ EvtScript N(8022E198) = { EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_jr_troopa_default_jump) EVT_WAIT_FRAMES(2) EVT_CALL(SetGoalToTarget, ACTOR_SELF) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.6005859375)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.6)) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_jr_troopa_default_jump_still) EVT_THREAD EVT_WAIT_FRAMES(8) @@ -784,7 +784,7 @@ EvtScript N(8022E198) = { EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_ADD(LW(0), 40) EVT_SET(LW(1), 0) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.80078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.8)) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(JumpToGoal, ACTOR_SELF, 10, FALSE, TRUE, FALSE) EVT_ADD(LW(0), 30) @@ -830,7 +830,7 @@ EvtScript N(8022ED10) = { EVT_CALL(BattleCamTargetActor, ACTOR_SELF) EVT_CALL(SetActorSounds, -127, 2, 8416, 0) EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(5.0)) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.80078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.8)) EVT_CALL(SetAnimation, ACTOR_SELF, 2, NPC_ANIM_spiked_para_jr_troopa_default_run) EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) @@ -870,7 +870,7 @@ EvtScript N(8022ED10) = { EVT_CALL(BattleCamTargetActor, ACTOR_SELF) EVT_CALL(SetActorSounds, -127, 2, 8416, 0) EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(5.0)) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.80078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.8)) EVT_CALL(SetAnimation, ACTOR_SELF, 2, NPC_ANIM_spiked_para_jr_troopa_default_run) EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) @@ -1434,9 +1434,9 @@ EvtScript N(802318F8) = { EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x301) EVT_CALL(func_8027D32C, -127) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), 0, LW(2)) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.2001953125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.2)) EVT_CALL(FallToGoal, -127, 10) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.80078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.8)) EVT_CALL(JumpToGoal, ACTOR_SELF, 8, FALSE, TRUE, FALSE) EVT_CALL(HPBarToCurrent, ACTOR_SELF) EVT_CALL(func_8027D2D8, -127) 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 cb9a3e208d..44d1cd224b 100644 --- a/src/battle/area_kmr_part_3/actor/jr_troopa.c +++ b/src/battle/area_kmr_part_3/actor/jr_troopa.c @@ -315,7 +315,7 @@ EvtScript N(takeTurn_802234A4) = { EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_ADD(LW(0), 40) EVT_SET(LW(1), 0) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.80078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.8)) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(JumpToGoal, ACTOR_SELF, 10, FALSE, TRUE, FALSE) EVT_ADD(LW(0), 30) @@ -358,7 +358,7 @@ EvtScript N(takeTurn_802234A4) = { EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_ADD(LW(0), 40) EVT_SET(LW(1), 0) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.80078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.8)) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(JumpToGoal, ACTOR_SELF, 10, FALSE, TRUE, FALSE) EVT_ADD(LW(0), 30) 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 eaef662649..a7df8ce34a 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 @@ -305,7 +305,7 @@ EvtScript N(handleEvent_8022ADD8) = { EVT_SET_CONST(LW(0), 0x00000001) EVT_SET_CONST(LW(1), NPC_ANIM_mage_jr_troopa_default_run) EVT_EXEC_WAIT(DoReturnHome) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.6005859375)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.6)) EVT_CALL(JumpToGoal, ACTOR_SELF, 5, FALSE, TRUE, FALSE) EVT_CASE_EQ(38) EVT_SET_CONST(LW(0), 0x00000001) @@ -383,7 +383,7 @@ EvtScript N(takeTurn_8022B4F0) = { EVT_ELSE EVT_SET(LW(3), 0) EVT_SET(LW(4), 14) - EVT_SETF(LW(5), EVT_FLOAT(0.400390625)) + EVT_SETF(LW(5), EVT_FLOAT(0.4)) EVT_END_IF EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_ADD(LW(0), LW(3)) @@ -408,7 +408,7 @@ EvtScript N(takeTurn_8022B4F0) = { EVT_ELSE EVT_SET(LW(6), -3) EVT_SET(LW(7), 8) - EVT_SETF(LW(8), EVT_FLOAT(0.400390625)) + EVT_SETF(LW(8), EVT_FLOAT(0.4)) EVT_END_IF EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_ADD(LW(0), LW(6)) @@ -434,7 +434,7 @@ EvtScript N(takeTurn_8022B4F0) = { EVT_ELSE EVT_SET(LW(6), -3) EVT_SET(LW(7), 8) - EVT_SETF(LW(8), EVT_FLOAT(0.400390625)) + EVT_SETF(LW(8), EVT_FLOAT(0.4)) EVT_END_IF EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_ADD(LW(0), LW(6)) 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 12a48a8d17..367dbc994a 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 @@ -364,7 +364,7 @@ EvtScript N(80226D4C) = { EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_ADD(LW(0), 40) EVT_SET(LW(1), 0) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.80078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.8)) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(JumpToGoal, ACTOR_SELF, 10, FALSE, TRUE, FALSE) EVT_ADD(LW(0), 30) @@ -411,7 +411,7 @@ EvtScript N(takeTurn_80226F58) = { EVT_CALL(BattleCamTargetActor, ACTOR_SELF) EVT_CALL(SetActorSounds, -127, 2, 8416, 0) EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(5.0)) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.80078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.8)) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_para_jr_troopa_default_run) EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) @@ -450,7 +450,7 @@ EvtScript N(takeTurn_80226F58) = { EVT_CALL(BattleCamTargetActor, ACTOR_SELF) EVT_CALL(SetActorSounds, -127, 2, 8416, 0) EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(5.0)) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.80078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.8)) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_para_jr_troopa_default_run) EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) @@ -541,9 +541,9 @@ EvtScript N(802279B0) = { EVT_CALL(SetActorSounds, -127, 2, 0, 0) EVT_CALL(func_8027D32C, -127) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), 0, LW(2)) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.2001953125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.2)) EVT_CALL(FallToGoal, -127, 10) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.80078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.8)) EVT_CALL(JumpToGoal, ACTOR_SELF, 8, FALSE, TRUE, FALSE) EVT_CALL(HPBarToCurrent, ACTOR_SELF) EVT_CALL(func_8027D2D8, -127) @@ -585,12 +585,12 @@ EvtScript N(80227D38) = { EVT_CALL(ResetAllActorSounds, ACTOR_SELF) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_para_jr_troopa_default_run) EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(6.0)) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.2001953125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.2)) EVT_CALL(SetGoalToHome, ACTOR_SELF) EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(GetActorPos, ACTOR_SELF, LW(3), LW(4), LW(5)) EVT_SUB(LW(4), LW(1)) - EVT_MULF(LW(4), EVT_FLOAT(0.30078125)) + EVT_MULF(LW(4), EVT_FLOAT(0.3)) EVT_CALL(FlyToGoal, ACTOR_SELF, 0, LW(4), 0) EVT_RETURN EVT_END diff --git a/src/battle/area_kmr_part_3/actor/paragoomba.c b/src/battle/area_kmr_part_3/actor/paragoomba.c index f9372b4187..6005288c3d 100644 --- a/src/battle/area_kmr_part_3/actor/paragoomba.c +++ b/src/battle/area_kmr_part_3/actor/paragoomba.c @@ -208,7 +208,7 @@ EvtScript N(idle_8021C4D4) = { EVT_END_LOOP EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_ADD(LW(0), 5) - EVT_CALL(SetActorIdleSpeed, ACTOR_SELF, EVT_FLOAT(0.6005859375)) + EVT_CALL(SetActorIdleSpeed, ACTOR_SELF, EVT_FLOAT(0.6)) EVT_CALL(SetIdleAnimations, ACTOR_SELF, 2, EVT_ADDR(N(idleAnimations_8021C424))) EVT_CALL(SetIdleGoal, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(IdleFlyToGoal, ACTOR_SELF, 0, -5, 0) @@ -223,7 +223,7 @@ EvtScript N(idle_8021C4D4) = { EVT_END_LOOP EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_SUB(LW(0), 5) - EVT_CALL(SetActorIdleSpeed, ACTOR_SELF, EVT_FLOAT(0.6005859375)) + EVT_CALL(SetActorIdleSpeed, ACTOR_SELF, EVT_FLOAT(0.6)) EVT_CALL(SetIdleGoal, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(IdleFlyToGoal, ACTOR_SELF, 0, -5, 0) EVT_CALL(SetIdleAnimations, ACTOR_SELF, 2, EVT_ADDR(N(idleAnimations_8021C3D8))) @@ -391,7 +391,7 @@ EvtScript N(takeTurn_8021CDFC) = { EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x20E0) EVT_CALL(SetActorSounds, -127, 2, 0, 0) EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(5.0)) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.80078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.8)) EVT_CALL(SetAnimation, ACTOR_SELF, 2, NPC_ANIM_paragoomba_default_attack) EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) @@ -441,7 +441,7 @@ EvtScript N(takeTurn_8021CDFC) = { EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x20E0) EVT_CALL(SetActorSounds, -127, 2, 0, 0) EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(5.0)) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.80078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.8)) EVT_CALL(SetAnimation, ACTOR_SELF, 2, NPC_ANIM_paragoomba_default_attack) EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) @@ -501,12 +501,12 @@ EvtScript N(8021D614) = { EVT_CALL(SetActorSounds, -127, 2, 769, 0) EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_SET(LW(1), 0) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.80078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.8)) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(JumpToGoal, ACTOR_SELF, 15, FALSE, TRUE, FALSE) EVT_CALL(N(StartRumbleWithParams), 100, 10) EVT_THREAD - EVT_CALL(ShakeCam, 1, 0, 5, EVT_FLOAT(0.30078125)) + EVT_CALL(ShakeCam, 1, 0, 5, EVT_FLOAT(0.3)) EVT_END_THREAD EVT_CALL(ResetActorSounds, -127, 2) EVT_CALL(GetLastEvent, ACTOR_SELF, LW(3)) @@ -690,7 +690,7 @@ EvtScript N(handleEvent_8021DF5C) = { EVT_CALL(SetAnimationRate, ACTOR_SELF, 1, EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(5) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_normal_idle) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.6005859375)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.6)) EVT_CALL(JumpToGoal, ACTOR_SELF, 5, FALSE, TRUE, FALSE) EVT_CASE_EQ(38) EVT_SET_CONST(LW(0), 0x00000001) @@ -785,7 +785,7 @@ EvtScript N(takeTurn_8021E788) = { EVT_SET(LW(1), 10) EVT_ADD(LW(2), 3) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.2001953125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.2)) EVT_THREAD EVT_CALL(GetActorPos, ACTOR_SELF, LW(1), LW(2), LW(0)) EVT_SET(LW(0), 0) @@ -805,10 +805,10 @@ EvtScript N(takeTurn_8021E788) = { EVT_END_THREAD EVT_CALL(JumpToGoal, ACTOR_SELF, 16, FALSE, TRUE, FALSE) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_normal_asleep) - EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.1005859375), EVT_FLOAT(0.80078125), EVT_FLOAT(1.0)) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.1), EVT_FLOAT(0.8), EVT_FLOAT(1.0)) EVT_CALL(SetActorDispOffset, ACTOR_SELF, 0, 5, 0) EVT_WAIT_FRAMES(1) - EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.30078125), EVT_FLOAT(0.5), EVT_FLOAT(1.0)) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.3), EVT_FLOAT(0.5), EVT_FLOAT(1.0)) EVT_CALL(SetActorDispOffset, ACTOR_SELF, 0, -2, 0) EVT_WAIT_FRAMES(1) EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.0), EVT_FLOAT(1.0), EVT_FLOAT(1.0)) @@ -852,7 +852,7 @@ EvtScript N(takeTurn_8021E788) = { EVT_CALL(SetActorYaw, ACTOR_SELF, 0) EVT_WAIT_FRAMES(5) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_normal_idle) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.6005859375)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.6)) EVT_CALL(JumpToGoal, ACTOR_SELF, 5, FALSE, TRUE, FALSE) EVT_CALL(RemoveActorDecoration, ACTOR_SELF, 1, 0) EVT_CALL(EnableIdleScript, ACTOR_SELF, 1) @@ -861,7 +861,7 @@ EvtScript N(takeTurn_8021E788) = { EVT_END_CASE_GROUP EVT_CASE_DEFAULT EVT_CALL(SetGoalToTarget, ACTOR_SELF) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.2001953125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.2)) EVT_THREAD EVT_CALL(GetActorPos, ACTOR_SELF, LW(1), LW(2), LW(0)) EVT_SET(LW(0), 0) @@ -881,9 +881,9 @@ EvtScript N(takeTurn_8021E788) = { EVT_END_THREAD EVT_CALL(JumpToGoal, ACTOR_SELF, 16, FALSE, TRUE, FALSE) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_normal_pre_headbonk) - EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.1005859375), EVT_FLOAT(0.80078125), EVT_FLOAT(1.0)) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.1), EVT_FLOAT(0.8), EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(1) - EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.30078125), EVT_FLOAT(0.5), EVT_FLOAT(1.0)) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.3), EVT_FLOAT(0.5), EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(1) EVT_END_SWITCH EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LW(0), ((0)), 0, 0, 1, 32) @@ -891,7 +891,7 @@ EvtScript N(takeTurn_8021E788) = { EVT_CASE_OR_EQ(0) EVT_CASE_OR_EQ(2) EVT_CALL(UseBattleCamPreset, 2) - EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.1005859375), EVT_FLOAT(0.80078125), EVT_FLOAT(1.0)) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.1), EVT_FLOAT(0.8), EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(1) EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.0), EVT_FLOAT(1.0), EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(1) @@ -901,7 +901,7 @@ EvtScript N(takeTurn_8021E788) = { EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_ADD(LW(0), 40) EVT_SET(LW(1), 0) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.80078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.8)) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(JumpToGoal, ACTOR_SELF, 10, FALSE, TRUE, FALSE) EVT_ADD(LW(0), 30) 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 3aae8688d2..e64e96f879 100644 --- a/src/battle/area_kmr_part_3/actor/spiked_goomba.c +++ b/src/battle/area_kmr_part_3/actor/spiked_goomba.c @@ -217,7 +217,7 @@ EvtScript N(handleEvent_8021A854) = { EVT_CALL(SetAnimationRate, ACTOR_SELF, 1, EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(5) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_spiked_goomba_default_idle) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.6005859375)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.6)) EVT_CALL(JumpToGoal, ACTOR_SELF, 5, FALSE, TRUE, FALSE) EVT_CASE_EQ(38) EVT_SET_CONST(LW(0), 0x00000001) @@ -327,7 +327,7 @@ EvtScript N(takeTurn_8021B19C) = { EVT_SET(LW(1), 10) EVT_ADD(LW(2), 3) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.2001953125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.2)) EVT_THREAD EVT_CALL(GetActorPos, ACTOR_SELF, LW(1), LW(2), LW(0)) EVT_SET(LW(0), 0) @@ -347,10 +347,10 @@ EvtScript N(takeTurn_8021B19C) = { EVT_END_THREAD EVT_CALL(JumpToGoal, ACTOR_SELF, 16, FALSE, TRUE, FALSE) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_spiked_goomba_default_sleep) - EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.1005859375), EVT_FLOAT(0.80078125), EVT_FLOAT(1.0)) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.1), EVT_FLOAT(0.8), EVT_FLOAT(1.0)) EVT_CALL(SetActorDispOffset, ACTOR_SELF, 0, 5, 0) EVT_WAIT_FRAMES(1) - EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.30078125), EVT_FLOAT(0.5), EVT_FLOAT(1.0)) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.3), EVT_FLOAT(0.5), EVT_FLOAT(1.0)) EVT_CALL(SetActorDispOffset, ACTOR_SELF, 0, -2, 0) EVT_WAIT_FRAMES(1) EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.0), EVT_FLOAT(1.0), EVT_FLOAT(1.0)) @@ -394,7 +394,7 @@ EvtScript N(takeTurn_8021B19C) = { EVT_CALL(SetActorYaw, ACTOR_SELF, 0) EVT_WAIT_FRAMES(5) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_spiked_goomba_default_idle) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.6005859375)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.6)) EVT_CALL(JumpToGoal, ACTOR_SELF, 5, FALSE, TRUE, FALSE) EVT_CALL(RemoveActorDecoration, ACTOR_SELF, 1, 0) EVT_CALL(EnableIdleScript, ACTOR_SELF, 1) @@ -403,7 +403,7 @@ EvtScript N(takeTurn_8021B19C) = { EVT_END_CASE_GROUP EVT_CASE_DEFAULT EVT_CALL(SetGoalToTarget, ACTOR_SELF) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.2001953125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.2)) EVT_THREAD EVT_CALL(GetActorPos, ACTOR_SELF, LW(1), LW(2), LW(0)) EVT_SET(LW(0), 0) @@ -423,9 +423,9 @@ EvtScript N(takeTurn_8021B19C) = { EVT_END_THREAD EVT_CALL(JumpToGoal, ACTOR_SELF, 16, FALSE, TRUE, FALSE) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_spiked_goomba_default_headbonk) - EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.1005859375), EVT_FLOAT(0.80078125), EVT_FLOAT(1.0)) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.1), EVT_FLOAT(0.8), EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(1) - EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.30078125), EVT_FLOAT(0.5), EVT_FLOAT(1.0)) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.3), EVT_FLOAT(0.5), EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(1) EVT_END_SWITCH EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LW(0), ((0)), 0, 0, 2, 32) @@ -433,7 +433,7 @@ EvtScript N(takeTurn_8021B19C) = { EVT_CASE_OR_EQ(0) EVT_CASE_OR_EQ(2) EVT_CALL(UseBattleCamPreset, 2) - EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.1005859375), EVT_FLOAT(0.80078125), EVT_FLOAT(1.0)) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.1), EVT_FLOAT(0.8), EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(1) EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.0), EVT_FLOAT(1.0), EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(1) @@ -443,7 +443,7 @@ EvtScript N(takeTurn_8021B19C) = { EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_ADD(LW(0), 40) EVT_SET(LW(1), 0) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.80078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.8)) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(JumpToGoal, ACTOR_SELF, 10, FALSE, TRUE, FALSE) EVT_ADD(LW(0), 30) 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 55706eda0e..e0191d251c 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 @@ -414,7 +414,7 @@ EvtScript N(80229160) = { EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_ADD(LW(0), 40) EVT_SET(LW(1), 0) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.80078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.8)) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(JumpToGoal, ACTOR_SELF, 10, FALSE, TRUE, FALSE) EVT_ADD(LW(0), 30) @@ -461,7 +461,7 @@ EvtScript N(takeTurn_8022936C) = { EVT_CALL(BattleCamTargetActor, ACTOR_SELF) EVT_CALL(SetActorSounds, -127, 2, 8416, 0) EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(5.0)) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.80078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.8)) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_spiked_para_jr_troopa_default_run) EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) @@ -500,7 +500,7 @@ EvtScript N(takeTurn_8022936C) = { EVT_CALL(BattleCamTargetActor, ACTOR_SELF) EVT_CALL(SetActorSounds, -127, 2, 8416, 0) EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(5.0)) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.80078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.8)) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_spiked_para_jr_troopa_default_run) EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) @@ -640,9 +640,9 @@ EvtScript N(8022A018) = { EVT_CALL(SetActorSounds, -127, 2, 0, 0) EVT_CALL(func_8027D32C, -127) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), 0, LW(2)) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.2001953125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.2)) EVT_CALL(FallToGoal, -127, 10) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.80078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.8)) EVT_CALL(JumpToGoal, ACTOR_SELF, 8, FALSE, TRUE, FALSE) EVT_CALL(HPBarToCurrent, ACTOR_SELF) EVT_CALL(func_8027D2D8, -127) @@ -684,12 +684,12 @@ EvtScript N(8022A39C) = { EVT_CALL(ResetAllActorSounds, ACTOR_SELF) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_spiked_para_jr_troopa_default_run) EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(6.0)) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.2001953125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.2)) EVT_CALL(SetGoalToHome, ACTOR_SELF) EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(GetActorPos, ACTOR_SELF, LW(3), LW(4), LW(5)) EVT_SUB(LW(4), LW(1)) - EVT_MULF(LW(4), EVT_FLOAT(0.30078125)) + EVT_MULF(LW(4), EVT_FLOAT(0.3)) EVT_CALL(FlyToGoal, ACTOR_SELF, 0, LW(4), 0) EVT_RETURN EVT_END diff --git a/src/battle/area_mac/actor/chan.c b/src/battle/area_mac/actor/chan.c index 90a9065a5d..1d6e4fa628 100644 --- a/src/battle/area_mac/actor/chan.c +++ b/src/battle/area_mac/actor/chan.c @@ -182,7 +182,7 @@ EvtScript N(8021A12C) = { EVT_CALL(SetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_SET(LW(1), 0) EVT_CALL(SetActorSounds, -127, 2, 769, 0) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.80078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.8)) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(JumpToGoal, ACTOR_SELF, 15, FALSE, TRUE, FALSE) EVT_CALL(GetIndexFromPos, -127, LW(10)) @@ -605,7 +605,7 @@ EvtScript N(takeTurn_8021B81C) = { EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_SUB(LW(1), 24) EVT_CALL(SetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.80078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.8)) EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_SET(LW(1), 0) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) @@ -645,7 +645,7 @@ EvtScript N(takeTurn_8021B81C) = { EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_SUB(LW(1), 24) EVT_CALL(SetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.80078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.8)) EVT_CALL(SetGoalToTarget, ACTOR_SELF) EVT_CALL(GetGoalPos, ACTOR_SELF, LW(3), LW(4), LW(5)) EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) @@ -797,7 +797,7 @@ EvtScript N(takeTurn_Chan) = { EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_ADD(LW(0), 40) EVT_SET(LW(1), 0) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.80078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.8)) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(JumpToGoal, ACTOR_SELF, 10, FALSE, TRUE, FALSE) EVT_ADD(LW(0), 30) diff --git a/src/battle/area_mac/actor/lee.c b/src/battle/area_mac/actor/lee.c index 99a8116fe8..bdd3d98a26 100644 --- a/src/battle/area_mac/actor/lee.c +++ b/src/battle/area_mac/actor/lee.c @@ -111,8 +111,9 @@ extern EvtScript N(handleEvent_8021D600); extern EvtScript N(nextTurn_8022A038); extern EvtScript N(copyPartner); -extern s32 D_80232C20[]; -extern s32 D_80232C50; +BSS char N(pad)[8]; // BSS Alignment Hack +BSS s32 D_80232C20[12]; +BSS s32 D_80232C50; ApiStatus func_802180D0_464560(Evt* script, s32 isInitialCall) { s32 i; @@ -274,7 +275,7 @@ EvtScript N(flyingTackle) = { EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_lee_Palette_00_Anim_9) EVT_CALL(SetGoalToTarget, ACTOR_SELF) EVT_CALL(AddGoalPos, ACTOR_SELF, -100, 0, 0) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.30078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.3)) EVT_CALL(JumpToGoal, ACTOR_SELF, 17, FALSE, TRUE, FALSE) EVT_IF_EQ(LW(10), 5) EVT_CALL(EnemyTestTarget, ACTOR_SELF, LW(0), DAMAGE_TYPE_TRIGGER_LUCKY, 0, 0, 0) @@ -304,7 +305,7 @@ EvtScript N(flyingTackle) = { EVT_ELSE EVT_CALL(AddGoalPos, ACTOR_SELF, 10, -15, 0) EVT_END_IF - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.30078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.3)) EVT_CALL(JumpToGoal, ACTOR_SELF, 12, FALSE, TRUE, FALSE) EVT_WAIT_FRAMES(2) EVT_CALL(SetGoalToTarget, ACTOR_SELF) @@ -413,7 +414,7 @@ EvtScript N(8021E5DC) = { EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_ADD(LW(0), 15) EVT_ADD(LW(1), 10) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.1005859375)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.1)) EVT_CALL(SetAnimation, ACTOR_SELF, LW(10), LW(11)) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(JumpToGoal, ACTOR_SELF, 5, FALSE, FALSE, FALSE) @@ -434,7 +435,7 @@ EvtScript N(8021E5DC) = { EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_ADD(LW(0), 60) EVT_SET(LW(1), 0) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.400390625)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.4)) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(JumpToGoal, ACTOR_SELF, 15, FALSE, TRUE, FALSE) EVT_ADD(LW(0), 20) @@ -679,7 +680,7 @@ EvtScript N(8021F08C) = { EVT_CALL(JumpToGoal, ACTOR_SELF, 15, FALSE, TRUE, FALSE) EVT_CALL(GetStatusFlags, ACTOR_SELF, LW(10)) EVT_IF_FLAG(LW(10), 0x80000) - EVT_SETF(LW(5), EVT_FLOAT(7.2001953125)) + EVT_SETF(LW(5), EVT_FLOAT(7.2)) EVT_ELSE EVT_SET(LW(5), 18) EVT_END_IF @@ -763,9 +764,9 @@ EvtScript N(8021F6E0) = { EVT_EXEC_WAIT(N(8021F5F8)) EVT_CALL(GetStatusFlags, ACTOR_SELF, LW(10)) EVT_IF_FLAG(LW(10), 0x80000) - EVT_SETF(LW(0), EVT_FLOAT(7.2001953125)) - EVT_SETF(LW(1), EVT_FLOAT(7.6005859375)) - EVT_SETF(LW(1), EVT_FLOAT(3.6005859375)) + EVT_SETF(LW(0), EVT_FLOAT(7.2)) + EVT_SETF(LW(1), EVT_FLOAT(7.6)) + EVT_SETF(LW(1), EVT_FLOAT(3.6)) EVT_ELSE EVT_SET(LW(0), 18) EVT_SET(LW(1), 19) @@ -804,9 +805,9 @@ EvtScript N(8021F6E0) = { EVT_END_CASE_GROUP EVT_END_SWITCH EVT_CHILD_THREAD - EVT_CALL(SetPartScale, -127, 1, EVT_FLOAT(1.1005859375), EVT_FLOAT(0.80078125), EVT_FLOAT(1.0)) + EVT_CALL(SetPartScale, -127, 1, EVT_FLOAT(1.1), EVT_FLOAT(0.8), EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(1) - EVT_CALL(SetPartScale, -127, 1, EVT_FLOAT(1.30078125), EVT_FLOAT(0.5), EVT_FLOAT(1.0)) + EVT_CALL(SetPartScale, -127, 1, EVT_FLOAT(1.3), EVT_FLOAT(0.5), EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(1) EVT_CALL(SetPartScale, -127, 1, EVT_FLOAT(1.0), EVT_FLOAT(1.0), EVT_FLOAT(1.0)) EVT_END_CHILD_THREAD @@ -882,9 +883,9 @@ EvtScript N(8021F6E0) = { EVT_CALL(EnableActorBlur, -127, 0) EVT_END_SWITCH EVT_CHILD_THREAD - EVT_CALL(SetPartScale, -127, 1, EVT_FLOAT(1.1005859375), EVT_FLOAT(0.80078125), EVT_FLOAT(1.0)) + EVT_CALL(SetPartScale, -127, 1, EVT_FLOAT(1.1), EVT_FLOAT(0.8), EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(1) - EVT_CALL(SetPartScale, -127, 1, EVT_FLOAT(1.30078125), EVT_FLOAT(0.5), EVT_FLOAT(1.0)) + EVT_CALL(SetPartScale, -127, 1, EVT_FLOAT(1.3), EVT_FLOAT(0.5), EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(1) EVT_CALL(SetPartScale, -127, 1, EVT_FLOAT(1.0), EVT_FLOAT(1.0), EVT_FLOAT(1.0)) EVT_END_CHILD_THREAD @@ -936,7 +937,7 @@ ApiStatus func_80218E2C_4652BC(Evt* script, s32 isInitialCall) { EvtScript N(80220100) = { EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE) EVT_CALL(EnableIdleScript, ACTOR_SELF, 0) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.80078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.8)) EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(JumpToGoal, ACTOR_SELF, 10, FALSE, TRUE, FALSE) @@ -1487,7 +1488,7 @@ EvtScript N(takeTurn_80221200) = { EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_ADD(LW(0), 60) EVT_SET(LW(1), 0) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.400390625)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.4)) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(JumpToGoal, ACTOR_SELF, 20, FALSE, TRUE, FALSE) EVT_ADD(LW(0), 30) @@ -1831,7 +1832,7 @@ EvtScript N(takeTurn_802229C4) = { EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_ADD(LW(0), 40) EVT_SET(LW(1), 0) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.400390625)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.4)) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(JumpToGoal, ACTOR_SELF, 20, FALSE, TRUE, FALSE) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_battle_bombette_Palette_00_Anim_E) @@ -2200,7 +2201,7 @@ EvtScript N(80223B74) = { EVT_CASE_OR_EQ(2) EVT_CALL(UseBattleCamPreset, 2) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_battle_parakarry_Palette_00_Anim_5) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.400390625)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.4)) EVT_CALL(AddGoalPos, ACTOR_SELF, 50, 0, 0) EVT_CALL(JumpToGoal, ACTOR_SELF, 15, FALSE, FALSE, FALSE) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_battle_parakarry_Palette_00_Anim_0) @@ -2540,7 +2541,7 @@ EvtScript N(takeTurn_80224CA0) = { EVT_CASE_OR_EQ(5) EVT_SET(LW(10), LW(0)) EVT_CALL(UseBattleCamPreset, 2) - EVT_CALL(SetPartScale, -127, 1, EVT_FLOAT(1.400390625), EVT_FLOAT(1.400390625), EVT_FLOAT(1.0)) + EVT_CALL(SetPartScale, -127, 1, EVT_FLOAT(1.4), EVT_FLOAT(1.4), EVT_FLOAT(1.0)) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_battle_bow_Palette_00_Anim_7) EVT_WAIT_FRAMES(2) EVT_CALL(SetPartScale, -127, 1, EVT_FLOAT(1.0), EVT_FLOAT(1.0), EVT_FLOAT(1.0)) @@ -2602,7 +2603,7 @@ EvtScript N(takeTurn_80224CA0) = { EVT_LOOP(LW(7)) EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x2019) EVT_ADD(LW(10), 1) - EVT_CALL(SetPartScale, -127, 1, EVT_FLOAT(1.400390625), EVT_FLOAT(1.400390625), EVT_FLOAT(1.0)) + EVT_CALL(SetPartScale, -127, 1, EVT_FLOAT(1.4), EVT_FLOAT(1.4), EVT_FLOAT(1.0)) EVT_IF_EQ(LF(0), 0) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_battle_bow_Palette_00_Anim_7) EVT_SET(LF(0), 1) @@ -2626,7 +2627,7 @@ EvtScript N(takeTurn_80224CA0) = { EVT_CALL(ShakeCam, 1, 0, 2, EVT_FLOAT(0.5)) EVT_CALL(ShakeCam, 1, 0, 2, EVT_FLOAT(1.5)) EVT_CALL(ShakeCam, 1, 0, 1, EVT_FLOAT(0.5)) - EVT_CALL(ShakeCam, 1, 0, 1, EVT_FLOAT(0.2001953125)) + EVT_CALL(ShakeCam, 1, 0, 1, EVT_FLOAT(0.2)) EVT_END_THREAD EVT_CALL(GetActorVar, -127, 1, LW(9)) EVT_SWITCH(LW(9)) @@ -3020,11 +3021,11 @@ EvtScript N(takeTurn_80226004) = { EVT_IF_FLAG(LW(0), 0x80000) EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_ADD(LW(1), 4) - EVT_CALL(PlayEffect, 0x33, 8, LW(0), LW(1), LW(2), EVT_FLOAT(0.5205078125), LW(10), 0, 0, 0, 0, 0, 0, 0) + EVT_CALL(PlayEffect, 0x33, 8, LW(0), LW(1), LW(2), EVT_FLOAT(0.5205), LW(10), 0, 0, 0, 0, 0, 0, 0) EVT_ELSE EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_ADD(LW(1), 12) - EVT_CALL(PlayEffect, 0x33, 8, LW(0), LW(1), LW(2), EVT_FLOAT(1.30078125), LW(10), 0, 0, 0, 0, 0, 0, 0) + EVT_CALL(PlayEffect, 0x33, 8, LW(0), LW(1), LW(2), EVT_FLOAT(1.3), LW(10), 0, 0, 0, 0, 0, 0, 0) EVT_END_IF EVT_CALL(N(UnkBackgroundFunc3)) EVT_SET(LW(9), 0) @@ -3373,24 +3374,24 @@ EvtScript N(takeTurn_802270BC) = { EVT_CALL(SetPartScale, -127, 1, EVT_FLOAT(1.0), EVT_FLOAT(1.0), EVT_FLOAT(1.0)) EVT_CASE_EQ(1) EVT_WAIT_FRAMES(13) - EVT_CALL(SetPartScale, -127, 1, EVT_FLOAT(1.05078125), EVT_FLOAT(1.05078125), EVT_FLOAT(1.05078125)) + EVT_CALL(SetPartScale, -127, 1, EVT_FLOAT(1.05), EVT_FLOAT(1.05), EVT_FLOAT(1.05)) EVT_WAIT_FRAMES(1) - EVT_CALL(SetPartScale, -127, 1, EVT_FLOAT(1.1005859375), EVT_FLOAT(1.1005859375), EVT_FLOAT(1.1005859375)) + EVT_CALL(SetPartScale, -127, 1, EVT_FLOAT(1.1), EVT_FLOAT(1.1), EVT_FLOAT(1.1)) EVT_WAIT_FRAMES(1) - EVT_CALL(SetPartScale, -127, 1, EVT_FLOAT(1.150390625), EVT_FLOAT(1.150390625), EVT_FLOAT(1.150390625)) + EVT_CALL(SetPartScale, -127, 1, EVT_FLOAT(1.15), EVT_FLOAT(1.15), EVT_FLOAT(1.15)) EVT_WAIT_FRAMES(1) - EVT_CALL(SetPartScale, -127, 1, EVT_FLOAT(1.2001953125), EVT_FLOAT(1.2001953125), EVT_FLOAT(1.2001953125)) + EVT_CALL(SetPartScale, -127, 1, EVT_FLOAT(1.2), EVT_FLOAT(1.2), EVT_FLOAT(1.2)) EVT_WAIT_FRAMES(1) EVT_CALL(SetPartScale, -127, 1, EVT_FLOAT(1.25), EVT_FLOAT(1.25), EVT_FLOAT(1.25)) EVT_CASE_EQ(2) EVT_WAIT_FRAMES(13) - EVT_CALL(SetPartScale, -127, 1, EVT_FLOAT(1.1005859375), EVT_FLOAT(1.1005859375), EVT_FLOAT(1.1005859375)) + EVT_CALL(SetPartScale, -127, 1, EVT_FLOAT(1.1), EVT_FLOAT(1.1), EVT_FLOAT(1.1)) EVT_WAIT_FRAMES(1) - EVT_CALL(SetPartScale, -127, 1, EVT_FLOAT(1.2001953125), EVT_FLOAT(1.2001953125), EVT_FLOAT(1.2001953125)) + EVT_CALL(SetPartScale, -127, 1, EVT_FLOAT(1.2), EVT_FLOAT(1.2), EVT_FLOAT(1.2)) EVT_WAIT_FRAMES(1) - EVT_CALL(SetPartScale, -127, 1, EVT_FLOAT(1.30078125), EVT_FLOAT(1.30078125), EVT_FLOAT(1.30078125)) + EVT_CALL(SetPartScale, -127, 1, EVT_FLOAT(1.3), EVT_FLOAT(1.3), EVT_FLOAT(1.3)) EVT_WAIT_FRAMES(1) - EVT_CALL(SetPartScale, -127, 1, EVT_FLOAT(1.400390625), EVT_FLOAT(1.400390625), EVT_FLOAT(1.400390625)) + EVT_CALL(SetPartScale, -127, 1, EVT_FLOAT(1.4), EVT_FLOAT(1.4), EVT_FLOAT(1.4)) EVT_WAIT_FRAMES(1) EVT_CALL(SetPartScale, -127, 1, EVT_FLOAT(1.5), EVT_FLOAT(1.5), EVT_FLOAT(1.5)) EVT_END_SWITCH @@ -3452,37 +3453,37 @@ EvtScript N(takeTurn_802270BC) = { EVT_SWITCH(LW(0)) EVT_CASE_EQ(0) EVT_WAIT_FRAMES(13) - EVT_CALL(SetPartScale, -127, 1, EVT_FLOAT(1.1005859375), EVT_FLOAT(1.1005859375), EVT_FLOAT(1.1005859375)) + EVT_CALL(SetPartScale, -127, 1, EVT_FLOAT(1.1), EVT_FLOAT(1.1), EVT_FLOAT(1.1)) EVT_WAIT_FRAMES(1) - EVT_CALL(SetPartScale, -127, 1, EVT_FLOAT(1.1005859375), EVT_FLOAT(1.1005859375), EVT_FLOAT(1.1005859375)) + EVT_CALL(SetPartScale, -127, 1, EVT_FLOAT(1.1), EVT_FLOAT(1.1), EVT_FLOAT(1.1)) EVT_WAIT_FRAMES(1) - EVT_CALL(SetPartScale, -127, 1, EVT_FLOAT(1.2001953125), EVT_FLOAT(1.2001953125), EVT_FLOAT(1.2001953125)) + EVT_CALL(SetPartScale, -127, 1, EVT_FLOAT(1.2), EVT_FLOAT(1.2), EVT_FLOAT(1.2)) EVT_WAIT_FRAMES(1) - EVT_CALL(SetPartScale, -127, 1, EVT_FLOAT(1.2001953125), EVT_FLOAT(1.2001953125), EVT_FLOAT(1.2001953125)) + EVT_CALL(SetPartScale, -127, 1, EVT_FLOAT(1.2), EVT_FLOAT(1.2), EVT_FLOAT(1.2)) EVT_WAIT_FRAMES(1) - EVT_CALL(SetPartScale, -127, 1, EVT_FLOAT(1.30078125), EVT_FLOAT(1.30078125), EVT_FLOAT(1.30078125)) + EVT_CALL(SetPartScale, -127, 1, EVT_FLOAT(1.3), EVT_FLOAT(1.3), EVT_FLOAT(1.3)) EVT_CASE_EQ(1) EVT_WAIT_FRAMES(13) - EVT_CALL(SetPartScale, -127, 1, EVT_FLOAT(1.150390625), EVT_FLOAT(1.150390625), EVT_FLOAT(1.150390625)) + EVT_CALL(SetPartScale, -127, 1, EVT_FLOAT(1.15), EVT_FLOAT(1.15), EVT_FLOAT(1.15)) EVT_WAIT_FRAMES(1) - EVT_CALL(SetPartScale, -127, 1, EVT_FLOAT(1.2001953125), EVT_FLOAT(1.2001953125), EVT_FLOAT(1.2001953125)) + EVT_CALL(SetPartScale, -127, 1, EVT_FLOAT(1.2), EVT_FLOAT(1.2), EVT_FLOAT(1.2)) EVT_WAIT_FRAMES(1) - EVT_CALL(SetPartScale, -127, 1, EVT_FLOAT(1.3505859375), EVT_FLOAT(1.3505859375), EVT_FLOAT(1.3505859375)) + EVT_CALL(SetPartScale, -127, 1, EVT_FLOAT(1.35), EVT_FLOAT(1.35), EVT_FLOAT(1.35)) EVT_WAIT_FRAMES(1) - EVT_CALL(SetPartScale, -127, 1, EVT_FLOAT(1.400390625), EVT_FLOAT(1.400390625), EVT_FLOAT(1.400390625)) + EVT_CALL(SetPartScale, -127, 1, EVT_FLOAT(1.4), EVT_FLOAT(1.4), EVT_FLOAT(1.4)) EVT_WAIT_FRAMES(1) EVT_CALL(SetPartScale, -127, 1, EVT_FLOAT(1.55078125), EVT_FLOAT(1.55078125), EVT_FLOAT(1.55078125)) EVT_CASE_EQ(2) EVT_WAIT_FRAMES(13) - EVT_CALL(SetPartScale, -127, 1, EVT_FLOAT(1.2001953125), EVT_FLOAT(1.2001953125), EVT_FLOAT(1.2001953125)) + EVT_CALL(SetPartScale, -127, 1, EVT_FLOAT(1.2), EVT_FLOAT(1.2), EVT_FLOAT(1.2)) EVT_WAIT_FRAMES(1) - EVT_CALL(SetPartScale, -127, 1, EVT_FLOAT(1.30078125), EVT_FLOAT(1.30078125), EVT_FLOAT(1.30078125)) + EVT_CALL(SetPartScale, -127, 1, EVT_FLOAT(1.3), EVT_FLOAT(1.3), EVT_FLOAT(1.3)) EVT_WAIT_FRAMES(1) EVT_CALL(SetPartScale, -127, 1, EVT_FLOAT(1.5), EVT_FLOAT(1.5), EVT_FLOAT(1.5)) EVT_WAIT_FRAMES(1) - EVT_CALL(SetPartScale, -127, 1, EVT_FLOAT(1.6005859375), EVT_FLOAT(1.6005859375), EVT_FLOAT(1.6005859375)) + EVT_CALL(SetPartScale, -127, 1, EVT_FLOAT(1.6), EVT_FLOAT(1.6), EVT_FLOAT(1.6)) EVT_WAIT_FRAMES(1) - EVT_CALL(SetPartScale, -127, 1, EVT_FLOAT(1.80078125), EVT_FLOAT(1.80078125), EVT_FLOAT(1.80078125)) + EVT_CALL(SetPartScale, -127, 1, EVT_FLOAT(1.8), EVT_FLOAT(1.8), EVT_FLOAT(1.8)) EVT_END_SWITCH EVT_END_THREAD EVT_CALL(SetActorSounds, -127, 2, 0, 0) @@ -3493,7 +3494,7 @@ EvtScript N(takeTurn_802270BC) = { EVT_WAIT_FRAMES(10) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_battle_sushie_Palette_00_Anim_6) EVT_END_THREAD - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.6005859375)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.6)) EVT_CALL(JumpToGoal, ACTOR_SELF, 20, FALSE, TRUE, FALSE) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_battle_sushie_Palette_00_Anim_7) EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, 0) @@ -3521,7 +3522,7 @@ EvtScript N(takeTurn_802270BC) = { EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_ADD(LW(0), 60) EVT_SET(LW(1), 0) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.400390625)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.4)) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(JumpToGoal, ACTOR_SELF, 20, FALSE, TRUE, FALSE) EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x29A) @@ -3817,7 +3818,7 @@ EvtScript N(takeTurn_80228B78) = { EVT_ADD(LW(0), -1) EVT_ADD(LW(1), 4) EVT_ADD(LW(2), 2) - EVT_CALL(SetPartScale, -127, 3, EVT_FLOAT(0.400390625), EVT_FLOAT(0.400390625), EVT_FLOAT(0.400390625)) + EVT_CALL(SetPartScale, -127, 3, EVT_FLOAT(0.4), EVT_FLOAT(0.4), EVT_FLOAT(0.4)) EVT_ELSE EVT_ADD(LW(0), -3) EVT_ADD(LW(1), 10) @@ -3832,7 +3833,7 @@ EvtScript N(takeTurn_80228B78) = { EVT_LOOP(4) EVT_CALL(GetStatusFlags, ACTOR_SELF, LW(10)) EVT_IF_FLAG(LW(10), 0x80000) - EVT_ADDF(LW(1), EVT_FLOAT(2.400390625)) + EVT_ADDF(LW(1), EVT_FLOAT(2.4)) EVT_ELSE EVT_ADD(LW(1), 6) EVT_END_IF @@ -3845,7 +3846,7 @@ EvtScript N(takeTurn_80228B78) = { EVT_ADD(LW(0), -3) EVT_ADD(LW(1), 16) EVT_ADD(LW(2), 2) - EVT_SETF(LW(3), EVT_FLOAT(0.400390625)) + EVT_SETF(LW(3), EVT_FLOAT(0.4)) EVT_ELSE EVT_ADD(LW(0), -8) EVT_ADD(LW(1), 40) @@ -3997,7 +3998,7 @@ EvtScript N(copyPartner) = { EVT_CALL(GetStatusFlags, ACTOR_SELF, LW(10)) EVT_IF_FLAG(LW(10), 0x80000) EVT_ADD(LW(1), 8) - EVT_SETF(LW(3), EVT_FLOAT(0.400390625)) + EVT_SETF(LW(3), EVT_FLOAT(0.4)) EVT_ELSE EVT_ADD(LW(1), 20) EVT_SETF(LW(3), EVT_FLOAT(1.0)) @@ -4075,7 +4076,7 @@ EvtScript N(copyPartner) = { EVT_SWITCH(LW(5)) EVT_CASE_EQ(8) EVT_CALL(GetActorPos, LW(10), LW(0), LW(1), LW(2)) - EVT_CALL(SetActorJumpGravity, LW(10), EVT_FLOAT(0.0107421875)) + EVT_CALL(SetActorJumpGravity, LW(10), EVT_FLOAT(0.01)) EVT_CALL(SetGoalPos, LW(10), LW(0), 10, LW(2)) EVT_CALL(JumpToGoal, LW(10), 10, FALSE, FALSE, FALSE) EVT_WAIT_FRAMES(10) @@ -4083,7 +4084,7 @@ EvtScript N(copyPartner) = { EVT_CASE_OR_EQ(9) EVT_CASE_OR_EQ(4) EVT_CALL(GetActorPos, LW(10), LW(0), LW(1), LW(2)) - EVT_CALL(SetActorJumpGravity, LW(10), EVT_FLOAT(0.0107421875)) + EVT_CALL(SetActorJumpGravity, LW(10), EVT_FLOAT(0.01)) EVT_CALL(SetGoalPos, LW(10), LW(0), 30, LW(2)) EVT_CALL(JumpToGoal, LW(10), 20, FALSE, FALSE, FALSE) EVT_END_CASE_GROUP diff --git a/src/battle/area_mac/actor/master1.c b/src/battle/area_mac/actor/master1.c index f6ed0ccfc4..40c0000b84 100644 --- a/src/battle/area_mac/actor/master1.c +++ b/src/battle/area_mac/actor/master1.c @@ -158,7 +158,7 @@ EvtScript N(8022A4A4) = { EVT_CALL(SetAnimationRate, ACTOR_SELF, 1, EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(5) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_the_master_Palette_00_Anim_5) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.6005859375)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.6)) EVT_CALL(JumpToGoal, ACTOR_SELF, 5, FALSE, TRUE, FALSE) EVT_CASE_OR_EQ(23) EVT_CASE_OR_EQ(25) @@ -225,7 +225,7 @@ EvtScript N(takeTurn_8022AA54) = { EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_the_master_Palette_00_Anim_7) EVT_CALL(SetGoalToTarget, ACTOR_SELF) EVT_CALL(AddGoalPos, ACTOR_SELF, 30, 0, 0) - EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(4.6005859375)) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(4.6)) EVT_CALL(RunToGoal, ACTOR_SELF, 0, FALSE) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_the_master_Palette_00_Anim_2) EVT_WAIT_FRAMES(10) @@ -263,7 +263,7 @@ EvtScript N(takeTurn_8022AA54) = { EVT_END_IF EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_the_master_Palette_00_Anim_2) EVT_CALL(SetGoalToHome, ACTOR_SELF) - EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(3.80078125)) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(3.8)) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_the_master_Palette_00_Anim_7) EVT_CALL(RunToGoal, ACTOR_SELF, 0, FALSE) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_the_master_Palette_00_Anim_2) diff --git a/src/battle/area_mac/actor/master2.c b/src/battle/area_mac/actor/master2.c index 9d10f6b2d0..ced454fc62 100644 --- a/src/battle/area_mac/actor/master2.c +++ b/src/battle/area_mac/actor/master2.c @@ -170,7 +170,7 @@ EvtScript N(8022B8C0) = { EVT_CALL(SetAnimationRate, ACTOR_SELF, 1, EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(5) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_the_master_Palette_00_Anim_6) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.6005859375)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.6)) EVT_CALL(JumpToGoal, ACTOR_SELF, 5, FALSE, TRUE, FALSE) EVT_CASE_OR_EQ(23) EVT_CASE_OR_EQ(25) @@ -235,7 +235,7 @@ EvtScript N(singleStrike2) = { EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_the_master_Palette_00_Anim_8) EVT_CALL(SetGoalToTarget, ACTOR_SELF) EVT_CALL(AddGoalPos, ACTOR_SELF, 50, 0, 0) - EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(3.80078125)) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(3.8)) EVT_CALL(RunToGoal, ACTOR_SELF, 0, FALSE) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_the_master_Palette_00_Anim_3) EVT_WAIT_FRAMES(10) @@ -300,7 +300,7 @@ EvtScript N(singleStrike2) = { EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_ADD(LW(0), 50) EVT_SET(LW(1), 0) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.2001953125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.2)) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_the_master_Palette_00_Anim_21) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(JumpToGoal, ACTOR_SELF, 15, FALSE, TRUE, FALSE) @@ -320,7 +320,7 @@ EvtScript N(singleStrike2) = { EVT_END_SWITCH EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_the_master_Palette_00_Anim_3) EVT_CALL(SetGoalToHome, ACTOR_SELF) - EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(3.80078125)) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(3.8)) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_the_master_Palette_00_Anim_8) EVT_CALL(RunToGoal, ACTOR_SELF, 0, FALSE) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_the_master_Palette_00_Anim_3) @@ -395,7 +395,7 @@ EvtScript N(doubleStrike2) = { EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_JUMP_3E2) EVT_CALL(EnableActorBlur, -127, 1) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_the_master_Palette_00_Anim_14) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.900390625)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.9)) EVT_CALL(JumpToGoal, ACTOR_SELF, 25, FALSE, TRUE, FALSE) EVT_CALL(EnableActorBlur, -127, 0) EVT_END_THREAD @@ -403,7 +403,7 @@ EvtScript N(doubleStrike2) = { EVT_CALL(ShakeCam, 1, 0, 2, EVT_FLOAT(0.5)) EVT_CALL(ShakeCam, 1, 0, 2, EVT_FLOAT(1.5)) EVT_CALL(ShakeCam, 1, 0, 2, EVT_FLOAT(0.5)) - EVT_CALL(ShakeCam, 1, 0, 2, EVT_FLOAT(0.2001953125)) + EVT_CALL(ShakeCam, 1, 0, 2, EVT_FLOAT(0.2)) EVT_END_THREAD EVT_WAIT_FRAMES(2) EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x3ED) @@ -430,7 +430,7 @@ EvtScript N(doubleStrike2) = { EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_ADD(LW(0), 50) EVT_SET(LW(1), 0) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.80078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.8)) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_the_master_Palette_00_Anim_21) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(JumpToGoal, ACTOR_SELF, 30, FALSE, TRUE, FALSE) @@ -450,7 +450,7 @@ EvtScript N(doubleStrike2) = { EVT_END_SWITCH EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_the_master_Palette_00_Anim_3) EVT_CALL(SetGoalToHome, ACTOR_SELF) - EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(3.80078125)) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(3.8)) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_the_master_Palette_00_Anim_8) EVT_CALL(RunToGoal, ACTOR_SELF, 0, FALSE) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_the_master_Palette_00_Anim_3) diff --git a/src/battle/area_mac/actor/master3.c b/src/battle/area_mac/actor/master3.c index db046dcb60..ea33500ec7 100644 --- a/src/battle/area_mac/actor/master3.c +++ b/src/battle/area_mac/actor/master3.c @@ -195,7 +195,7 @@ EvtScript N(8022DC44) = { EVT_CALL(SetAnimationRate, ACTOR_SELF, 1, EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(5) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_the_master_Palette_00_Anim_6) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.6005859375)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.6)) EVT_CALL(JumpToGoal, ACTOR_SELF, 5, FALSE, TRUE, FALSE) EVT_CASE_OR_EQ(23) EVT_CASE_OR_EQ(25) @@ -260,7 +260,7 @@ EvtScript N(singleStrike3) = { EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_the_master_Palette_00_Anim_8) EVT_CALL(SetGoalToTarget, ACTOR_SELF) EVT_CALL(AddGoalPos, ACTOR_SELF, 50, 0, 0) - EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(3.80078125)) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(3.8)) EVT_CALL(RunToGoal, ACTOR_SELF, 0, FALSE) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_the_master_Palette_00_Anim_3) EVT_WAIT_FRAMES(10) @@ -325,7 +325,7 @@ EvtScript N(singleStrike3) = { EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_ADD(LW(0), 50) EVT_SET(LW(1), 0) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.2001953125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.2)) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_the_master_Palette_00_Anim_21) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(JumpToGoal, ACTOR_SELF, 15, FALSE, TRUE, FALSE) @@ -345,7 +345,7 @@ EvtScript N(singleStrike3) = { EVT_END_SWITCH EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_the_master_Palette_00_Anim_3) EVT_CALL(SetGoalToHome, ACTOR_SELF) - EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(3.80078125)) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(3.8)) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_the_master_Palette_00_Anim_8) EVT_CALL(RunToGoal, ACTOR_SELF, 0, FALSE) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_the_master_Palette_00_Anim_3) @@ -420,7 +420,7 @@ EvtScript N(doubleStrike3) = { EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_JUMP_3E2) EVT_CALL(EnableActorBlur, -127, 1) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_the_master_Palette_00_Anim_14) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.900390625)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.9)) EVT_CALL(JumpToGoal, ACTOR_SELF, 25, FALSE, TRUE, FALSE) EVT_CALL(EnableActorBlur, -127, 0) EVT_END_THREAD @@ -428,7 +428,7 @@ EvtScript N(doubleStrike3) = { EVT_CALL(ShakeCam, 1, 0, 2, EVT_FLOAT(0.5)) EVT_CALL(ShakeCam, 1, 0, 2, EVT_FLOAT(1.5)) EVT_CALL(ShakeCam, 1, 0, 2, EVT_FLOAT(0.5)) - EVT_CALL(ShakeCam, 1, 0, 2, EVT_FLOAT(0.2001953125)) + EVT_CALL(ShakeCam, 1, 0, 2, EVT_FLOAT(0.2)) EVT_END_THREAD EVT_WAIT_FRAMES(2) EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x3ED) @@ -455,7 +455,7 @@ EvtScript N(doubleStrike3) = { EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_ADD(LW(0), 50) EVT_SET(LW(1), 0) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.80078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.8)) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_the_master_Palette_00_Anim_21) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(JumpToGoal, ACTOR_SELF, 30, FALSE, TRUE, FALSE) @@ -475,7 +475,7 @@ EvtScript N(doubleStrike3) = { EVT_END_SWITCH EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_the_master_Palette_00_Anim_3) EVT_CALL(SetGoalToHome, ACTOR_SELF) - EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(3.80078125)) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(3.8)) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_the_master_Palette_00_Anim_8) EVT_CALL(RunToGoal, ACTOR_SELF, 0, FALSE) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_the_master_Palette_00_Anim_3) @@ -560,7 +560,7 @@ EvtScript N(tripleStrike3) = { EVT_CALL(ShakeCam, 1, 0, 2, EVT_FLOAT(0.5)) EVT_CALL(ShakeCam, 1, 0, 2, EVT_FLOAT(1.5)) EVT_CALL(ShakeCam, 1, 0, 2, EVT_FLOAT(0.5)) - EVT_CALL(ShakeCam, 1, 0, 2, EVT_FLOAT(0.2001953125)) + EVT_CALL(ShakeCam, 1, 0, 2, EVT_FLOAT(0.2)) EVT_END_THREAD EVT_WAIT_FRAMES(2) EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x3ED) @@ -570,7 +570,7 @@ EvtScript N(tripleStrike3) = { EVT_THREAD EVT_WAIT_FRAMES(5) EVT_CALL(EnablePlayerBlur, 1) - EVT_CALL(SetActorJumpGravity, ACTOR_PLAYER, EVT_FLOAT(0.30078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_PLAYER, EVT_FLOAT(0.3)) EVT_CALL(GetActorPos, ACTOR_PLAYER, LW(0), LW(1), LW(2)) EVT_CALL(SetJumpAnimations, ACTOR_PLAYER, 0, ANIM_FALL_BACK, ANIM_FALL_BACK, ANIM_FALL_BACK) EVT_CALL(SetGoalPos, ACTOR_PLAYER, LW(0), LW(1), LW(2)) @@ -582,7 +582,7 @@ EvtScript N(tripleStrike3) = { EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_ADD(LW(0), 50) EVT_SET(LW(1), 0) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.80078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.8)) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_the_master_Palette_00_Anim_21) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(JumpToGoal, ACTOR_SELF, 30, FALSE, TRUE, FALSE) @@ -619,7 +619,7 @@ EvtScript N(tripleStrike3) = { EVT_CALL(ShakeCam, 1, 0, 2, EVT_FLOAT(2.0)) EVT_CALL(ShakeCam, 1, 0, 2, EVT_FLOAT(1.0)) EVT_CALL(ShakeCam, 1, 0, 2, EVT_FLOAT(0.5)) - EVT_CALL(ShakeCam, 1, 0, 2, EVT_FLOAT(0.2001953125)) + EVT_CALL(ShakeCam, 1, 0, 2, EVT_FLOAT(0.2)) EVT_END_THREAD EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x3EE) EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x20BB) @@ -645,7 +645,7 @@ EvtScript N(tripleStrike3) = { EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_ADD(LW(0), 50) EVT_SET(LW(1), 0) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.80078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.8)) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_the_master_Palette_00_Anim_21) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(JumpToGoal, ACTOR_SELF, 30, FALSE, TRUE, FALSE) @@ -665,7 +665,7 @@ EvtScript N(tripleStrike3) = { EVT_END_SWITCH EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_the_master_Palette_00_Anim_3) EVT_CALL(SetGoalToHome, ACTOR_SELF) - EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(3.80078125)) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(3.8)) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_the_master_Palette_00_Anim_8) EVT_CALL(RunToGoal, ACTOR_SELF, 0, FALSE) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_the_master_Palette_00_Anim_3) @@ -759,7 +759,7 @@ EvtScript N(8023059C) = { EVT_CALL(SetPartAlpha, -127, 2, 80) EVT_CALL(SetGoalToTarget, ACTOR_SELF) EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) - EVT_CALL(SetPartJumpGravity, -127, 2, EVT_FLOAT(0.1005859375)) + EVT_CALL(SetPartJumpGravity, -127, 2, EVT_FLOAT(0.1)) EVT_CALL(JumpPartTo, -127, 2, LW(0), LW(1), LW(2), 10, 1) EVT_CALL(SetPartFlagBits, -127, 2, 1, 1) EVT_WAIT_FRAMES(2) diff --git a/src/battle/area_mac/area.c b/src/battle/area_mac/area.c index 9f956d49a1..f0f59bbd9a 100644 --- a/src/battle/area_mac/area.c +++ b/src/battle/area_mac/area.c @@ -1,7 +1,6 @@ #include "common.h" #include "battle/battle.h" #include "script_api/battle.h" -#include "message_ids.h" #define NAMESPACE b_area_mac diff --git a/src/battle/area_mim/4F7BE0.c b/src/battle/area_mim/4F7BE0.c deleted file mode 100644 index a7da3ec51b..0000000000 --- a/src/battle/area_mim/4F7BE0.c +++ /dev/null @@ -1,5 +0,0 @@ -#include "common.h" - -#define NAMESPACE b_area_mim - -#include "common/UnkBattleFunc2.inc.c" diff --git a/src/battle/area_mim/4F7D50.c b/src/battle/area_mim/4F7D50.c deleted file mode 100644 index 806eff098f..0000000000 --- a/src/battle/area_mim/4F7D50.c +++ /dev/null @@ -1,7 +0,0 @@ -#include "common.h" - -#define NAMESPACE b_area_mim - -#include "common/UnkBattleFunc1.inc.c" - -#include "common/UnkFloatFunc4.inc.c" diff --git a/src/battle/area_mim/4F7F40.c b/src/battle/area_mim/4F7F40.c deleted file mode 100644 index e4e68317a2..0000000000 --- a/src/battle/area_mim/4F7F40.c +++ /dev/null @@ -1,5 +0,0 @@ -#include "common.h" - -#define NAMESPACE b_area_mim - -#include "common/UnkFogFunc2.inc.c" diff --git a/src/battle/area_mim/actor/bzzap.c b/src/battle/area_mim/actor/bzzap.c new file mode 100644 index 0000000000..1f91a86d0c --- /dev/null +++ b/src/battle/area_mim/actor/bzzap.c @@ -0,0 +1,727 @@ +#include "common.h" +#include "battle/battle.h" +#include "script_api/battle.h" +#include "sprite/npc/bzzap.h" + +#define NAMESPACE b_area_mim_bzzap + +extern EvtScript N(init_8021AA24); +extern EvtScript N(takeTurn_8021D28C); +extern EvtScript N(idle_8021AB10); +extern EvtScript N(handleEvent_8021ACA8); + +s32 N(idleAnimations_8021A820)[] = { + STATUS_NORMAL, NPC_ANIM_bzzap_Palette_00_Anim_1, + STATUS_STONE, NPC_ANIM_bzzap_Palette_00_Anim_0, + STATUS_SLEEP, NPC_ANIM_bzzap_Palette_00_Anim_9, + STATUS_POISON, NPC_ANIM_bzzap_Palette_00_Anim_1, + STATUS_STOP, NPC_ANIM_bzzap_Palette_00_Anim_0, + STATUS_STATIC, NPC_ANIM_bzzap_Palette_00_Anim_1, + STATUS_PARALYZE, NPC_ANIM_bzzap_Palette_00_Anim_0, + STATUS_DIZZY, NPC_ANIM_bzzap_Palette_00_Anim_A, + STATUS_FEAR, NPC_ANIM_bzzap_Palette_00_Anim_A, + STATUS_END, +}; + +s32 N(defenseTable_8021A86C)[] = { + ELEMENT_NORMAL, 0, + ELEMENT_END, +}; + +s32 N(statusTable_8021A878)[] = { + STATUS_NORMAL, 0, + STATUS_DEFAULT, 0, + STATUS_SLEEP, 60, + STATUS_POISON, 50, + STATUS_FROZEN, 0, + STATUS_DIZZY, 100, + STATUS_FEAR, 0, + STATUS_STATIC, 0, + STATUS_PARALYZE, 90, + STATUS_SHRINK, 75, + STATUS_STOP, 90, + 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, +}; + +ActorPartBlueprint N(partsTable_8021A924)[] = { + { + .flags = ACTOR_PART_FLAG_MULTI_TARGET, + .index = 1, + .posOffset = { 0, 0, 0 }, + .targetOffset = { -7, 33 }, + .opacity = 255, + .idleAnimations = N(idleAnimations_8021A820), + .defenseTable = N(defenseTable_8021A86C), + .eventFlags = ACTOR_EVENT_FLAG_0, + .elementImmunityFlags = 0, + .unk_1C = 758, + }, + { + .flags = ACTOR_PART_FLAG_INVISIBLE | ACTOR_PART_FLAG_NO_TARGET | ACTOR_PART_FLAG_100000, + .index = 2, + .posOffset = { 0, 0, 0 }, + .targetOffset = { 0, 24 }, + .opacity = 255, + .idleAnimations = N(idleAnimations_8021A820), + .defenseTable = N(defenseTable_8021A86C), + .eventFlags = ACTOR_EVENT_FLAG_0, + .elementImmunityFlags = 0, + .unk_1C = -5, + }, + { + .flags = ACTOR_PART_FLAG_INVISIBLE | ACTOR_PART_FLAG_NO_TARGET | ACTOR_PART_FLAG_100000, + .index = 3, + .posOffset = { 0, 0, 0 }, + .targetOffset = { 0, 24 }, + .opacity = 255, + .idleAnimations = N(idleAnimations_8021A820), + .defenseTable = N(defenseTable_8021A86C), + .eventFlags = ACTOR_EVENT_FLAG_0, + .elementImmunityFlags = 0, + .unk_1C = -5, + }, + { + .flags = ACTOR_PART_FLAG_INVISIBLE | ACTOR_PART_FLAG_NO_TARGET | ACTOR_PART_FLAG_100000, + .index = 4, + .posOffset = { 0, 0, 0 }, + .targetOffset = { 0, 24 }, + .opacity = 255, + .idleAnimations = N(idleAnimations_8021A820), + .defenseTable = N(defenseTable_8021A86C), + .eventFlags = ACTOR_EVENT_FLAG_0, + .elementImmunityFlags = 0, + .unk_1C = -5, + }, + { + .flags = ACTOR_PART_FLAG_INVISIBLE | ACTOR_PART_FLAG_NO_TARGET | ACTOR_PART_FLAG_100000, + .index = 5, + .posOffset = { 0, 0, 0 }, + .targetOffset = { 0, 24 }, + .opacity = 255, + .idleAnimations = N(idleAnimations_8021A820), + .defenseTable = N(defenseTable_8021A86C), + .eventFlags = ACTOR_EVENT_FLAG_0, + .elementImmunityFlags = 0, + .unk_1C = -5, + }, + { + .flags = ACTOR_PART_FLAG_INVISIBLE | ACTOR_PART_FLAG_NO_TARGET | ACTOR_PART_FLAG_100000, + .index = 6, + .posOffset = { 0, 0, 0 }, + .targetOffset = { 0, 24 }, + .opacity = 255, + .idleAnimations = N(idleAnimations_8021A820), + .defenseTable = N(defenseTable_8021A86C), + .eventFlags = ACTOR_EVENT_FLAG_0, + .elementImmunityFlags = 0, + .unk_1C = -5, + }, +}; + +ActorBlueprint NAMESPACE = { + .flags = ACTOR_FLAG_FLYING, + .type = ACTOR_TYPE_BZZAP, + .level = 19, + .maxHP = 3, + .partCount = ARRAY_COUNT(N(partsTable_8021A924)), + .partsData = N(partsTable_8021A924), + .script = N(init_8021AA24), + .statusTable = N(statusTable_8021A878), + .escapeChance = 40, + .airLiftChance = 95, + .spookChance = 95, + .baseStatusChance = 70, + .upAndAwayChance = 95, + .spinSmashReq = 0, + .powerBounceChance = 90, + .coinReward = 1, + .size = { 38, 38 }, + .hpBarOffset = { 0, 0 }, + .statusIconOffset = { -10, 20 }, + .statusMessageOffset = { 10, 20 }, +}; + +#include "common/UnkBattleFunc1.inc.c" + +#include "common/UnkFloatFunc4.inc.c" + +EvtScript N(init_8021AA24) = { + EVT_CALL(BindTakeTurn, ACTOR_SELF, EVT_ADDR(N(takeTurn_8021D28C))) + EVT_CALL(BindIdle, ACTOR_SELF, EVT_ADDR(N(idle_8021AB10))) + EVT_CALL(BindHandleEvent, ACTOR_SELF, EVT_ADDR(N(handleEvent_8021ACA8))) + 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_RETURN + EVT_END +}; + +EvtScript N(idle_8021AB10) = { + EVT_LABEL(0) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LW(10)) + EVT_IF_FLAG(LW(10), STATUS_FLAG_SLEEP | STATUS_FLAG_DIZZY) + EVT_CALL(SetTargetOffset, ACTOR_SELF, 1, -7, 19) + EVT_CALL(func_8027D4C8, ACTOR_SELF, 1, 2, -6) + EVT_CALL(N(UnkBattleFunc1), -20, 20, 10, 27) + EVT_ELSE + EVT_CALL(SetTargetOffset, ACTOR_SELF, 1, -7, 33) + EVT_CALL(func_8027D4C8, ACTOR_SELF, 1, 2, -10) + EVT_CALL(N(UnkBattleFunc1), -16, 22, 4, 22) + EVT_END_IF + EVT_WAIT_FRAMES(1) + EVT_GOTO(0) + EVT_RETURN + EVT_END +}; + +EvtScript N(8021AC20) = { + EVT_CALL(SetPartRotation, ACTOR_SELF, 1, 0, 0, 0) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_bzzap_Palette_00_Anim_3) + EVT_CALL(SetGoalToHome, ACTOR_SELF) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(8.0)) + EVT_CALL(FlyToGoal, ACTOR_SELF, 0, 1, 11) + EVT_RETURN + EVT_END +}; + +EvtScript N(handleEvent_8021ACA8) = { + EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE) + EVT_CALL(EnableIdleScript, ACTOR_SELF, 0) + EVT_CALL(GetLastEvent, ACTOR_SELF, LW(0)) + EVT_SWITCH(LW(0)) + EVT_CASE_OR_EQ(EVENT_HIT_COMBO) + EVT_CASE_OR_EQ(EVENT_HIT) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_bzzap_Palette_00_Anim_6) + EVT_EXEC_WAIT(DoNormalHit) + EVT_END_CASE_GROUP + EVT_CASE_EQ(EVENT_BURN_HIT) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_bzzap_Palette_00_Anim_7) + EVT_SET_CONST(LW(2), NPC_ANIM_bzzap_Palette_00_Anim_8) + EVT_EXEC_WAIT(DoBurnHit) + EVT_CASE_EQ(EVENT_BURN_DEATH) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_bzzap_Palette_00_Anim_7) + EVT_SET_CONST(LW(2), NPC_ANIM_bzzap_Palette_00_Anim_8) + EVT_EXEC_WAIT(DoBurnHit) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_bzzap_Palette_00_Anim_8) + EVT_EXEC_WAIT(DoDeath) + EVT_RETURN + EVT_CASE_EQ(EVENT_SPIN_SMASH_HIT) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_bzzap_Palette_00_Anim_6) + EVT_EXEC_WAIT(DoSpinSmashHit) + EVT_CASE_EQ(EVENT_SPIN_SMASH_DEATH) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_bzzap_Palette_00_Anim_6) + EVT_EXEC_WAIT(DoSpinSmashHit) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_bzzap_Palette_00_Anim_B) + EVT_EXEC_WAIT(DoDeath) + EVT_RETURN + EVT_CASE_EQ(EVENT_SHOCK_HIT) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_bzzap_Palette_00_Anim_6) + EVT_EXEC_WAIT(DoShockHit) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_bzzap_Palette_00_Anim_6) + EVT_EXEC_WAIT(DoJumpBack) + EVT_EXEC_WAIT(N(8021AC20)) + EVT_CASE_EQ(EVENT_SHOCK_DEATH) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_bzzap_Palette_00_Anim_6) + EVT_EXEC_WAIT(DoShockHit) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_bzzap_Palette_00_Anim_B) + 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(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_bzzap_Palette_00_Anim_1) + EVT_EXEC_WAIT(DoImmune) + EVT_END_CASE_GROUP + EVT_CASE_EQ(EVENT_DEATH) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_bzzap_Palette_00_Anim_6) + EVT_EXEC_WAIT(DoNormalHit) + EVT_WAIT_FRAMES(10) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_bzzap_Palette_00_Anim_B) + 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_EXEC_WAIT(N(8021AC20)) + EVT_CALL(HPBarToHome, ACTOR_SELF) + EVT_CASE_EQ(EVENT_RECOVER_STATUS) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_bzzap_Palette_00_Anim_1) + EVT_EXEC_WAIT(DoRecover) + EVT_CASE_EQ(EVENT_SCARE_AWAY) + EVT_CALL(SetActorFlagBits, ACTOR_SELF, ACTOR_FLAG_FLYING, 0) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_bzzap_Palette_00_Anim_3) + EVT_SET_CONST(LW(2), NPC_ANIM_bzzap_Palette_00_Anim_6) + EVT_EXEC_WAIT(DoScareAway) + EVT_RETURN + EVT_CASE_EQ(EVENT_BEGIN_AIR_LIFT) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_bzzap_Palette_00_Anim_1) + EVT_EXEC_WAIT(DoAirLift) + EVT_CASE_EQ(EVENT_BLOW_AWAY) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LW(0)) + EVT_IF_NOT_FLAG(LW(0), STATUS_FLAG_SLEEP | STATUS_FLAG_FROZEN | STATUS_FLAG_FEAR | STATUS_FLAG_PARALYZE | STATUS_FLAG_DIZZY | STATUS_FLAG_STONE | STATUS_FLAG_STOP) + EVT_IF_FLAG(LW(0), STATUS_FLAG_SHRINK) + EVT_CALL(SetActorDispOffset, ACTOR_SELF, 0, 3, 0) + EVT_ELSE + EVT_CALL(SetActorDispOffset, ACTOR_SELF, 0, 9, 0) + EVT_END_IF + EVT_END_IF + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_bzzap_Palette_00_Anim_6) + EVT_EXEC_WAIT(DoBlowAway) + EVT_CASE_DEFAULT + EVT_END_SWITCH + EVT_CALL(EnableIdleScript, ACTOR_SELF, 1) + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_RETURN + EVT_END +}; + +EvtScript N(8021B28C) = { + 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, NPC_ANIM_bzzap_Palette_00_Anim_3) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(AddGoalPos, ACTOR_SELF, 52, 10, 0) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(6.0)) + EVT_CALL(FlyToGoal, ACTOR_SELF, 0, -4, 12) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LW(0), 0, 0, 1, BS_FLAGS1_10) + EVT_SWITCH(LW(0)) + EVT_CASE_OR_EQ(HIT_RESULT_MISS) + EVT_CASE_OR_EQ(HIT_RESULT_LUCKY) + EVT_SET(LW(10), LW(0)) + EVT_WAIT_FRAMES(10) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_ADD(LW(0), 20) + EVT_ADD(LW(2), 1) + EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(8.0)) + EVT_CALL(FlyToGoal, ACTOR_SELF, 0, -10, 4) + EVT_WAIT_FRAMES(5) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x20CA) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_bzzap_Palette_00_Anim_4) + EVT_WAIT_FRAMES(10) + EVT_IF_EQ(LW(10), HIT_RESULT_LUCKY) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LW(0), DAMAGE_TYPE_TRIGGER_LUCKY, 0, 0, 0) + EVT_END_IF + EVT_WAIT_FRAMES(15) + 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_EXEC_WAIT(N(8021AC20)) + 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_WAIT_FRAMES(10) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_ADD(LW(0), 20) + EVT_ADD(LW(2), 1) + EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(5.0)) + EVT_CALL(FlyToGoal, ACTOR_SELF, 0, -10, 4) + EVT_WAIT_FRAMES(5) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x20CA) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_bzzap_Palette_00_Anim_4) + EVT_WAIT_FRAMES(6) + EVT_WAIT_FRAMES(2) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LW(0), 0, 0, STATUS_FLAG_8 | STATUS_FLAG_20 | STATUS_FLAG_100 | STATUS_FLAG_200 | STATUS_FLAG_POISON | STATUS_FLAG_80000000, 6, BS_FLAGS1_SP_EVT_ACTIVE) + EVT_SWITCH(LW(0)) + EVT_CASE_OR_EQ(HIT_RESULT_HIT) + EVT_CASE_OR_EQ(HIT_RESULT_QUAKE_IMMUNE) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_WAIT_FRAMES(20) + EVT_CALL(YieldTurn) + EVT_EXEC_WAIT(N(8021AC20)) + 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(8021B77C) = { + EVT_SET(LW(9), LW(0)) + EVT_CALL(SetPartYaw, ACTOR_SELF, LW(9), 0) + EVT_CALL(GetActorPos, ACTOR_SELF, LW(10), LW(11), LW(12)) + EVT_ADD(LW(10), 200) + EVT_ADD(LW(11), 100) + EVT_CALL(SetPartPos, ACTOR_SELF, LW(9), LW(10), LW(11), LW(12)) + EVT_CALL(SetPartFlagBits, ACTOR_SELF, LW(9), ACTOR_PART_FLAG_INVISIBLE, 0) + EVT_CALL(SetAnimation, ACTOR_SELF, LW(9), 0x4B0003) + EVT_CALL(GetActorPos, ACTOR_SELF, LW(10), LW(11), LW(12)) + EVT_ADD(LW(11), 50) + EVT_SUB(LW(12), 30) + EVT_CALL(SetPartMoveSpeed, ACTOR_SELF, LW(9), EVT_FLOAT(6.0)) + EVT_CALL(SetPartJumpGravity, ACTOR_SELF, LW(9), EVT_FLOAT(1.0)) + EVT_CALL(FlyPartTo, ACTOR_SELF, LW(9), LW(10), LW(11), LW(12), 0, -10, 0) + EVT_CALL(GetActorPos, ACTOR_SELF, LW(3), LW(4), LW(5)) + EVT_CALL(GetPartOffset, ACTOR_SELF, LW(9), LW(6), LW(7), LW(8)) + EVT_CALL(MakeLerp, 90, 450, 50, 0) + EVT_LABEL(0) + EVT_CALL(UpdateLerp) + EVT_CALL(N(UnkFloatFunc4), LW(3), LW(5), 30, LW(0), LW(6), LW(8)) + EVT_CALL(SetPartPos, ACTOR_SELF, LW(9), LW(6), LW(7), LW(8)) + EVT_IF_GT(LW(3), LW(6)) + EVT_CALL(SetPartYaw, ACTOR_SELF, LW(9), 180) + EVT_ELSE + EVT_CALL(SetPartYaw, ACTOR_SELF, LW(9), 0) + EVT_END_IF + EVT_WAIT_FRAMES(1) + EVT_IF_EQ(LW(1), 1) + EVT_GOTO(0) + EVT_END_IF + EVT_CALL(SetPartYaw, ACTOR_SELF, LW(9), 0) + EVT_IF_EQ(LW(9), 2) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_I) + EVT_CALL(SetBattleCamZoom, 400) + EVT_CALL(SetBattleCamOffsetZ, 30) + EVT_CALL(BattleCamTargetActor, ACTOR_PLAYER) + EVT_CALL(MoveBattleCamOver, 60) + EVT_END_IF + EVT_CALL(SetAnimation, ACTOR_SELF, LW(9), 0x4B0003) + EVT_CALL(GetActorPos, ACTOR_PLAYER, LW(10), LW(11), LW(12)) + EVT_ADD(LW(11), 30) + EVT_ADD(LW(12), 30) + EVT_CALL(SetPartMoveSpeed, ACTOR_SELF, LW(9), EVT_FLOAT(6.0)) + EVT_CALL(SetPartJumpGravity, ACTOR_SELF, LW(9), EVT_FLOAT(1.0)) + EVT_CALL(FlyPartTo, ACTOR_SELF, LW(9), LW(10), LW(11), LW(12), 0, -10, 0) + EVT_CALL(GetActorPos, ACTOR_PLAYER, LW(3), LW(4), LW(5)) + EVT_CALL(GetPartOffset, ACTOR_SELF, LW(9), LW(6), LW(7), LW(8)) + EVT_CALL(MakeLerp, -90, -720, 100, 0) + EVT_LABEL(1) + EVT_CALL(UpdateLerp) + EVT_CALL(N(UnkFloatFunc4), LW(3), LW(5), 30, LW(0), LW(6), LW(8)) + EVT_CALL(SetPartPos, ACTOR_SELF, LW(9), LW(6), LW(7), LW(8)) + EVT_IF_GT(LW(3), LW(6)) + EVT_CALL(SetPartYaw, ACTOR_SELF, LW(9), 180) + EVT_ELSE + EVT_CALL(SetPartYaw, ACTOR_SELF, LW(9), 0) + EVT_END_IF + EVT_WAIT_FRAMES(1) + EVT_IF_EQ(LW(1), 1) + EVT_GOTO(1) + EVT_END_IF + EVT_RETURN + EVT_END +}; + +EvtScript N(8021BC74) = { + 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(SetPartSounds, ACTOR_SELF, 2, 1, 0, 0) + EVT_CALL(SetPartSounds, ACTOR_SELF, 3, 1, 0, 0) + EVT_CALL(SetPartSounds, ACTOR_SELF, 4, 1, 0, 0) + EVT_CALL(SetPartSounds, ACTOR_SELF, 5, 1, 0, 0) + EVT_CALL(SetPartSounds, ACTOR_SELF, 6, 1, 0, 0) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x20CC) + EVT_CALL(SetActorYaw, ACTOR_SELF, 180) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_bzzap_Palette_00_Anim_5) + EVT_WAIT_FRAMES(40) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_bzzap_Palette_00_Anim_1) + EVT_CALL(SetActorYaw, ACTOR_SELF, 0) + EVT_CALL(PlaySound, 0x358) + EVT_SET(LW(0), 2) + EVT_EXEC_GET_TID(N(8021B77C), LW(10)) + EVT_WAIT_FRAMES(11) + EVT_SET(LW(0), 3) + EVT_EXEC(N(8021B77C)) + EVT_WAIT_FRAMES(11) + EVT_SET(LW(0), 4) + EVT_EXEC(N(8021B77C)) + EVT_WAIT_FRAMES(11) + EVT_SET(LW(0), 5) + EVT_EXEC(N(8021B77C)) + EVT_WAIT_FRAMES(11) + EVT_SET(LW(0), 6) + EVT_EXEC(N(8021B77C)) + EVT_LABEL(0) + EVT_IS_THREAD_RUNNING(LW(10), LW(0)) + EVT_WAIT_FRAMES(1) + EVT_IF_EQ(LW(0), 1) + EVT_GOTO(0) + EVT_END_IF + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LW(0), 0, 0, 1, BS_FLAGS1_10) + EVT_SWITCH(LW(0)) + EVT_CASE_OR_EQ(HIT_RESULT_MISS) + EVT_CASE_OR_EQ(HIT_RESULT_LUCKY) + EVT_SET(LW(10), LW(0)) + EVT_THREAD + EVT_CALL(PlaySoundAtPart, ACTOR_SELF, 2, 0x20CB) + EVT_CALL(SetAnimation, ACTOR_SELF, 2, NPC_ANIM_bzzap_Palette_00_Anim_4) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(AddGoalPos, ACTOR_SELF, -30, -20, 1) + EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(SetPartMoveSpeed, ACTOR_SELF, 2, EVT_FLOAT(3.0)) + EVT_CALL(FlyPartTo, ACTOR_SELF, 2, LW(0), LW(1), LW(2), 0, -10, 0) + EVT_CALL(SetAnimation, ACTOR_SELF, 2, NPC_ANIM_bzzap_Palette_00_Anim_3) + EVT_CALL(SetPartYaw, ACTOR_SELF, 2, 180) + EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_ADD(LW(1), 100) + EVT_ADD(LW(2), 100) + EVT_CALL(AddActorDecoration, ACTOR_SELF, 2, 0, 2) + EVT_CALL(FlyPartTo, ACTOR_SELF, 2, LW(0), LW(1), LW(2), 0, 10, 0) + EVT_CALL(RemoveActorDecoration, ACTOR_SELF, 2, 0) + EVT_CALL(SetPartFlagBits, ACTOR_SELF, 2, ACTOR_PART_FLAG_INVISIBLE, 1) + EVT_END_THREAD + EVT_WAIT_FRAMES(11) + EVT_THREAD + EVT_CALL(PlaySoundAtPart, ACTOR_SELF, 3, 0x20CB) + EVT_CALL(SetAnimation, ACTOR_SELF, 3, NPC_ANIM_bzzap_Palette_00_Anim_4) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(AddGoalPos, ACTOR_SELF, -30, -20, 1) + EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(SetPartMoveSpeed, ACTOR_SELF, 3, EVT_FLOAT(3.0)) + EVT_CALL(FlyPartTo, ACTOR_SELF, 3, LW(0), LW(1), LW(2), 0, -10, 0) + EVT_CALL(SetAnimation, ACTOR_SELF, 3, NPC_ANIM_bzzap_Palette_00_Anim_3) + EVT_CALL(SetPartYaw, ACTOR_SELF, 3, 180) + EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_ADD(LW(1), 100) + EVT_ADD(LW(2), 100) + EVT_CALL(AddActorDecoration, ACTOR_SELF, 3, 0, 2) + EVT_CALL(FlyPartTo, ACTOR_SELF, 3, LW(0), LW(1), LW(2), 0, 10, 0) + EVT_CALL(RemoveActorDecoration, ACTOR_SELF, 3, 0) + EVT_CALL(SetPartFlagBits, ACTOR_SELF, 3, ACTOR_PART_FLAG_INVISIBLE, 1) + EVT_END_THREAD + EVT_WAIT_FRAMES(11) + EVT_THREAD + EVT_CALL(PlaySoundAtPart, ACTOR_SELF, 4, 0x20CB) + EVT_CALL(SetAnimation, ACTOR_SELF, 4, NPC_ANIM_bzzap_Palette_00_Anim_4) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(AddGoalPos, ACTOR_SELF, -30, -20, 1) + EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(SetPartMoveSpeed, ACTOR_SELF, 4, EVT_FLOAT(3.0)) + EVT_CALL(FlyPartTo, ACTOR_SELF, 4, LW(0), LW(1), LW(2), 0, -10, 0) + EVT_CALL(SetAnimation, ACTOR_SELF, 4, NPC_ANIM_bzzap_Palette_00_Anim_3) + EVT_CALL(SetPartYaw, ACTOR_SELF, 4, 180) + EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_ADD(LW(1), 100) + EVT_ADD(LW(2), 100) + EVT_CALL(AddActorDecoration, ACTOR_SELF, 4, 0, 2) + EVT_CALL(FlyPartTo, ACTOR_SELF, 4, LW(0), LW(1), LW(2), 0, 10, 0) + EVT_CALL(RemoveActorDecoration, ACTOR_SELF, 4, 0) + EVT_CALL(SetPartFlagBits, ACTOR_SELF, 4, ACTOR_PART_FLAG_INVISIBLE, 1) + EVT_END_THREAD + EVT_WAIT_FRAMES(11) + EVT_THREAD + EVT_CALL(PlaySoundAtPart, ACTOR_SELF, 5, 0x20CB) + EVT_CALL(SetAnimation, ACTOR_SELF, 5, NPC_ANIM_bzzap_Palette_00_Anim_4) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(AddGoalPos, ACTOR_SELF, -30, -20, 1) + EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(SetPartMoveSpeed, ACTOR_SELF, 5, EVT_FLOAT(3.0)) + EVT_CALL(FlyPartTo, ACTOR_SELF, 5, LW(0), LW(1), LW(2), 0, -10, 0) + EVT_CALL(SetAnimation, ACTOR_SELF, 5, NPC_ANIM_bzzap_Palette_00_Anim_3) + EVT_CALL(SetPartYaw, ACTOR_SELF, 5, 180) + EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_ADD(LW(1), 100) + EVT_ADD(LW(2), 100) + EVT_CALL(AddActorDecoration, ACTOR_SELF, 5, 0, 2) + EVT_CALL(FlyPartTo, ACTOR_SELF, 5, LW(0), LW(1), LW(2), 0, 10, 0) + EVT_CALL(RemoveActorDecoration, ACTOR_SELF, 5, 0) + EVT_CALL(SetPartFlagBits, ACTOR_SELF, 5, ACTOR_PART_FLAG_INVISIBLE, 1) + EVT_END_THREAD + EVT_WAIT_FRAMES(11) + EVT_THREAD + EVT_CALL(PlaySoundAtPart, ACTOR_SELF, 6, 0x20CB) + EVT_CALL(SetAnimation, ACTOR_SELF, 6, NPC_ANIM_bzzap_Palette_00_Anim_4) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(AddGoalPos, ACTOR_SELF, -30, -20, 1) + EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(SetPartMoveSpeed, ACTOR_SELF, 6, EVT_FLOAT(3.0)) + EVT_CALL(FlyPartTo, ACTOR_SELF, 6, LW(0), LW(1), LW(2), 0, -10, 0) + EVT_CALL(SetAnimation, ACTOR_SELF, 6, NPC_ANIM_bzzap_Palette_00_Anim_3) + EVT_CALL(SetPartYaw, ACTOR_SELF, 6, 180) + EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_ADD(LW(1), 100) + EVT_ADD(LW(2), 100) + EVT_CALL(AddActorDecoration, ACTOR_SELF, 6, 0, 2) + EVT_CALL(FlyPartTo, ACTOR_SELF, 6, LW(0), LW(1), LW(2), 0, 10, 0) + EVT_CALL(RemoveActorDecoration, ACTOR_SELF, 6, 0) + EVT_CALL(SetPartFlagBits, ACTOR_SELF, 6, ACTOR_PART_FLAG_INVISIBLE, 1) + EVT_END_THREAD + EVT_WAIT_FRAMES(11) + EVT_IF_EQ(LW(10), HIT_RESULT_LUCKY) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LW(0), DAMAGE_TYPE_TRIGGER_LUCKY, 0, 0, 0) + EVT_END_IF + EVT_WAIT_FRAMES(30) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_WAIT_FRAMES(30) + EVT_CALL(StopSound, 856) + EVT_CALL(YieldTurn) + EVT_CALL(EnableIdleScript, ACTOR_SELF, 1) + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_RETURN + EVT_END_CASE_GROUP + EVT_END_SWITCH + EVT_THREAD + EVT_CALL(PlaySoundAtPart, ACTOR_SELF, 2, 0x20CB) + EVT_CALL(SetAnimation, ACTOR_SELF, 2, NPC_ANIM_bzzap_Palette_00_Anim_4) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(AddGoalPos, ACTOR_SELF, -10, -10, 1) + EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(SetPartMoveSpeed, ACTOR_SELF, 2, EVT_FLOAT(3.0)) + EVT_CALL(FlyPartTo, ACTOR_SELF, 2, LW(0), LW(1), LW(2), 0, -10, 0) + EVT_WAIT_FRAMES(2) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LW(0), DAMAGE_TYPE_NO_CONTACT, 0, 0, 1, BS_FLAGS1_10) + EVT_CALL(SetAnimation, ACTOR_SELF, 2, NPC_ANIM_bzzap_Palette_00_Anim_3) + EVT_CALL(SetPartYaw, ACTOR_SELF, 2, 180) + EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_ADD(LW(1), 100) + EVT_ADD(LW(2), 100) + EVT_CALL(FlyPartTo, ACTOR_SELF, 2, LW(0), LW(1), LW(2), 0, 10, 0) + EVT_CALL(SetPartFlagBits, ACTOR_SELF, 2, ACTOR_PART_FLAG_INVISIBLE, 1) + EVT_END_THREAD + EVT_WAIT_FRAMES(11) + EVT_THREAD + EVT_CALL(PlaySoundAtPart, ACTOR_SELF, 3, 0x20CB) + EVT_CALL(SetAnimation, ACTOR_SELF, 3, NPC_ANIM_bzzap_Palette_00_Anim_4) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(AddGoalPos, ACTOR_SELF, -10, -10, 1) + EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(SetPartMoveSpeed, ACTOR_SELF, 3, EVT_FLOAT(3.0)) + EVT_CALL(FlyPartTo, ACTOR_SELF, 3, LW(0), LW(1), LW(2), 0, -10, 0) + EVT_WAIT_FRAMES(2) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LW(0), DAMAGE_TYPE_NO_CONTACT, 0, 0, 1, BS_FLAGS1_40) + EVT_CALL(SetAnimation, ACTOR_SELF, 3, NPC_ANIM_bzzap_Palette_00_Anim_3) + EVT_CALL(SetPartYaw, ACTOR_SELF, 3, 180) + EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_ADD(LW(1), 100) + EVT_ADD(LW(2), 100) + EVT_CALL(FlyPartTo, ACTOR_SELF, 3, LW(0), LW(1), LW(2), 0, 10, 0) + EVT_CALL(SetPartFlagBits, ACTOR_SELF, 3, ACTOR_PART_FLAG_INVISIBLE, 1) + EVT_END_THREAD + EVT_WAIT_FRAMES(11) + EVT_THREAD + EVT_CALL(PlaySoundAtPart, ACTOR_SELF, 4, 0x20CB) + EVT_CALL(SetAnimation, ACTOR_SELF, 4, NPC_ANIM_bzzap_Palette_00_Anim_4) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(AddGoalPos, ACTOR_SELF, -10, -10, 1) + EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(SetPartMoveSpeed, ACTOR_SELF, 4, EVT_FLOAT(3.0)) + EVT_CALL(FlyPartTo, ACTOR_SELF, 4, LW(0), LW(1), LW(2), 0, -10, 0) + EVT_WAIT_FRAMES(2) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LW(0), DAMAGE_TYPE_NO_CONTACT, 0, 0, 1, BS_FLAGS1_40) + EVT_CALL(SetAnimation, ACTOR_SELF, 4, NPC_ANIM_bzzap_Palette_00_Anim_3) + EVT_CALL(SetPartYaw, ACTOR_SELF, 4, 180) + EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_ADD(LW(1), 100) + EVT_ADD(LW(2), 100) + EVT_CALL(FlyPartTo, ACTOR_SELF, 4, LW(0), LW(1), LW(2), 0, 10, 0) + EVT_CALL(SetPartFlagBits, ACTOR_SELF, 4, ACTOR_PART_FLAG_INVISIBLE, 1) + EVT_END_THREAD + EVT_WAIT_FRAMES(11) + EVT_THREAD + EVT_CALL(PlaySoundAtPart, ACTOR_SELF, 5, 0x20CB) + EVT_CALL(SetAnimation, ACTOR_SELF, 5, NPC_ANIM_bzzap_Palette_00_Anim_4) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(AddGoalPos, ACTOR_SELF, -10, -10, 1) + EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(SetPartMoveSpeed, ACTOR_SELF, 5, EVT_FLOAT(3.0)) + EVT_CALL(FlyPartTo, ACTOR_SELF, 5, LW(0), LW(1), LW(2), 0, -10, 0) + EVT_WAIT_FRAMES(2) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LW(0), DAMAGE_TYPE_NO_CONTACT, 0, 0, 1, BS_FLAGS1_40) + EVT_CALL(SetAnimation, ACTOR_SELF, 5, NPC_ANIM_bzzap_Palette_00_Anim_3) + EVT_CALL(SetPartYaw, ACTOR_SELF, 5, 180) + EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_ADD(LW(1), 100) + EVT_ADD(LW(2), 100) + EVT_CALL(FlyPartTo, ACTOR_SELF, 5, LW(0), LW(1), LW(2), 0, 10, 0) + EVT_CALL(SetPartFlagBits, ACTOR_SELF, 5, ACTOR_PART_FLAG_INVISIBLE, 1) + EVT_END_THREAD + EVT_WAIT_FRAMES(11) + EVT_WAIT_FRAMES(1) + EVT_CALL(PlaySoundAtPart, ACTOR_SELF, 6, 0x20CB) + EVT_CALL(SetAnimation, ACTOR_SELF, 6, NPC_ANIM_bzzap_Palette_00_Anim_4) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(AddGoalPos, ACTOR_SELF, -10, -10, 1) + EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(SetPartMoveSpeed, ACTOR_SELF, 6, EVT_FLOAT(3.0)) + EVT_CALL(FlyPartTo, ACTOR_SELF, 6, LW(0), LW(1), LW(2), 0, -10, 0) + EVT_WAIT_FRAMES(2) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LW(0), DAMAGE_TYPE_NO_CONTACT, 0, 0, 1, BS_FLAGS1_SP_EVT_ACTIVE) + EVT_SWITCH(LW(0)) + EVT_CASE_OR_EQ(HIT_RESULT_HIT) + EVT_CASE_OR_EQ(HIT_RESULT_QUAKE_IMMUNE) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(SetAnimation, ACTOR_SELF, 6, NPC_ANIM_bzzap_Palette_00_Anim_3) + EVT_CALL(SetPartYaw, ACTOR_SELF, 6, 180) + EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_ADD(LW(1), 100) + EVT_ADD(LW(2), 100) + EVT_CALL(FlyPartTo, ACTOR_SELF, 6, LW(0), LW(1), LW(2), 0, 10, 0) + EVT_CALL(SetPartFlagBits, ACTOR_SELF, 6, ACTOR_PART_FLAG_INVISIBLE, 1) + EVT_CALL(StopSound, 856) + 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_8021D28C) = { + EVT_CALL(GetBattlePhase, LW(0)) + EVT_IF_EQ(LW(0), PHASE_FIRST_STRIKE) + EVT_EXEC_WAIT(N(8021B28C)) + EVT_RETURN + EVT_END_IF + EVT_CALL(RandInt, 1000, LW(0)) + EVT_IF_LT(LW(0), 500) + EVT_EXEC_WAIT(N(8021B28C)) + EVT_ELSE + EVT_EXEC_WAIT(N(8021BC74)) + EVT_END_IF + EVT_RETURN + EVT_END +}; diff --git a/src/battle/area_mim/actor/forest_fuzzy.c b/src/battle/area_mim/actor/forest_fuzzy.c new file mode 100644 index 0000000000..05d483d229 --- /dev/null +++ b/src/battle/area_mim/actor/forest_fuzzy.c @@ -0,0 +1,661 @@ +#include "common.h" +#include "effects.h" +#include "battle/battle.h" +#include "script_api/battle.h" +#include "sprite/npc/fuzzy.h" + +#define NAMESPACE b_area_mim_forest_fuzzy + +extern s32 N(idleAnimations_802184C4)[]; +extern EvtScript N(init_80218510); +extern EvtScript N(takeTurn_8021A61C); +extern EvtScript N(idle_80218574); +extern EvtScript N(handleEvent_80218584); +extern Formation N(specialFormation_8021A800); + +s32 N(defenseTable_802183C0)[] = { + ELEMENT_NORMAL, 0, + ELEMENT_END, +}; + +s32 N(statusTable_802183CC)[] = { + STATUS_NORMAL, 0, + STATUS_DEFAULT, 0, + STATUS_SLEEP, 95, + STATUS_POISON, 90, + STATUS_FROZEN, 0, + STATUS_DIZZY, 90, + STATUS_FEAR, 0, + STATUS_STATIC, 70, + STATUS_PARALYZE, 75, + STATUS_SHRINK, 75, + STATUS_STOP, 90, + 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, 0, + STATUS_END, +}; + +ActorPartBlueprint N(partsTable_80218478)[] = { + { + .flags = ACTOR_PART_FLAG_MULTI_TARGET, + .index = 1, + .posOffset = { 0, 0, 0 }, + .targetOffset = { 0, 20 }, + .opacity = 255, + .idleAnimations = N(idleAnimations_802184C4), + .defenseTable = N(defenseTable_802183C0), + .eventFlags = ACTOR_EVENT_FLAG_0, + .elementImmunityFlags = 0, + .unk_1C = 246, + }, +}; + +ActorBlueprint NAMESPACE = { + .flags = 0, + .type = ACTOR_TYPE_FOREST_FUZZY, + .level = 11, + .maxHP = 6, + .partCount = ARRAY_COUNT(N(partsTable_80218478)), + .partsData = N(partsTable_80218478), + .script = N(init_80218510), + .statusTable = N(statusTable_802183CC), + .escapeChance = 40, + .airLiftChance = 90, + .spookChance = 90, + .baseStatusChance = 85, + .upAndAwayChance = 95, + .spinSmashReq = 0, + .powerBounceChance = 100, + .coinReward = 1, + .size = { 33, 28 }, + .hpBarOffset = { 0, 0 }, + .statusIconOffset = { -10, 20 }, + .statusMessageOffset = { 10, 20 }, +}; + +s32 N(idleAnimations_802184C4)[] = { + STATUS_NORMAL, NPC_ANIM_fuzzy_Palette_01_Anim_1, + STATUS_STONE, NPC_ANIM_fuzzy_Palette_01_Anim_0, + STATUS_SLEEP, NPC_ANIM_fuzzy_Palette_01_Anim_E, + STATUS_POISON, NPC_ANIM_fuzzy_Palette_01_Anim_1, + STATUS_STOP, NPC_ANIM_fuzzy_Palette_01_Anim_0, + STATUS_STATIC, NPC_ANIM_fuzzy_Palette_01_Anim_1, + STATUS_PARALYZE, NPC_ANIM_fuzzy_Palette_01_Anim_0, + STATUS_DIZZY, NPC_ANIM_fuzzy_Palette_01_Anim_F, + STATUS_FEAR, NPC_ANIM_fuzzy_Palette_01_Anim_F, + STATUS_END, +}; + +EvtScript N(init_80218510) = { + EVT_CALL(BindTakeTurn, ACTOR_SELF, EVT_ADDR(N(takeTurn_8021A61C))) + EVT_CALL(BindIdle, ACTOR_SELF, EVT_ADDR(N(idle_80218574))) + EVT_CALL(BindHandleEvent, ACTOR_SELF, EVT_ADDR(N(handleEvent_80218584))) + EVT_CALL(SetActorVar, ACTOR_SELF, 0, 0) + EVT_RETURN + EVT_END +}; + +EvtScript N(idle_80218574) = { + EVT_RETURN + EVT_END +}; + +EvtScript N(handleEvent_80218584) = { + EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE) + EVT_CALL(EnableIdleScript, ACTOR_SELF, 0) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.0), EVT_FLOAT(1.0), EVT_FLOAT(1.0)) + EVT_CALL(SetActorDispOffset, ACTOR_SELF, 0, 0, 0) + EVT_CALL(GetLastEvent, ACTOR_SELF, LW(0)) + EVT_SWITCH(LW(0)) + EVT_CASE_OR_EQ(EVENT_HIT_COMBO) + EVT_CASE_OR_EQ(EVENT_HIT) + EVT_CALL(GetLastElement, LW(0)) + EVT_IF_FLAG(LW(0), DAMAGE_TYPE_ELECTRIC) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_fuzzy_Palette_01_Anim_13) + EVT_ELSE + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_fuzzy_Palette_01_Anim_8) + EVT_END_IF + EVT_EXEC_WAIT(DoNormalHit) + EVT_END_CASE_GROUP + EVT_CASE_EQ(EVENT_BURN_HIT) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_fuzzy_Palette_01_Anim_10) + EVT_SET_CONST(LW(2), NPC_ANIM_fuzzy_Palette_01_Anim_12) + EVT_EXEC_WAIT(DoBurnHit) + EVT_CASE_EQ(EVENT_BURN_DEATH) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_fuzzy_Palette_01_Anim_10) + EVT_SET_CONST(LW(2), NPC_ANIM_fuzzy_Palette_01_Anim_12) + EVT_EXEC_WAIT(DoBurnHit) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_fuzzy_Palette_01_Anim_12) + EVT_EXEC_WAIT(DoDeath) + EVT_RETURN + EVT_CASE_EQ(EVENT_SPIN_SMASH_HIT) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_fuzzy_Palette_01_Anim_8) + EVT_EXEC_WAIT(DoSpinSmashHit) + EVT_CASE_EQ(EVENT_SPIN_SMASH_DEATH) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_fuzzy_Palette_01_Anim_8) + EVT_EXEC_WAIT(DoSpinSmashHit) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_fuzzy_Palette_01_Anim_8) + EVT_EXEC_WAIT(DoDeath) + EVT_RETURN + EVT_CASE_EQ(EVENT_SHOCK_HIT) + EVT_CALL(func_80269470) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_fuzzy_Palette_01_Anim_13) + EVT_EXEC_WAIT(DoShockHit) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_fuzzy_Palette_01_Anim_13) + EVT_EXEC_WAIT(DoJumpBack) + EVT_CALL(JumpToGoal, ACTOR_SELF, 5, FALSE, TRUE, FALSE) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_fuzzy_Palette_01_Anim_3) + EVT_EXEC_WAIT(D_8029C0A4) + 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_CALL(func_80269470) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_fuzzy_Palette_01_Anim_13) + EVT_EXEC_WAIT(DoShockHit) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_fuzzy_Palette_01_Anim_13) + EVT_EXEC_WAIT(DoDeath) + EVT_RETURN + EVT_CASE_OR_EQ(EVENT_UNKNOWN_TRIGGER) + EVT_CASE_OR_EQ(EVENT_IMMUNE) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_fuzzy_Palette_01_Anim_1) + EVT_EXEC_WAIT(DoImmune) + EVT_END_CASE_GROUP + EVT_CASE_EQ(EVENT_DEATH) + EVT_CALL(GetLastElement, LW(0)) + EVT_IF_FLAG(LW(0), DAMAGE_TYPE_ELECTRIC) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_fuzzy_Palette_01_Anim_13) + EVT_EXEC_WAIT(DoNormalHit) + EVT_WAIT_FRAMES(10) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_fuzzy_Palette_01_Anim_13) + EVT_EXEC_WAIT(DoDeath) + EVT_ELSE + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_fuzzy_Palette_01_Anim_8) + EVT_EXEC_WAIT(DoNormalHit) + EVT_WAIT_FRAMES(10) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_fuzzy_Palette_01_Anim_8) + EVT_EXEC_WAIT(DoDeath) + EVT_END_IF + EVT_RETURN + EVT_CASE_EQ(EVENT_RECOVER_STATUS) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_fuzzy_Palette_01_Anim_1) + EVT_EXEC_WAIT(DoRecover) + EVT_CASE_EQ(EVENT_SCARE_AWAY) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_fuzzy_Palette_01_Anim_3) + EVT_SET_CONST(LW(2), NPC_ANIM_fuzzy_Palette_01_Anim_9) + EVT_EXEC_WAIT(DoScareAway) + EVT_RETURN + EVT_CASE_EQ(EVENT_BEGIN_AIR_LIFT) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_fuzzy_Palette_01_Anim_3) + EVT_EXEC_WAIT(DoAirLift) + EVT_CASE_EQ(EVENT_BLOW_AWAY) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_fuzzy_Palette_01_Anim_3) + EVT_EXEC_WAIT(DoBlowAway) + EVT_RETURN + EVT_CASE_EQ(EVENT_AIR_LIFT_FAILED) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_fuzzy_Palette_01_Anim_1) + 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(80218C48) = { + EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE) + EVT_CALL(EnableIdleScript, ACTOR_SELF, 0) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_19) + EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(SetBattleCamTarget, LW(0), LW(1), LW(2)) + EVT_CALL(SetBattleCamZoom, 330) + EVT_CALL(SetBattleCamOffsetZ, 30) + EVT_CALL(MoveBattleCamOver, 20) + EVT_WAIT_FRAMES(20) + EVT_CALL(SetActorDispOffset, ACTOR_SELF, 0, 0, 0) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_B) + EVT_THREAD + EVT_WAIT_FRAMES(30) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x206E) + EVT_WAIT_FRAMES(30) + EVT_LOOP(4) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x206F) + EVT_WAIT_FRAMES(11) + EVT_END_LOOP + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x2070) + EVT_END_THREAD + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_fuzzy_Palette_01_Anim_D) + EVT_WAIT_FRAMES(130) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_fuzzy_Palette_01_Anim_2) + EVT_CALL(SummonEnemy, EVT_ADDR(N(specialFormation_8021A800)), 0) + EVT_CALL(GetActorPos, ACTOR_SELF, LW(1), LW(2), LW(3)) + EVT_CALL(SetActorPos, LW(0), LW(1), LW(2), LW(3)) + EVT_CALL(SetGoalToIndex, LW(0), LW(10)) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(MoveBattleCamOver, 20) + EVT_THREAD + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_fuzzy_Palette_01_Anim_2) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.4)) + EVT_CALL(GetActorPos, ACTOR_SELF, LW(1), LW(2), LW(3)) + EVT_CALL(SetGoalPos, ACTOR_SELF, LW(1), LW(2), LW(3)) + EVT_CALL(JumpToGoal, ACTOR_SELF, 14, FALSE, TRUE, FALSE) + EVT_END_THREAD + EVT_WAIT_FRAMES(1) + EVT_CALL(SetAnimation, LW(0), 1, NPC_ANIM_fuzzy_Palette_01_Anim_2) + EVT_CALL(SetActorJumpGravity, LW(0), EVT_FLOAT(1.4)) + EVT_CALL(JumpToGoal, LW(0), 14, FALSE, TRUE, FALSE) + EVT_CALL(GetActorPos, LW(0), LW(1), LW(2), LW(3)) + EVT_CALL(ForceHomePos, LW(0), LW(1), LW(2), LW(3)) + EVT_CALL(HPBarToHome, LW(0)) + EVT_CALL(SetAnimation, LW(0), 1, NPC_ANIM_fuzzy_Palette_01_Anim_1) + EVT_CALL(GetActorVar, ACTOR_SELF, 0, LW(1)) + EVT_SWITCH(LW(1)) + EVT_CASE_EQ(0) + EVT_CALL(SetActorVar, LW(0), 0, 1) + EVT_CASE_EQ(1) + EVT_CALL(SetActorVar, LW(0), 0, 2) + EVT_END_SWITCH + EVT_CALL(EnableIdleScript, ACTOR_SELF, 1) + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_RETURN + EVT_END +}; + +#include "common/UnkBattleFunc2.inc.c" + +EvtScript N(80219054) = { + EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE) + EVT_CALL(EnableIdleScript, ACTOR_SELF, 0) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_63) + EVT_CALL(BattleCamTargetActor, ACTOR_SELF) + EVT_CALL(func_8024ECF8, -1, 1, 0) + EVT_CALL(GetBattlePhase, LW(0)) + EVT_IF_EQ(LW(0), PHASE_FIRST_STRIKE) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_ADD(LW(0), 50) + EVT_SET(LW(1), 0) + EVT_CALL(SetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_GOTO(100) + EVT_END_IF + EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_fuzzy_Palette_01_Anim_3) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_ADD(LW(0), 50) + EVT_SET(LW(1), 0) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(6.0)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.8)) + EVT_EXEC_WAIT(D_8029C12C) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_fuzzy_Palette_01_Anim_1) + EVT_LABEL(100) + EVT_CALL(SetActorDispOffset, ACTOR_SELF, 0, 10, 0) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_fuzzy_Palette_01_Anim_4) + EVT_CALL(SetActorDispOffset, ACTOR_SELF, 0, 9, 0) + EVT_WAIT_FRAMES(1) + EVT_CALL(SetActorDispOffset, ACTOR_SELF, 0, 8, 0) + EVT_WAIT_FRAMES(5) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LW(0), DAMAGE_TYPE_IGNORE_DEFENSE, 0, 1, BS_FLAGS1_10) + EVT_SWITCH(LW(0)) + EVT_CASE_OR_EQ(HIT_RESULT_MISS) + EVT_CASE_OR_EQ(HIT_RESULT_LUCKY) + EVT_SET(LW(10), LW(0)) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_SUB(LW(0), 5) + EVT_SET(LW(1), 0) + EVT_SUB(LW(2), 5) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(3.0)) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_fuzzy_Palette_01_Anim_5) + EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(JumpToGoal, ACTOR_SELF, 11, FALSE, TRUE, FALSE) + EVT_CALL(SetActorDispOffset, ACTOR_SELF, 0, 0, 0) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_fuzzy_Palette_01_Anim_9) + EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_SUB(LW(0), 20) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(3.0)) + EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(JumpToGoal, ACTOR_SELF, 6, FALSE, TRUE, FALSE) + EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_SUB(LW(0), 15) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(3.0)) + EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(JumpToGoal, ACTOR_SELF, 5, FALSE, TRUE, FALSE) + EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_WAIT_FRAMES(4) + EVT_WAIT_FRAMES(5) + EVT_IF_EQ(LW(10), HIT_RESULT_LUCKY) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LW(0), DAMAGE_TYPE_TRIGGER_LUCKY, 0, 0, 0) + EVT_END_IF + EVT_WAIT_FRAMES(5) + 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, NPC_ANIM_fuzzy_Palette_01_Anim_3) + EVT_CALL(SetGoalToHome, ACTOR_SELF) + EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(8.0)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.8)) + EVT_EXEC_WAIT(D_8029C12C) + 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_CASE_EQ(HIT_RESULT_HIT_STATIC) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LW(0)) + EVT_IF_FLAG(LW(0), STATUS_FLAG_STATIC) + EVT_SET(LF(0), 0) + EVT_ELSE + EVT_SET(LF(0), 1) + EVT_END_IF + EVT_END_SWITCH + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(AddGoalPos, ACTOR_SELF, -3, -12, -15) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(3.0)) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_fuzzy_Palette_01_Anim_5) + EVT_CALL(JumpToGoal, ACTOR_SELF, 8, FALSE, TRUE, FALSE) + EVT_IF_EQ(LF(0), 1) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LW(0), DAMAGE_TYPE_IGNORE_DEFENSE, 0, 0, 0, BS_FLAGS1_SP_EVT_ACTIVE) + EVT_RETURN + EVT_END_IF + EVT_WAIT_FRAMES(10) + EVT_CALL(UseIdleAnimation, ACTOR_PLAYER, FALSE) + EVT_CALL(SetAnimation, ACTOR_PLAYER, 0, 0x03000C) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x3E0) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_fuzzy_Palette_01_Anim_7) + EVT_WAIT_FRAMES(21) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_fuzzy_Palette_01_Anim_0) + EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, 330) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x3E0) + EVT_CALL(SetActorDispOffset, ACTOR_SELF, -3, -2, 0) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.0), EVT_FLOAT(1.0), EVT_FLOAT(1.0)) + EVT_WAIT_FRAMES(1) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(0.9), EVT_FLOAT(1.2), EVT_FLOAT(1.0)) + EVT_WAIT_FRAMES(1) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(0.8), EVT_FLOAT(1.3), EVT_FLOAT(1.0)) + EVT_WAIT_FRAMES(1) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(0.7), EVT_FLOAT(1.4), EVT_FLOAT(1.0)) + EVT_WAIT_FRAMES(1) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(0.7), EVT_FLOAT(1.5), EVT_FLOAT(1.0)) + EVT_WAIT_FRAMES(2) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(0.6), EVT_FLOAT(1.6), EVT_FLOAT(1.0)) + EVT_WAIT_FRAMES(10) + EVT_WAIT_FRAMES(2) + EVT_CALL(UseIdleAnimation, ACTOR_PLAYER, TRUE) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LW(10), 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, NPC_ANIM_fuzzy_Palette_01_Anim_1) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(GetLastDamage, ACTOR_PLAYER, LW(3)) + EVT_IF_NE(LW(3), 0) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x206D) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x214) + EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_ADD(LW(1), 10) + EVT_CALL(N(UnkBattleFunc2), LW(0), LW(1), LW(2), LW(3)) + EVT_THREAD + EVT_WAIT_FRAMES(15) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_25C) + EVT_CALL(N(UnkBattleFunc2_2), LW(0), LW(1), LW(2), LW(3)) + EVT_END_THREAD + EVT_ADD(LW(0), 20) + EVT_ADD(LW(1), 20) + EVT_CALL(PlayEffect, EFFECT_ID_40, 0, LW(0), LW(1), LW(2), LW(3), 0, 0, 0, 0, 0, 0, 0, 0) + EVT_CALL(GetActorHP, ACTOR_SELF, LW(0)) + EVT_ADD(LW(0), LW(3)) + EVT_CALL(SetEnemyHP, ACTOR_SELF, LW(0)) + EVT_END_IF + EVT_THREAD + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.6), EVT_FLOAT(0.6), EVT_FLOAT(1.0)) + EVT_CALL(SetActorRotationOffset, ACTOR_SELF, 0, 10, 0) + EVT_WAIT_FRAMES(1) + EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, 330) + EVT_WAIT_FRAMES(1) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(0.7), EVT_FLOAT(1.5), EVT_FLOAT(1.0)) + EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, 300) + EVT_WAIT_FRAMES(1) + EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, 270) + EVT_WAIT_FRAMES(1) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.0), EVT_FLOAT(0.7), EVT_FLOAT(1.0)) + EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, 240) + EVT_WAIT_FRAMES(1) + EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, 210) + EVT_WAIT_FRAMES(1) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(0.7), EVT_FLOAT(1.4), EVT_FLOAT(1.0)) + EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, 180) + EVT_WAIT_FRAMES(2) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.0), EVT_FLOAT(0.7), EVT_FLOAT(1.0)) + EVT_WAIT_FRAMES(2) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.2), EVT_FLOAT(0.5), EVT_FLOAT(1.0)) + EVT_END_THREAD + EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_ADD(LW(0), 40) + EVT_SET(LW(1), 0) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.8)) + EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(JumpToGoal, ACTOR_SELF, 10, FALSE, TRUE, FALSE) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.4), EVT_FLOAT(0.2), EVT_FLOAT(1.0)) + EVT_WAIT_FRAMES(1) + EVT_THREAD + EVT_WAIT_FRAMES(1) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.2), EVT_FLOAT(0.5), EVT_FLOAT(1.0)) + EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, 150) + EVT_WAIT_FRAMES(1) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.0), EVT_FLOAT(1.0), EVT_FLOAT(1.0)) + EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, 120) + EVT_WAIT_FRAMES(1) + EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, 90) + EVT_WAIT_FRAMES(1) + EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, 60) + EVT_WAIT_FRAMES(1) + EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, 30) + EVT_WAIT_FRAMES(1) + EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, 0) + EVT_CALL(SetActorRotationOffset, ACTOR_SELF, 0, 0, 0) + EVT_END_THREAD + EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_ADD(LW(0), 30) + EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(JumpToGoal, ACTOR_SELF, 8, FALSE, TRUE, FALSE) + EVT_WAIT_FRAMES(5) + EVT_CALL(YieldTurn) + EVT_CALL(SetActorDispOffset, ACTOR_SELF, 0, 0, 0) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_fuzzy_Palette_01_Anim_3) + EVT_CALL(SetGoalToHome, ACTOR_SELF) + EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(8.0)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.8)) + EVT_EXEC_WAIT(D_8029C12C) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_fuzzy_Palette_01_Anim_1) + EVT_CALL(EnableIdleScript, ACTOR_SELF, 1) + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_RETURN + EVT_END +}; + +EvtScript N(8021A0D4) = { + EVT_SET(LF(1), 0) + EVT_SET(LF(2), 0) + EVT_SET(LF(3), 0) + EVT_SET(LF(4), 0) + EVT_CALL(EnemyCreateTargetList, 32770) + EVT_CALL(InitTargetIterator) + EVT_LABEL(0) + EVT_CALL(GetOwnerTarget, LW(0), LW(5)) + EVT_CALL(GetIndexFromHome, LW(0), LW(5)) + EVT_MOD(LW(5), 4) + EVT_SWITCH(LW(5)) + EVT_CASE_EQ(0) + EVT_SET(LF(1), 1) + EVT_CASE_EQ(1) + EVT_SET(LF(2), 1) + EVT_CASE_EQ(2) + EVT_SET(LF(3), 1) + EVT_CASE_EQ(3) + EVT_SET(LF(4), 1) + EVT_END_SWITCH + EVT_CALL(ChooseNextTarget, 0, LW(0)) + EVT_IF_NE(LW(0), -1) + EVT_GOTO(0) + EVT_END_IF + EVT_SET(LW(10), -1) + EVT_SET(LW(11), -1) + EVT_CALL(GetIndexFromHome, ACTOR_SELF, LW(0)) + EVT_SWITCH(LW(0)) + EVT_CASE_EQ(0) + EVT_IF_EQ(LF(2), 0) + EVT_SET(LW(10), 1) + EVT_END_IF + EVT_CASE_EQ(1) + EVT_IF_EQ(LF(1), 0) + EVT_SET(LW(10), 0) + EVT_END_IF + EVT_IF_EQ(LF(3), 0) + EVT_IF_EQ(LW(10), -1) + EVT_SET(LW(10), 2) + EVT_ELSE + EVT_SET(LW(11), 2) + EVT_END_IF + EVT_END_IF + EVT_CASE_EQ(2) + EVT_IF_EQ(LF(2), 0) + EVT_SET(LW(10), 1) + EVT_END_IF + EVT_IF_EQ(LF(4), 0) + EVT_IF_EQ(LW(10), -1) + EVT_SET(LW(10), 3) + EVT_ELSE + EVT_SET(LW(11), 3) + EVT_END_IF + EVT_END_IF + EVT_CASE_EQ(3) + EVT_IF_EQ(LF(3), 0) + EVT_SET(LW(10), 2) + EVT_END_IF + EVT_END_SWITCH + EVT_IF_NE(LW(11), -1) + EVT_CALL(RandInt, 1000, LW(0)) + EVT_IF_LT(LW(0), 500) + EVT_SET(LW(10), LW(11)) + EVT_END_IF + EVT_END_IF + EVT_RETURN + EVT_END +}; + +EvtScript N(8021A45C) = { + EVT_SET(LW(9), 0) + EVT_CALL(EnemyCreateTargetList, 32770) + EVT_CALL(InitTargetIterator) + EVT_LABEL(0) + EVT_CALL(GetOwnerTarget, LW(0), LW(1)) + EVT_CALL(GetOriginalActorType, LW(0), LW(2)) + EVT_SWITCH(LW(2)) + EVT_CASE_OR_EQ(ACTOR_TYPE_FOREST_FUZZY) + EVT_CASE_OR_EQ(ACTOR_TYPE_JUNGLE_FUZZY) + EVT_CALL(GetStatusFlags, LW(0), LW(3)) + EVT_IF_NOT_FLAG(LW(3), STATUS_FLAG_SLEEP | STATUS_FLAG_FROZEN | STATUS_FLAG_FEAR | STATUS_FLAG_PARALYZE | STATUS_FLAG_DIZZY | STATUS_FLAG_STONE | STATUS_FLAG_STOP) + EVT_CALL(GetActorVar, LW(0), 0, LW(3)) + EVT_IF_NE(LW(3), 2) + EVT_ADD(LW(9), 1) + EVT_END_IF + EVT_END_IF + EVT_END_CASE_GROUP + EVT_CASE_EQ(ACTOR_TYPE_SPEAR_GUY) + EVT_CALL(GetStatusFlags, LW(0), LW(3)) + EVT_IF_NOT_FLAG(LW(3), STATUS_FLAG_SLEEP | STATUS_FLAG_FROZEN | STATUS_FLAG_FEAR | STATUS_FLAG_PARALYZE | STATUS_FLAG_DIZZY | STATUS_FLAG_STONE | STATUS_FLAG_STOP) + EVT_CALL(GetActorVar, LW(0), 1, LW(3)) + EVT_IF_LT(LW(3), 2) + EVT_ADD(LW(9), 1) + EVT_END_IF + EVT_END_IF + EVT_END_SWITCH + EVT_CALL(ChooseNextTarget, 0, LW(0)) + EVT_IF_NE(LW(0), -1) + EVT_GOTO(0) + EVT_END_IF + EVT_RETURN + EVT_END +}; + +EvtScript N(takeTurn_8021A61C) = { + EVT_CALL(GetBattlePhase, LW(0)) + EVT_IF_EQ(LW(0), PHASE_FIRST_STRIKE) + EVT_EXEC_WAIT(N(80219054)) + EVT_RETURN + EVT_END_IF + EVT_CALL(GetActorVar, ACTOR_SELF, 0, LW(0)) + EVT_IF_EQ(LW(0), 2) + EVT_EXEC_WAIT(N(80219054)) + EVT_RETURN + EVT_END_IF + EVT_EXEC_WAIT(N(8021A0D4)) + EVT_IF_EQ(LW(10), -1) + EVT_EXEC_WAIT(N(80219054)) + EVT_RETURN + EVT_END_IF + EVT_EXEC_WAIT(N(8021A45C)) + EVT_SWITCH(LW(9)) + EVT_CASE_EQ(1) + EVT_CALL(RandInt, 1000, LW(0)) + EVT_IF_LT(LW(0), 300) + EVT_EXEC_WAIT(N(80218C48)) + EVT_RETURN + EVT_END_IF + EVT_CASE_EQ(2) + EVT_CALL(RandInt, 1000, LW(0)) + EVT_IF_LT(LW(0), 150) + EVT_EXEC_WAIT(N(80218C48)) + EVT_RETURN + EVT_END_IF + EVT_CASE_EQ(3) + EVT_CALL(RandInt, 1000, LW(0)) + EVT_IF_LT(LW(0), 100) + EVT_EXEC_WAIT(N(80218C48)) + EVT_RETURN + EVT_END_IF + EVT_END_SWITCH + EVT_EXEC_WAIT(N(80219054)) + EVT_RETURN + EVT_END +}; + +Vec3i N(vector3D_8021A7F4) = { 0, -1000, 0 }; + +Formation N(specialFormation_8021A800) = { + { .actor = &NAMESPACE, .home = { .vec = &N(vector3D_8021A7F4) }}, +}; diff --git a/src/battle/area_mim/actor/piranha_plant.c b/src/battle/area_mim/actor/piranha_plant.c new file mode 100644 index 0000000000..34adb8f0a4 --- /dev/null +++ b/src/battle/area_mim/actor/piranha_plant.c @@ -0,0 +1,371 @@ +#include "common.h" +#include "effects.h" +#include "battle/battle.h" +#include "script_api/battle.h" +#include "sprite/npc/piranha_plant.h" + +#define NAMESPACE b_area_mim_piranha_plant + +extern EvtScript N(init_8021D498); +extern EvtScript N(takeTurn_8021DCD4); +extern EvtScript N(idle_8021D4E4); +extern EvtScript N(handleEvent_8021D60C); + +s32 N(idleAnimations_8021D330)[] = { + STATUS_NORMAL, NPC_ANIM_piranha_plant_Palette_00_Anim_1, + STATUS_STONE, NPC_ANIM_piranha_plant_Palette_00_Anim_0, + STATUS_SLEEP, NPC_ANIM_piranha_plant_Palette_00_Anim_0, + STATUS_POISON, NPC_ANIM_piranha_plant_Palette_00_Anim_1, + STATUS_STOP, NPC_ANIM_piranha_plant_Palette_00_Anim_0, + STATUS_STATIC, NPC_ANIM_piranha_plant_Palette_00_Anim_1, + STATUS_PARALYZE, NPC_ANIM_piranha_plant_Palette_00_Anim_0, + STATUS_DIZZY, NPC_ANIM_piranha_plant_Palette_00_Anim_1, + STATUS_FEAR, NPC_ANIM_piranha_plant_Palette_00_Anim_1, + STATUS_END, +}; + +s32 N(unk_missing_8021D37C)[] = { + STATUS_NORMAL, NPC_ANIM_piranha_plant_Palette_00_Anim_1, + STATUS_END, +}; + +s32 N(unk_missing_8021D388)[] = { + STATUS_NORMAL, NPC_ANIM_piranha_plant_Palette_00_Anim_6, + STATUS_END, +}; + +s32 N(defenseTable_8021D394)[] = { + ELEMENT_NORMAL, 0, + ELEMENT_END, +}; + +s32 N(statusTable_8021D3A0)[] = { + STATUS_NORMAL, 0, + STATUS_DEFAULT, 0, + STATUS_SLEEP, 95, + STATUS_POISON, 0, + STATUS_FROZEN, 0, + STATUS_DIZZY, 50, + STATUS_FEAR, 0, + STATUS_STATIC, 0, + STATUS_PARALYZE, 100, + STATUS_SHRINK, 80, + STATUS_STOP, 90, + 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, 0, + STATUS_END, +}; + +ActorPartBlueprint N(partsTable_8021D44C)[] = { + { + .flags = ACTOR_PART_FLAG_MULTI_TARGET, + .index = 1, + .posOffset = { 0, 0, 0 }, + .targetOffset = { 0, 35 }, + .opacity = 255, + .idleAnimations = N(idleAnimations_8021D330), + .defenseTable = N(defenseTable_8021D394), + .eventFlags = ACTOR_EVENT_FLAG_SPIKY_TOP, + .elementImmunityFlags = 0, + .unk_1C = 246, + }, +}; + +ActorBlueprint NAMESPACE = { + .flags = 0, + .type = ACTOR_TYPE_PIRANHA_PLANT, + .level = 11, + .maxHP = 5, + .partCount = ARRAY_COUNT(N(partsTable_8021D44C)), + .partsData = N(partsTable_8021D44C), + .script = N(init_8021D498), + .statusTable = N(statusTable_8021D3A0), + .escapeChance = 70, + .airLiftChance = 20, + .spookChance = 20, + .baseStatusChance = 40, + .upAndAwayChance = 95, + .spinSmashReq = 0, + .powerBounceChance = 90, + .coinReward = 1, + .size = { 38, 38 }, + .hpBarOffset = { 0, 0 }, + .statusIconOffset = { -7, 33 }, + .statusMessageOffset = { 10, 33 }, +}; + +EvtScript N(init_8021D498) = { + EVT_CALL(BindTakeTurn, ACTOR_SELF, EVT_ADDR(N(takeTurn_8021DCD4))) + EVT_CALL(BindIdle, ACTOR_SELF, EVT_ADDR(N(idle_8021D4E4))) + EVT_CALL(BindHandleEvent, ACTOR_SELF, EVT_ADDR(N(handleEvent_8021D60C))) + EVT_RETURN + EVT_END +}; + +EvtScript N(idle_8021D4E4) = { + EVT_RETURN + EVT_END +}; + +EvtScript N(8021D4F4) = { + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(MoveBattleCamOver, 20) + EVT_CALL(SetActorFlagBits, ACTOR_SELF, ACTOR_FLAG_NO_SHADOW, 1) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_MOLE_DIG) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_piranha_plant_Palette_00_Anim_4) + EVT_WAIT_FRAMES(10) + EVT_CALL(SetGoalToHome, ACTOR_SELF) + EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(SetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_MOLE_SURFACE) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_piranha_plant_Palette_00_Anim_3) + EVT_WAIT_FRAMES(10) + EVT_CALL(SetActorFlagBits, ACTOR_SELF, ACTOR_FLAG_NO_SHADOW, 0) + EVT_RETURN + EVT_END +}; + +EvtScript N(handleEvent_8021D60C) = { + EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE) + EVT_CALL(EnableIdleScript, ACTOR_SELF, 0) + EVT_CALL(GetLastEvent, ACTOR_SELF, LW(0)) + EVT_SWITCH(LW(0)) + EVT_CASE_OR_EQ(EVENT_HIT_COMBO) + EVT_CASE_OR_EQ(EVENT_HIT) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_piranha_plant_Palette_00_Anim_9) + EVT_EXEC_WAIT(DoNormalHit) + EVT_END_CASE_GROUP + EVT_CASE_EQ(EVENT_BURN_HIT) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_piranha_plant_Palette_00_Anim_A) + EVT_SET_CONST(LW(2), NPC_ANIM_piranha_plant_Palette_00_Anim_B) + EVT_EXEC_WAIT(DoBurnHit) + EVT_CASE_EQ(EVENT_BURN_DEATH) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_piranha_plant_Palette_00_Anim_A) + EVT_SET_CONST(LW(2), NPC_ANIM_piranha_plant_Palette_00_Anim_B) + EVT_EXEC_WAIT(DoBurnHit) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_piranha_plant_Palette_00_Anim_B) + EVT_EXEC_WAIT(DoDeath) + EVT_RETURN + EVT_CASE_EQ(EVENT_SPIN_SMASH_HIT) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_piranha_plant_Palette_00_Anim_9) + EVT_EXEC_WAIT(DoSpinSmashHit) + EVT_CASE_EQ(EVENT_SPIN_SMASH_DEATH) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_piranha_plant_Palette_00_Anim_9) + EVT_EXEC_WAIT(DoSpinSmashHit) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_piranha_plant_Palette_00_Anim_9) + EVT_EXEC_WAIT(DoDeath) + EVT_RETURN + EVT_CASE_EQ(EVENT_SHOCK_HIT) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_piranha_plant_Palette_00_Anim_9) + EVT_EXEC_WAIT(DoShockHit) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(4.0)) + EVT_EXEC_WAIT(N(8021D4F4)) + EVT_CASE_EQ(EVENT_SHOCK_DEATH) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_piranha_plant_Palette_00_Anim_9) + EVT_EXEC_WAIT(DoShockHit) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_piranha_plant_Palette_00_Anim_9) + 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(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_piranha_plant_Palette_00_Anim_1) + EVT_EXEC_WAIT(DoImmune) + EVT_END_CASE_GROUP + EVT_CASE_EQ(EVENT_SPIKE_TAUNT) + EVT_THREAD + EVT_WAIT_FRAMES(10) + EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LW(3)) + EVT_IF_FLAG(LW(3), STATUS_FLAG_SHRINK) + EVT_ADD(LW(0), 0) + EVT_ADD(LW(1), 14) + EVT_ELSE + EVT_ADD(LW(0), 0) + EVT_ADD(LW(1), 35) + EVT_END_IF + EVT_CALL(PlayEffect, EFFECT_ID_1A, 0, LW(0), LW(1), LW(2), 20, 0, 0, 0, 0, 0, 0, 0, 0) + EVT_WAIT_FRAMES(20) + EVT_END_THREAD + EVT_LOOP(40) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_piranha_plant_Palette_00_Anim_1) + EVT_WAIT_FRAMES(1) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_piranha_plant_Palette_00_Anim_6) + EVT_WAIT_FRAMES(1) + EVT_END_LOOP + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_piranha_plant_Palette_00_Anim_1) + EVT_CASE_EQ(EVENT_DEATH) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_piranha_plant_Palette_00_Anim_9) + EVT_EXEC_WAIT(DoNormalHit) + EVT_WAIT_FRAMES(10) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_piranha_plant_Palette_00_Anim_9) + EVT_EXEC_WAIT(DoDeath) + EVT_RETURN + EVT_CASE_EQ(EVENT_RECOVER_STATUS) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_piranha_plant_Palette_00_Anim_1) + EVT_EXEC_WAIT(DoRecover) + EVT_CASE_EQ(EVENT_SCARE_AWAY) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_piranha_plant_Palette_00_Anim_9) + EVT_EXEC_WAIT(DoNormalHit) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_MOLE_DIG) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_piranha_plant_Palette_00_Anim_4) + EVT_CALL(SetActorFlagBits, ACTOR_SELF, ACTOR_FLAG_NO_SHADOW, 1) + EVT_WAIT_FRAMES(8) + EVT_CALL(func_8027D32C, ACTOR_SELF) + EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE) + EVT_CALL(RemoveActor, ACTOR_SELF) + EVT_RETURN + EVT_CASE_EQ(EVENT_BEGIN_AIR_LIFT) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_piranha_plant_Palette_00_Anim_9) + EVT_EXEC_WAIT(DoAirLift) + EVT_CASE_EQ(EVENT_BLOW_AWAY) + EVT_SET_CONST(LW(0), 1) + EVT_SET_CONST(LW(1), NPC_ANIM_piranha_plant_Palette_00_Anim_9) + 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_8021DCD4) = { + EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE) + EVT_CALL(EnableIdleScript, ACTOR_SELF, 0) + EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER) + EVT_CALL(GetBattlePhase, LW(0)) + EVT_IF_EQ(LW(0), PHASE_FIRST_STRIKE) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_piranha_plant_Palette_00_Anim_4) + EVT_CALL(SetActorFlagBits, ACTOR_SELF, ACTOR_FLAG_NO_SHADOW, 1) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_63) + EVT_CALL(BattleCamTargetActor, ACTOR_SELF) + EVT_CALL(func_8024ECF8, -1, 1, 0) + EVT_CALL(MoveBattleCamOver, 1) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_ADD(LW(0), 20) + EVT_SET(LW(1), 0) + EVT_CALL(SetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_WAIT_FRAMES(15) + EVT_GOTO(123) + EVT_END_IF + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_MOLE_DIG) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_piranha_plant_Palette_00_Anim_4) + EVT_CALL(SetActorFlagBits, ACTOR_SELF, ACTOR_FLAG_NO_SHADOW, 1) + EVT_WAIT_FRAMES(8) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_19) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_ADD(LW(0), 20) + EVT_SET(LW(1), 0) + EVT_CALL(SetBattleCamTarget, LW(0), LW(1), LW(2)) + EVT_CALL(SetBattleCamZoom, 350) + EVT_CALL(SetBattleCamOffsetZ, 45) + EVT_CALL(func_8024ECF8, -1, 1, 0) + EVT_CALL(MoveBattleCamOver, 20) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LW(5)) + EVT_IF_FLAG(LW(5), STATUS_FLAG_SHRINK) + EVT_ADD(LW(0), 8) + EVT_ADD(LW(0), -3) + EVT_ELSE + EVT_ADD(LW(0), 20) + EVT_END_IF + EVT_SET(LW(1), 0) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.0)) + EVT_CALL(SetActorSounds, ACTOR_SELF, 2, 0, 0) + EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(JumpToGoal, ACTOR_SELF, 20, FALSE, FALSE, FALSE) + EVT_LABEL(123) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_MOLE_SURFACE) + EVT_CALL(SetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) + EVT_CALL(SetActorFlagBits, ACTOR_SELF, ACTOR_FLAG_NO_SHADOW, 0) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_piranha_plant_Palette_00_Anim_3) + EVT_WAIT_FRAMES(8) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_piranha_plant_Palette_00_Anim_5) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LW(0), 0, 0, 1, BS_FLAGS1_10) + EVT_SWITCH(LW(0)) + EVT_CASE_OR_EQ(HIT_RESULT_MISS) + EVT_CASE_OR_EQ(HIT_RESULT_LUCKY) + EVT_SET(LW(10), LW(0)) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LW(5)) + EVT_IF_NOT_FLAG(LW(5), STATUS_FLAG_SHRINK) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_piranha_plant_Palette_00_Anim_6) + EVT_WAIT_FRAMES(2) + EVT_END_IF + EVT_THREAD + EVT_WAIT_FRAMES(6) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x20DE) + EVT_END_THREAD + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_piranha_plant_Palette_00_Anim_7) + EVT_WAIT_FRAMES(10) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_piranha_plant_Palette_00_Anim_8) + EVT_WAIT_FRAMES(2) + EVT_IF_EQ(LW(10), HIT_RESULT_LUCKY) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LW(0), DAMAGE_TYPE_TRIGGER_LUCKY, 0, 0, 0) + EVT_END_IF + EVT_WAIT_FRAMES(15) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(YieldTurn) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(4.0)) + EVT_EXEC_WAIT(N(8021D4F4)) + 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, NPC_ANIM_piranha_plant_Palette_00_Anim_6) + EVT_WAIT_FRAMES(2) + EVT_THREAD + EVT_WAIT_FRAMES(6) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x20DE) + EVT_END_THREAD + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_piranha_plant_Palette_00_Anim_7) + EVT_WAIT_FRAMES(10) + EVT_WAIT_FRAMES(2) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LW(0), 0, 0, 0, 3, BS_FLAGS1_SP_EVT_ACTIVE) + EVT_SWITCH(LW(0)) + EVT_CASE_OR_EQ(HIT_RESULT_HIT) + EVT_CASE_OR_EQ(HIT_RESULT_QUAKE_IMMUNE) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_WAIT_FRAMES(2) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_piranha_plant_Palette_00_Anim_8) + EVT_WAIT_FRAMES(15) + EVT_CALL(YieldTurn) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(6.0)) + EVT_EXEC_WAIT(N(8021D4F4)) + 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_mim/area.c b/src/battle/area_mim/area.c new file mode 100644 index 0000000000..677e98ba36 --- /dev/null +++ b/src/battle/area_mim/area.c @@ -0,0 +1,144 @@ +#include "common.h" +#include "battle/battle.h" +#include "script_api/battle.h" + +#define NAMESPACE b_area_mim + +extern ActorBlueprint N(forest_fuzzy); +extern ActorBlueprint N(piranha_plant); +extern ActorBlueprint N(bzzap); + +extern Stage N(mim_01); + +Formation N(formation_00) = { + { .actor = &N(forest_fuzzy), .home = { .index = 1 }, .priority = 10 }, + { .actor = &N(forest_fuzzy), .home = { .index = 2 }, .priority = 9 }, +}; + +Formation N(formation_01) = { + { .actor = &N(forest_fuzzy), .home = { .index = 0 }, .priority = 10 }, + { .actor = &N(forest_fuzzy), .home = { .index = 1 }, .priority = 9 }, + { .actor = &N(forest_fuzzy), .home = { .index = 2 }, .priority = 8 }, +}; + +Formation N(formation_02) = { + { .actor = &N(forest_fuzzy), .home = { .index = 0 }, .priority = 10 }, + { .actor = &N(forest_fuzzy), .home = { .index = 1 }, .priority = 9 }, + { .actor = &N(forest_fuzzy), .home = { .index = 2 }, .priority = 8 }, + { .actor = &N(forest_fuzzy), .home = { .index = 3 }, .priority = 7 }, +}; + +Formation N(formation_03) = { + { .actor = &N(forest_fuzzy), .home = { .index = 1 }, .priority = 10 }, + { .actor = &N(piranha_plant), .home = { .index = 2 }, .priority = 9 }, +}; + +Formation N(formation_04) = { + { .actor = &N(forest_fuzzy), .home = { .index = 0 }, .priority = 10 }, + { .actor = &N(forest_fuzzy), .home = { .index = 1 }, .priority = 9 }, + { .actor = &N(piranha_plant), .home = { .index = 2 }, .priority = 8 }, +}; + +Formation N(formation_05) = { + { .actor = &N(forest_fuzzy), .home = { .index = 0 }, .priority = 10 }, + { .actor = &N(forest_fuzzy), .home = { .index = 1 }, .priority = 9 }, + { .actor = &N(piranha_plant), .home = { .index = 2 }, .priority = 8 }, + { .actor = &N(piranha_plant), .home = { .index = 3 }, .priority = 7 }, +}; + +Formation N(formation_06) = { + { .actor = &N(forest_fuzzy), .home = { .index = 0 }, .priority = 10 }, + { .actor = &N(forest_fuzzy), .home = { .index = 1 }, .priority = 9 }, + { .actor = &N(forest_fuzzy), .home = { .index = 2 }, .priority = 8 }, + { .actor = &N(piranha_plant), .home = { .index = 3 }, .priority = 7 }, +}; + +Formation N(formation_07) = { + { .actor = &N(forest_fuzzy), .home = { .index = 0 }, .priority = 10 }, + { .actor = &N(piranha_plant), .home = { .index = 1 }, .priority = 9 }, + { .actor = &N(forest_fuzzy), .home = { .index = 2 }, .priority = 8 }, + { .actor = &N(piranha_plant), .home = { .index = 3 }, .priority = 7 }, +}; + +Formation N(formation_08) = { + { .actor = &N(piranha_plant), .home = { .index = 1 }, .priority = 10 }, +}; + +Formation N(formation_09) = { + { .actor = &N(piranha_plant), .home = { .index = 1 }, .priority = 10 }, + { .actor = &N(piranha_plant), .home = { .index = 2 }, .priority = 9 }, +}; + +Formation N(formation_0A) = { + { .actor = &N(piranha_plant), .home = { .index = 0 }, .priority = 10 }, + { .actor = &N(piranha_plant), .home = { .index = 1 }, .priority = 9 }, + { .actor = &N(piranha_plant), .home = { .index = 2 }, .priority = 8 }, +}; + +Formation N(formation_0B) = { + { .actor = &N(piranha_plant), .home = { .index = 0 }, .priority = 10 }, + { .actor = &N(piranha_plant), .home = { .index = 1 }, .priority = 9 }, + { .actor = &N(piranha_plant), .home = { .index = 2 }, .priority = 8 }, + { .actor = &N(piranha_plant), .home = { .index = 3 }, .priority = 7 }, +}; + +Formation N(formation_0C) = { + { .actor = &N(piranha_plant), .home = { .index = 1 }, .priority = 10 }, + { .actor = &N(forest_fuzzy), .home = { .index = 2 }, .priority = 9 }, +}; + +Formation N(formation_0D) = { + { .actor = &N(piranha_plant), .home = { .index = 0 }, .priority = 10 }, + { .actor = &N(piranha_plant), .home = { .index = 1 }, .priority = 9 }, + { .actor = &N(forest_fuzzy), .home = { .index = 2 }, .priority = 8 }, +}; + +Formation N(formation_0E) = { + { .actor = &N(piranha_plant), .home = { .index = 0 }, .priority = 10 }, + { .actor = &N(forest_fuzzy), .home = { .index = 1 }, .priority = 9 }, + { .actor = &N(forest_fuzzy), .home = { .index = 2 }, .priority = 8 }, +}; + +Formation N(formation_0F) = { + { .actor = &N(piranha_plant), .home = { .index = 0 }, .priority = 10 }, + { .actor = &N(forest_fuzzy), .home = { .index = 1 }, .priority = 9 }, + { .actor = &N(piranha_plant), .home = { .index = 2 }, .priority = 8 }, +}; + +Formation N(formation_10) = { + { .actor = &N(bzzap), .home = { .index = 5 }, .priority = 10 }, + { .actor = &N(bzzap), .home = { .index = 6 }, .priority = 9 }, +}; + +Formation N(formation_11) = { + { .actor = &N(bzzap), .home = { .index = 4 }, .priority = 10 }, + { .actor = &N(bzzap), .home = { .index = 5 }, .priority = 9 }, + { .actor = &N(bzzap), .home = { .index = 6 }, .priority = 8 }, +}; + +BattleList N(formationTable) = { + BATTLE("グリーンチョロボンx2", N(formation_00), &N(mim_01)), + BATTLE("グリーンチョロボンx3", N(formation_01), &N(mim_01)), + BATTLE("グリーンチョロボンx4", N(formation_02), &N(mim_01)), + BATTLE("グリーンチョロボン,パックンフラワー", N(formation_03), &N(mim_01)), + BATTLE("グリーンチョロボンx2,パックンフラワー", N(formation_04), &N(mim_01)), + BATTLE("グリーンチョロボンx2,パックンフラワーx2", N(formation_05), &N(mim_01)), + BATTLE("グリーンチョロボンx3,パックンフラワー", N(formation_06), &N(mim_01)), + BATTLE("グリーンチョロボン,パックンフラワー,グリーンチョロボン,パックンフラワー", N(formation_07), &N(mim_01)), + BATTLE("パックンフラワー", N(formation_08), &N(mim_01)), + BATTLE("パックンフラワーx2", N(formation_09), &N(mim_01)), + BATTLE("パックンフラワーx3", N(formation_0A), &N(mim_01)), + BATTLE("パックンフラワーx4", N(formation_0B), &N(mim_01)), + BATTLE("パックンフラワー,グリーンチョロボン", N(formation_0C), &N(mim_01)), + BATTLE("パックンフラワーx2,グリーンチョロボン", N(formation_0D), &N(mim_01)), + BATTLE("パックンフラワー,グリーンチョロボンx2", N(formation_0E), &N(mim_01)), + BATTLE("パックンフラワー,グリーンチョロボン,パックンフラワー", N(formation_0F), &N(mim_01)), + BATTLE("ハッチーx2", N(formation_10), &N(mim_01)), + BATTLE("ハッチーx3", N(formation_11), &N(mim_01)), + {}, +}; + +StageList N(stageTable) = { + { "mim_01", &N(mim_01) }, + {}, +}; diff --git a/src/battle/area_mim/stage/mim_01.c b/src/battle/area_mim/stage/mim_01.c new file mode 100644 index 0000000000..cf5d45fc33 --- /dev/null +++ b/src/battle/area_mim/stage/mim_01.c @@ -0,0 +1,26 @@ +#include "common.h" +#include "battle/battle.h" + +#define NAMESPACE b_area_mim_mim_01 + +#include "common/UnkFogFunc2.inc.c" + +EvtScript N(beforeBattle_8021E450) = { + EVT_CALL(SetSpriteShading, -1) + EVT_CALL(N(UnkFogFunc2)) + EVT_RETURN + EVT_END +}; + +EvtScript N(afterBattle_8021E47C) = { + EVT_RETURN + EVT_END +}; + +Stage NAMESPACE = { + .texture = "mim_tex", + .shape = "mim_bt01_shape", + .hit = "mim_bt01_hit", + .preBattle = N(beforeBattle_8021E450), + .postBattle = N(afterBattle_8021E47C), +}; diff --git a/src/battle/area_nok/actor/fuzzy.c b/src/battle/area_nok/actor/fuzzy.c index 10da455dda..dc1f4eb41a 100644 --- a/src/battle/area_nok/actor/fuzzy.c +++ b/src/battle/area_nok/actor/fuzzy.c @@ -162,7 +162,7 @@ EvtScript N(handleEvent_802221FC) = { EVT_SET_CONST(LW(0), 0x00000001) EVT_SET_CONST(LW(1), NPC_ANIM_fuzzy_Palette_00_Anim_3) EVT_EXEC_WAIT(D_8029C0A4) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.6005859375)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.6)) EVT_CALL(JumpToGoal, ACTOR_SELF, 5, FALSE, TRUE, FALSE) EVT_CASE_EQ(38) EVT_SET_CONST(LW(0), 0x00000001) @@ -250,7 +250,7 @@ EvtScript N(takeTurn_80222860) = { EVT_ADD(LW(0), 50) EVT_SET(LW(1), 0) EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(6.0)) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.80078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.8)) EVT_EXEC_WAIT(D_8029C12C) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_fuzzy_Palette_00_Anim_1) EVT_LABEL(100) @@ -301,7 +301,7 @@ EvtScript N(takeTurn_80222860) = { EVT_CALL(SetGoalToHome, ACTOR_SELF) EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(8.0)) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.80078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.8)) EVT_EXEC_WAIT(D_8029C12C) EVT_CALL(RemoveActorDecoration, ACTOR_SELF, 1, 0) EVT_CALL(SetActorYaw, ACTOR_SELF, 0) @@ -338,15 +338,15 @@ EvtScript N(takeTurn_80222860) = { EVT_CALL(SetActorDispOffset, ACTOR_SELF, -3, -2, 0) EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.0), EVT_FLOAT(1.0), EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(1) - EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(0.900390625), EVT_FLOAT(1.2001953125), EVT_FLOAT(1.0)) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(0.9), EVT_FLOAT(1.2), EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(1) - EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(0.80078125), EVT_FLOAT(1.30078125), EVT_FLOAT(1.0)) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(0.8), EVT_FLOAT(1.3), EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(1) - EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(0.7001953125), EVT_FLOAT(1.400390625), EVT_FLOAT(1.0)) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(0.7), EVT_FLOAT(1.4), EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(1) - EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(0.7001953125), EVT_FLOAT(1.5), EVT_FLOAT(1.0)) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(0.7), EVT_FLOAT(1.5), EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(2) - EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(0.6005859375), EVT_FLOAT(1.6005859375), EVT_FLOAT(1.0)) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(0.6), EVT_FLOAT(1.6), EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(10) EVT_WAIT_FRAMES(2) EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LW(0), DAMAGE_TYPE_IGNORE_DEFENSE, 0, 0, 1, 32) @@ -376,39 +376,39 @@ EvtScript N(takeTurn_80222860) = { EVT_CALL(SetEnemyHP, -127, LW(0)) EVT_END_IF EVT_THREAD - EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.6005859375), EVT_FLOAT(0.6005859375), EVT_FLOAT(1.0)) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.6), EVT_FLOAT(0.6), EVT_FLOAT(1.0)) EVT_CALL(SetActorRotationOffset, -127, 0, 10, 0) EVT_WAIT_FRAMES(1) EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, 330) EVT_WAIT_FRAMES(1) - EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(0.7001953125), EVT_FLOAT(1.5), EVT_FLOAT(1.0)) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(0.7), EVT_FLOAT(1.5), EVT_FLOAT(1.0)) EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, 300) EVT_WAIT_FRAMES(1) EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, 270) EVT_WAIT_FRAMES(1) - EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.0), EVT_FLOAT(0.7001953125), EVT_FLOAT(1.0)) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.0), EVT_FLOAT(0.7), EVT_FLOAT(1.0)) EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, 240) EVT_WAIT_FRAMES(1) EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, 210) EVT_WAIT_FRAMES(1) - EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(0.7001953125), EVT_FLOAT(1.400390625), EVT_FLOAT(1.0)) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(0.7), EVT_FLOAT(1.4), EVT_FLOAT(1.0)) EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, 180) EVT_WAIT_FRAMES(2) - EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.0), EVT_FLOAT(0.7001953125), EVT_FLOAT(1.0)) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.0), EVT_FLOAT(0.7), EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(2) - EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.2001953125), EVT_FLOAT(0.5), EVT_FLOAT(1.0)) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.2), EVT_FLOAT(0.5), EVT_FLOAT(1.0)) EVT_END_THREAD EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_ADD(LW(0), 40) EVT_SET(LW(1), 0) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.80078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.8)) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(JumpToGoal, ACTOR_SELF, 10, FALSE, TRUE, FALSE) - EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.400390625), EVT_FLOAT(0.2001953125), EVT_FLOAT(1.0)) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.4), EVT_FLOAT(0.2), EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(1) EVT_THREAD EVT_WAIT_FRAMES(1) - EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.2001953125), EVT_FLOAT(0.5), EVT_FLOAT(1.0)) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.2), EVT_FLOAT(0.5), EVT_FLOAT(1.0)) EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, 150) EVT_WAIT_FRAMES(1) EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.0), EVT_FLOAT(1.0), EVT_FLOAT(1.0)) @@ -434,7 +434,7 @@ EvtScript N(takeTurn_80222860) = { EVT_CALL(SetGoalToHome, ACTOR_SELF) EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(8.0)) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.80078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.8)) EVT_EXEC_WAIT(D_8029C12C) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_fuzzy_Palette_00_Anim_1) EVT_END_CASE_GROUP diff --git a/src/battle/area_nok/actor/kent_c_koopa.c b/src/battle/area_nok/actor/kent_c_koopa.c index 3f9597d9c4..38780bc1f5 100644 --- a/src/battle/area_nok/actor/kent_c_koopa.c +++ b/src/battle/area_nok/actor/kent_c_koopa.c @@ -750,7 +750,7 @@ EvtScript N(shellToss_KentC) = { EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_ADD(LW(0), 30) EVT_SET(LW(1), 0) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.80078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.8)) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(JumpToGoal, ACTOR_SELF, 8, FALSE, TRUE, FALSE) EVT_THREAD @@ -907,7 +907,7 @@ EvtScript N(tackle_KentC) = { EVT_WAIT_FRAMES(2) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_kent_c_koopa_Palette_00_Anim_8) EVT_END_THREAD - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.30078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.3)) EVT_CALL(SetGoalToTarget, ACTOR_SELF) EVT_CALL(JumpToGoal, ACTOR_SELF, 14, FALSE, TRUE, FALSE) EVT_WAIT_FRAMES(2) diff --git a/src/battle/area_sbk/actor/bandit.c b/src/battle/area_sbk/actor/bandit.c index 2e15b5c57d..7957e35b6e 100644 --- a/src/battle/area_sbk/actor/bandit.c +++ b/src/battle/area_sbk/actor/bandit.c @@ -13,7 +13,7 @@ extern EvtScript N(takeTurn_8021E900); extern EvtScript N(idle_8021D810); extern EvtScript N(handleEvent_8021DF88); -BSS s32 D_80220160[]; +BSS s32 D_80220160; s32 N(idleAnimations_8021D510)[] = { STATUS_NORMAL, NPC_ANIM_battle_bandit_Palette_00_Anim_1, @@ -296,8 +296,9 @@ EvtScript N(8021D820) = { EVT_END }; + EvtScript N(handleEvent_8021DF88) = { - EVT_USE_ARRAY(D_80220160) + EVT_USE_ARRAY(&D_80220160) EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE) EVT_CALL(EnableIdleScript, ACTOR_SELF, 0) EVT_CALL(GetLastEvent, ACTOR_SELF, LW(0)) @@ -396,7 +397,7 @@ EvtScript N(handleEvent_8021DF88) = { EVT_SET_CONST(LW(0), 1) EVT_SET_CONST(LW(1), NPC_ANIM_battle_bandit_Palette_00_Anim_7) EVT_EXEC_WAIT(DoReturnHome) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.6005859375)) + 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(LW(0), 1) @@ -613,7 +614,7 @@ EvtScript N(takeTurn_8021E900) = { EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_ADD(LW(0), 30) EVT_SET(LW(1), 0) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.80078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.8)) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(JumpToGoal, ACTOR_SELF, 10, FALSE, TRUE, FALSE) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_battle_bandit_Palette_00_Anim_1) @@ -623,7 +624,7 @@ EvtScript N(takeTurn_8021E900) = { EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_ADD(LW(0), 30) EVT_SET(LW(1), 0) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.80078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.8)) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(JumpToGoal, ACTOR_SELF, 10, FALSE, TRUE, FALSE) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_battle_bandit_Palette_00_Anim_E) @@ -657,7 +658,7 @@ EvtScript N(takeTurn_8021E900) = { EVT_WAIT_FRAMES(1) EVT_END_LOOP EVT_END_THREAD - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.80078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.8)) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(10), LW(11), LW(12)) EVT_CALL(JumpToGoal, ACTOR_SELF, 10, FALSE, TRUE, FALSE) EVT_CALL(SetIdleAnimations, ACTOR_SELF, 1, EVT_ADDR(N(idleAnimations_8021D55C))) diff --git a/src/battle/area_sbk/actor/pokey.c b/src/battle/area_sbk/actor/pokey.c index 7713542563..9ed57d8251 100644 --- a/src/battle/area_sbk/actor/pokey.c +++ b/src/battle/area_sbk/actor/pokey.c @@ -430,8 +430,8 @@ EvtScript N(handleEvent_802186C0) = { EVT_CALL(GetActorPos, ACTOR_SELF, LW(3), LW(4), LW(5)) EVT_CALL(GetStatusFlags, ACTOR_SELF, LW(6)) EVT_IF_FLAG(LW(6), STATUS_FLAG_SHRINK) - EVT_MULF(LW(0), EVT_FLOAT(0.400390625)) - EVT_MULF(LW(1), EVT_FLOAT(0.400390625)) + EVT_MULF(LW(0), EVT_FLOAT(0.4)) + EVT_MULF(LW(1), EVT_FLOAT(0.4)) EVT_END_IF EVT_ADDF(LW(3), LW(0)) EVT_ADDF(LW(4), LW(1)) @@ -700,13 +700,13 @@ EvtScript N(takeTurn_8021A018) = { EVT_IF_NOT_FLAG(LW(0), STATUS_FLAG_SHRINK) EVT_CALL(SetPartScale, ACTOR_SELF, 6, EVT_FLOAT(1.0), EVT_FLOAT(1.0), EVT_FLOAT(1.0)) EVT_ELSE - EVT_CALL(SetPartScale, ACTOR_SELF, 6, EVT_FLOAT(0.400390625), EVT_FLOAT(0.400390625), EVT_FLOAT(1.0)) + EVT_CALL(SetPartScale, ACTOR_SELF, 6, EVT_FLOAT(0.4), EVT_FLOAT(0.4), EVT_FLOAT(1.0)) EVT_END_IF EVT_CHILD_THREAD EVT_CALL(SetPartFlagBits, ACTOR_SELF, 6, ACTOR_PART_FLAG_INVISIBLE, 0) EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(SetPartPos, ACTOR_SELF, 6, LW(0), LW(1), LW(2)) - EVT_CALL(SetPartJumpGravity, ACTOR_SELF, 6, EVT_FLOAT(2.2001953125)) + EVT_CALL(SetPartJumpGravity, ACTOR_SELF, 6, EVT_FLOAT(2.2)) EVT_CALL(SetAnimation, ACTOR_SELF, 6, NPC_ANIM_pokey_Palette_00_Anim_16) EVT_CALL(GetStatusFlags, ACTOR_SELF, LW(5)) EVT_CALL(GetActorVar, ACTOR_SELF, 0, LW(10)) @@ -716,7 +716,7 @@ EvtScript N(takeTurn_8021A018) = { EVT_ADD(LW(1), 38) EVT_ELSE EVT_ADD(LW(1), 15) - EVT_CALL(SetPartJumpGravity, ACTOR_SELF, 6, EVT_FLOAT(1.2001953125)) + EVT_CALL(SetPartJumpGravity, ACTOR_SELF, 6, EVT_FLOAT(1.2)) EVT_END_IF EVT_CALL(JumpPartTo, ACTOR_SELF, 6, LW(0), LW(1), LW(2), 15, 1) EVT_CASE_EQ(1) @@ -724,7 +724,7 @@ EvtScript N(takeTurn_8021A018) = { EVT_ADD(LW(1), 20) EVT_ELSE EVT_ADD(LW(1), 8) - EVT_CALL(SetPartJumpGravity, ACTOR_SELF, 6, EVT_FLOAT(1.2001953125)) + EVT_CALL(SetPartJumpGravity, ACTOR_SELF, 6, EVT_FLOAT(1.2)) EVT_END_IF EVT_CALL(JumpPartTo, ACTOR_SELF, 6, LW(0), LW(1), LW(2), 15, 1) EVT_CASE_EQ(2) @@ -732,7 +732,7 @@ EvtScript N(takeTurn_8021A018) = { EVT_ADD(LW(1), 8) EVT_ELSE EVT_ADD(LW(1), 3) - EVT_CALL(SetPartJumpGravity, ACTOR_SELF, 6, EVT_FLOAT(1.2001953125)) + EVT_CALL(SetPartJumpGravity, ACTOR_SELF, 6, EVT_FLOAT(1.2)) EVT_END_IF EVT_CALL(JumpPartTo, ACTOR_SELF, 6, LW(0), LW(1), LW(2), 15, 1) EVT_CASE_EQ(3) @@ -765,7 +765,7 @@ EvtScript N(takeTurn_8021A018) = { EVT_SUB(LW(0), 80) EVT_SUB(LW(1), 5) EVT_CALL(SetPartMoveSpeed, ACTOR_SELF, 6, EVT_FLOAT(20.0)) - EVT_CALL(SetPartJumpGravity, ACTOR_SELF, 6, EVT_FLOAT(0.1005859375)) + EVT_CALL(SetPartJumpGravity, ACTOR_SELF, 6, EVT_FLOAT(0.1)) EVT_CALL(SetAnimation, ACTOR_SELF, 6, NPC_ANIM_pokey_Palette_00_Anim_16) EVT_CALL(JumpPartTo, ACTOR_SELF, 6, LW(0), LW(1), LW(2), 0, 1) EVT_CALL(SetPartFlagBits, ACTOR_SELF, 6, ACTOR_PART_FLAG_INVISIBLE, 1) @@ -778,7 +778,7 @@ EvtScript N(takeTurn_8021A018) = { EVT_CALL(SetGoalToTarget, ACTOR_SELF) EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(SetPartMoveSpeed, ACTOR_SELF, 6, EVT_FLOAT(20.0)) - EVT_CALL(SetPartJumpGravity, ACTOR_SELF, 6, EVT_FLOAT(0.1005859375)) + EVT_CALL(SetPartJumpGravity, ACTOR_SELF, 6, EVT_FLOAT(0.1)) EVT_CALL(SetAnimation, ACTOR_SELF, 6, NPC_ANIM_pokey_Palette_00_Anim_16) EVT_CALL(JumpPartTo, ACTOR_SELF, 6, LW(0), LW(1), LW(2), 0, 1) EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LW(0), DAMAGE_TYPE_NO_CONTACT, 0, STATUS_FLAG_100 | STATUS_FLAG_200 | STATUS_FLAG_POISON | STATUS_FLAG_80000000, 2, BS_FLAGS1_SP_EVT_ACTIVE) @@ -791,7 +791,7 @@ EvtScript N(takeTurn_8021A018) = { EVT_SUB(LW(0), 55) EVT_SET(LW(1), 0) EVT_CALL(SetPartMoveSpeed, ACTOR_SELF, 6, EVT_FLOAT(6.0)) - EVT_CALL(SetPartJumpGravity, ACTOR_SELF, 6, EVT_FLOAT(0.1005859375)) + EVT_CALL(SetPartJumpGravity, ACTOR_SELF, 6, EVT_FLOAT(0.1)) EVT_CALL(FlyPartTo, ACTOR_SELF, 6, LW(0), LW(1), LW(2), 0, 25, 0) EVT_CALL(SetPartMoveSpeed, ACTOR_SELF, 6, EVT_FLOAT(4.0)) EVT_SUB(LW(0), 24) @@ -938,7 +938,7 @@ EvtScript N(8021AE2C) = { EVT_CALL(UseIdleAnimation, LW(11), FALSE) EVT_CALL(SetAnimation, LW(11), 1, NPC_ANIM_pokey_Palette_00_Anim_C) EVT_CALL(GetActorPos, LW(11), LW(0), LW(1), LW(2)) - EVT_CALL(SetActorJumpGravity, LW(11), EVT_FLOAT(1.2001953125)) + EVT_CALL(SetActorJumpGravity, LW(11), EVT_FLOAT(1.2)) EVT_CALL(SetGoalPos, LW(11), LW(0), 0, LW(2)) EVT_CALL(JumpToGoal, LW(11), 20, FALSE, TRUE, FALSE) EVT_WAIT_FRAMES(20) @@ -996,7 +996,7 @@ EvtScript N(8021B590) = { EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_ADD(LW(0), 50) EVT_SET(LW(1), 0) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.80078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.8)) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_pokey_Palette_00_Anim_B) EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(4.0)) EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(2.0)) @@ -1019,7 +1019,7 @@ EvtScript N(8021B590) = { EVT_SUB(LW(0), 5) EVT_SET(LW(1), 10) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.1005859375)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.1)) EVT_CHILD_THREAD EVT_WAIT_FRAMES(2) EVT_SET(LW(0), 0) @@ -1069,7 +1069,7 @@ EvtScript N(8021B590) = { EVT_END_CASE_GROUP EVT_END_SWITCH EVT_CALL(SetGoalToTarget, ACTOR_SELF) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.1005859375)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.1)) EVT_CHILD_THREAD EVT_WAIT_FRAMES(2) EVT_SET(LW(0), 0) @@ -1092,7 +1092,7 @@ EvtScript N(8021B590) = { EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_ADD(LW(0), 40) EVT_SET(LW(1), 0) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.80078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.8)) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(JumpToGoal, ACTOR_SELF, 10, FALSE, TRUE, FALSE) EVT_ADD(LW(0), 30) @@ -1253,7 +1253,7 @@ EvtScript N(8021C860) = { EVT_IF_NOT_FLAG(LW(0), STATUS_FLAG_SHRINK) EVT_CALL(SetPartScale, ACTOR_SELF, 6, EVT_FLOAT(1.0), EVT_FLOAT(1.0), EVT_FLOAT(1.0)) EVT_ELSE - EVT_CALL(SetPartScale, ACTOR_SELF, 6, EVT_FLOAT(0.400390625), EVT_FLOAT(0.400390625), EVT_FLOAT(1.0)) + EVT_CALL(SetPartScale, ACTOR_SELF, 6, EVT_FLOAT(0.4), EVT_FLOAT(0.4), EVT_FLOAT(1.0)) EVT_END_IF EVT_EXEC_WAIT(N(8021C07C)) EVT_SET_CONST(LW(0), 1) @@ -1288,7 +1288,7 @@ EvtScript N(8021C860) = { EVT_CALL(SetGoalToTarget, ACTOR_SELF) EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_SET(LW(1), 0) - EVT_CALL(SetPartJumpGravity, ACTOR_SELF, 6, EVT_FLOAT(0.1005859375)) + EVT_CALL(SetPartJumpGravity, ACTOR_SELF, 6, EVT_FLOAT(0.1)) EVT_CALL(SetPartMoveSpeed, ACTOR_SELF, 6, EVT_FLOAT(7.0)) EVT_CALL(JumpPartTo, ACTOR_SELF, 6, LW(0), LW(1), LW(2), 0, 1) EVT_CHILD_THREAD @@ -1300,7 +1300,7 @@ EvtScript N(8021C860) = { EVT_GOTO(1) EVT_LABEL(10) EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_D) - EVT_CALL(SetPartJumpGravity, ACTOR_SELF, 6, EVT_FLOAT(0.1005859375)) + EVT_CALL(SetPartJumpGravity, ACTOR_SELF, 6, EVT_FLOAT(0.1)) EVT_CALL(SetPartMoveSpeed, ACTOR_SELF, 6, EVT_FLOAT(6.0)) EVT_CALL(JumpPartTo, ACTOR_SELF, 6, 296, 0, 0, 0, 1) EVT_CALL(SetPartFlagBits, ACTOR_SELF, 6, ACTOR_PART_FLAG_NO_TARGET, 1) @@ -1314,7 +1314,7 @@ EvtScript N(8021CCAC) = { EVT_IF_NOT_FLAG(LW(0), STATUS_FLAG_SHRINK) EVT_CALL(SetPartScale, ACTOR_SELF, 6, EVT_FLOAT(1.0), EVT_FLOAT(1.0), EVT_FLOAT(1.0)) EVT_ELSE - EVT_CALL(SetPartScale, ACTOR_SELF, 6, EVT_FLOAT(0.400390625), EVT_FLOAT(0.400390625), EVT_FLOAT(1.0)) + EVT_CALL(SetPartScale, ACTOR_SELF, 6, EVT_FLOAT(0.4), EVT_FLOAT(0.4), EVT_FLOAT(1.0)) EVT_END_IF EVT_EXEC_WAIT(N(8021C07C)) EVT_SET_CONST(LW(0), 1) @@ -1383,7 +1383,7 @@ EvtScript N(8021D184) = { EVT_CALL(GetActorVar, ACTOR_SELF, 3, LW(1)) EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) EVT_CALL(GetActorFlags, ACTOR_SELF, LW(9)) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.05078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.05)) EVT_CALL(GetActorPos, ACTOR_SELF, LW(10), LW(11), LW(12)) EVT_SET(LW(13), LW(11)) EVT_ADD(LW(13), 40) diff --git a/src/battle/area_trd_part_1/actor/bob_omb.c b/src/battle/area_trd_part_1/actor/bob_omb.c index 47edb70345..e691db2375 100644 --- a/src/battle/area_trd_part_1/actor/bob_omb.c +++ b/src/battle/area_trd_part_1/actor/bob_omb.c @@ -527,7 +527,7 @@ EvtScript N(tackleAttack) = { EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_SUB(LW(0), 5) EVT_SET(LW(1), 0) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.1005859375)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.1)) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(JumpToGoal, ACTOR_SELF, 20, FALSE, TRUE, FALSE) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_bob_omb_Palette_00_Anim_1C) @@ -562,7 +562,7 @@ EvtScript N(tackleAttack) = { EVT_END_CASE_GROUP EVT_CASE_EQ(HIT_RESULT_HIT_STATIC) EVT_CALL(SetGoalToTarget, ACTOR_SELF) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.1005859375)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.1)) EVT_CALL(JumpToGoal, ACTOR_SELF, 20, FALSE, TRUE, FALSE) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_bob_omb_Palette_00_Anim_14) EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) @@ -575,7 +575,7 @@ EvtScript N(tackleAttack) = { EVT_RETURN EVT_END_SWITCH EVT_CALL(SetGoalToTarget, ACTOR_SELF) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.1005859375)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.1)) EVT_CALL(JumpToGoal, ACTOR_SELF, 20, FALSE, TRUE, FALSE) EVT_WAIT_FRAMES(2) EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LW(0), 0, 0, 0, 1, BS_FLAGS1_SP_EVT_ACTIVE) @@ -587,7 +587,7 @@ EvtScript N(tackleAttack) = { EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_ADD(LW(0), 40) EVT_SET(LW(1), 0) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.80078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.8)) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(JumpToGoal, ACTOR_SELF, 10, FALSE, TRUE, FALSE) EVT_ADD(LW(0), 30) diff --git a/src/battle/area_trd_part_1/actor/bullet_bill.c b/src/battle/area_trd_part_1/actor/bullet_bill.c index ee9549823f..677b14afe0 100644 --- a/src/battle/area_trd_part_1/actor/bullet_bill.c +++ b/src/battle/area_trd_part_1/actor/bullet_bill.c @@ -119,7 +119,7 @@ EvtScript N(init_80219088) = { EVT_CALL(SetActorSounds, ACTOR_SELF, 2, 0, 0) EVT_CALL(GetActorPos, LW(0), LW(1), LW(11), LW(12)) EVT_SUB(LW(1), 90) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.0107421875)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.01)) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_bullet_bill_Palette_00_Anim_3) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(1), LW(2), LW(3)) EVT_CALL(JumpToGoal, ACTOR_SELF, 5, FALSE, TRUE, FALSE) @@ -252,7 +252,7 @@ EvtScript N(takeTurn_802197C0) = { EVT_CALL(GetActorPos, ACTOR_PLAYER, LW(0), LW(1), LW(2)) EVT_SET(LW(1), LW(3)) EVT_SUB(LW(0), 90) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.0107421875)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.01)) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(JumpToGoal, ACTOR_SELF, 18, FALSE, TRUE, FALSE) EVT_IF_EQ(LW(10), HIT_RESULT_LUCKY) @@ -271,7 +271,7 @@ EvtScript N(takeTurn_802197C0) = { EVT_CALL(GetActorPos, ACTOR_PLAYER, LW(0), LW(1), LW(2)) EVT_SET(LW(1), LW(3)) EVT_ADD(LW(0), 10) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.0107421875)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.01)) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(JumpToGoal, ACTOR_SELF, 12, FALSE, TRUE, FALSE) EVT_EXEC_WAIT(N(80219BE0)) diff --git a/src/battle/area_trd_part_2/actor/blue_ninja_koopa.c b/src/battle/area_trd_part_2/actor/blue_ninja_koopa.c index 0c8c7f38f2..caa0f22c9b 100644 --- a/src/battle/area_trd_part_2/actor/blue_ninja_koopa.c +++ b/src/battle/area_trd_part_2/actor/blue_ninja_koopa.c @@ -265,7 +265,7 @@ EvtScript N(8022B6E8) = { EVT_IF_EQ(LW(0), 3) EVT_SET(LF(0), 1) EVT_END_IF - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.6005859375)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.6)) EVT_CALL(func_80219530_4B2720, LW(0), LW(1), LW(2)) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_koopa_bros_Palette_00_Anim_A) @@ -274,7 +274,7 @@ EvtScript N(8022B6E8) = { EVT_IF_EQ(LF(0), 1) EVT_CALL(N(StartRumbleWithParams), 256, 5) EVT_THREAD - EVT_CALL(ShakeCam, 1, 0, 5, EVT_FLOAT(0.80078125)) + EVT_CALL(ShakeCam, 1, 0, 5, EVT_FLOAT(0.8)) EVT_END_THREAD EVT_END_IF EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_koopa_bros_Palette_00_Anim_C) @@ -304,7 +304,7 @@ EvtScript N(8022B6E8) = { EVT_IF_EQ(LW(0), 3) EVT_SET(LF(0), 1) EVT_END_IF - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.6005859375)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.6)) EVT_CALL(func_80219530_4B2720, LW(0), LW(1), LW(2)) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_koopa_bros_Palette_00_Anim_E) @@ -313,7 +313,7 @@ EvtScript N(8022B6E8) = { EVT_IF_EQ(LF(0), 1) EVT_CALL(N(StartRumbleWithParams), 256, 5) EVT_THREAD - EVT_CALL(ShakeCam, 1, 0, 5, EVT_FLOAT(0.80078125)) + EVT_CALL(ShakeCam, 1, 0, 5, EVT_FLOAT(0.8)) EVT_END_THREAD EVT_END_IF EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) diff --git a/src/battle/area_trd_part_2/actor/fake_bowser.c b/src/battle/area_trd_part_2/actor/fake_bowser.c index a8766dedbc..eb48dec31b 100644 --- a/src/battle/area_trd_part_2/actor/fake_bowser.c +++ b/src/battle/area_trd_part_2/actor/fake_bowser.c @@ -453,7 +453,7 @@ EvtScript N(8021B0E4) = { EVT_CALL(PlaySoundAtModel, 31, 482, 0) EVT_THREAD EVT_SET_GROUP(0) - EVT_CALL(ShakeCam, 1, 0, 5, EVT_FLOAT(0.7001953125)) + EVT_CALL(ShakeCam, 1, 0, 5, EVT_FLOAT(0.7)) EVT_END_THREAD EVT_CALL(N(StartRumbleWithParams), 70, 20) EVT_WAIT_FRAMES(20) @@ -468,12 +468,12 @@ EvtScript N(8021B0E4) = { EVT_CALL(N(StartRumbleWithParams), 60, 20) EVT_THREAD EVT_SET_GROUP(0) - EVT_CALL(ShakeCam, 1, 0, 5, EVT_FLOAT(0.6005859375)) + EVT_CALL(ShakeCam, 1, 0, 5, EVT_FLOAT(0.6)) EVT_END_THREAD EVT_WAIT_FRAMES(20) EVT_THREAD EVT_SET_GROUP(0) - EVT_CALL(ShakeCam, 1, 0, 5, EVT_FLOAT(0.30078125)) + EVT_CALL(ShakeCam, 1, 0, 5, EVT_FLOAT(0.3)) EVT_END_THREAD EVT_CALL(N(StartRumbleWithParams), 30, 20) EVT_RETURN @@ -679,7 +679,7 @@ EvtScript N(8021BD6C) = { EVT_SUB(LW(0), 150) EVT_SET(LW(1), -200) EVT_SUB(LW(2), 200) - EVT_CALL(SetPartJumpGravity, ACTOR_SELF, 3, EVT_FLOAT(0.30078125)) + EVT_CALL(SetPartJumpGravity, ACTOR_SELF, 3, EVT_FLOAT(0.3)) EVT_CALL(JumpPartTo, ACTOR_SELF, 3, LW(0), LW(1), LW(2), 80, 1) EVT_RETURN EVT_END @@ -863,7 +863,7 @@ EvtScript N(8021C67C) = { EVT_SUB(LW(0), 50) EVT_SET(LW(1), -200) EVT_SUB(LW(2), 200) - EVT_CALL(SetPartJumpGravity, ACTOR_SELF, 10, EVT_FLOAT(0.30078125)) + EVT_CALL(SetPartJumpGravity, ACTOR_SELF, 10, EVT_FLOAT(0.3)) EVT_CALL(JumpPartTo, ACTOR_SELF, 10, LW(0), LW(1), LW(2), 80, 1) EVT_RETURN EVT_END @@ -969,7 +969,7 @@ EvtScript N(8021CB98) = { EVT_SUB(LW(0), 0) EVT_SET(LW(1), -200) EVT_ADD(LW(2), 100) - EVT_CALL(SetPartJumpGravity, ACTOR_SELF, 6, EVT_FLOAT(0.6005859375)) + EVT_CALL(SetPartJumpGravity, ACTOR_SELF, 6, EVT_FLOAT(0.6)) EVT_CALL(JumpPartTo, ACTOR_SELF, 6, LW(0), LW(1), LW(2), 80, 1) EVT_RETURN EVT_END @@ -985,7 +985,7 @@ EvtScript N(8021CD50) = { EVT_SUB(LW(0), 0) EVT_SET(LW(1), -200) EVT_SUB(LW(2), 200) - EVT_CALL(SetPartJumpGravity, ACTOR_SELF, 11, EVT_FLOAT(0.400390625)) + EVT_CALL(SetPartJumpGravity, ACTOR_SELF, 11, EVT_FLOAT(0.4)) EVT_CALL(JumpPartTo, ACTOR_SELF, 11, LW(0), LW(1), LW(2), 80, 1) EVT_RETURN EVT_END @@ -1052,7 +1052,7 @@ EvtScript N(8021D054) = { EVT_SUB(LW(0), 150) EVT_SET(LW(1), -200) EVT_ADD(LW(2), 100) - EVT_CALL(SetPartJumpGravity, ACTOR_SELF, 8, EVT_FLOAT(0.30078125)) + EVT_CALL(SetPartJumpGravity, ACTOR_SELF, 8, EVT_FLOAT(0.3)) EVT_CALL(JumpPartTo, ACTOR_SELF, 8, LW(0), LW(1), LW(2), 80, 1) EVT_RETURN EVT_END @@ -1076,7 +1076,7 @@ EvtScript N(8021D1CC) = { EVT_SUB(LW(0), 50) EVT_SET(LW(1), -200) EVT_SUB(LW(2), 100) - EVT_CALL(SetPartJumpGravity, ACTOR_SELF, 9, EVT_FLOAT(0.30078125)) + EVT_CALL(SetPartJumpGravity, ACTOR_SELF, 9, EVT_FLOAT(0.3)) EVT_CALL(JumpPartTo, ACTOR_SELF, 9, LW(0), LW(1), LW(2), 80, 1) EVT_WAIT_FRAMES(100) EVT_RETURN @@ -1104,7 +1104,7 @@ EvtScript N(8021D350) = { EVT_SUB(LW(0), 0) EVT_SET(LW(1), -200) EVT_ADD(LW(2), 200) - EVT_CALL(SetPartJumpGravity, ACTOR_SELF, 7, EVT_FLOAT(0.30078125)) + EVT_CALL(SetPartJumpGravity, ACTOR_SELF, 7, EVT_FLOAT(0.3)) EVT_CALL(JumpPartTo, ACTOR_SELF, 7, LW(0), LW(1), LW(2), 80, 1) EVT_RETURN EVT_END @@ -1581,7 +1581,7 @@ EvtScript N(8021F630) = { EVT_CALL(SetActorPos, ACTOR_ENEMY0, 100, 0, 10) EVT_CALL(SetAnimation, ACTOR_ENEMY0, 1, NPC_ANIM_koopa_bros_Palette_03_Anim_1C) EVT_THREAD - EVT_CALL(SetActorJumpGravity, ACTOR_ENEMY0, EVT_FLOAT(0.400390625)) + EVT_CALL(SetActorJumpGravity, ACTOR_ENEMY0, EVT_FLOAT(0.4)) EVT_CALL(SetActorSounds, ACTOR_ENEMY0, 2, 0, 0) EVT_CALL(SetGoalPos, ACTOR_ENEMY0, -300, 250, 0) EVT_CALL(JumpToGoal, ACTOR_ENEMY0, 50, FALSE, TRUE, FALSE) @@ -1591,7 +1591,7 @@ EvtScript N(8021F630) = { EVT_CALL(SetActorPos, ACTOR_ENEMY1, 100, 0, 10) EVT_CALL(SetAnimation, ACTOR_ENEMY1, 1, NPC_ANIM_koopa_bros_Palette_02_Anim_1C) EVT_THREAD - EVT_CALL(SetActorJumpGravity, ACTOR_ENEMY1, EVT_FLOAT(0.400390625)) + EVT_CALL(SetActorJumpGravity, ACTOR_ENEMY1, EVT_FLOAT(0.4)) EVT_CALL(SetActorSounds, ACTOR_ENEMY1, 2, 0, 0) EVT_CALL(SetGoalPos, ACTOR_ENEMY1, -200, 250, 0) EVT_CALL(JumpToGoal, ACTOR_ENEMY1, 50, FALSE, TRUE, FALSE) @@ -1601,7 +1601,7 @@ EvtScript N(8021F630) = { EVT_CALL(SetActorPos, ACTOR_ENEMY2, 100, 0, 10) EVT_CALL(SetAnimation, ACTOR_ENEMY2, 1, NPC_ANIM_koopa_bros_Palette_00_Anim_1C) EVT_THREAD - EVT_CALL(SetActorJumpGravity, ACTOR_ENEMY2, EVT_FLOAT(0.400390625)) + EVT_CALL(SetActorJumpGravity, ACTOR_ENEMY2, EVT_FLOAT(0.4)) EVT_CALL(SetActorSounds, ACTOR_ENEMY2, 2, 0, 0) EVT_CALL(SetGoalPos, ACTOR_ENEMY2, 0, 250, 0) EVT_CALL(JumpToGoal, ACTOR_ENEMY2, 50, FALSE, TRUE, FALSE) @@ -1611,7 +1611,7 @@ EvtScript N(8021F630) = { EVT_CALL(SetActorPos, ACTOR_ENEMY3, 100, 0, 10) EVT_CALL(SetAnimation, ACTOR_ENEMY3, 1, NPC_ANIM_koopa_bros_Palette_01_Anim_1C) EVT_THREAD - EVT_CALL(SetActorJumpGravity, ACTOR_ENEMY3, EVT_FLOAT(0.400390625)) + EVT_CALL(SetActorJumpGravity, ACTOR_ENEMY3, EVT_FLOAT(0.4)) EVT_CALL(SetActorSounds, ACTOR_ENEMY3, 2, 0, 0) EVT_CALL(SetGoalPos, ACTOR_ENEMY3, 150, 250, 0) EVT_CALL(JumpToGoal, ACTOR_ENEMY3, 50, FALSE, TRUE, FALSE) @@ -1880,7 +1880,7 @@ EvtScript N(80220588) = { EVT_CASE_EQ(ACTOR_ENEMY3) EVT_CALL(SetAnimation, LW(10), 1, NPC_ANIM_koopa_bros_Palette_01_Anim_11) EVT_END_SWITCH - EVT_CALL(SetActorJumpGravity, LW(10), EVT_FLOAT(1.6005859375)) + EVT_CALL(SetActorJumpGravity, LW(10), EVT_FLOAT(1.6)) EVT_CALL(JumpToGoal, LW(10), 20, FALSE, FALSE, FALSE) EVT_CALL(func_8021837C_4B156C, LW(10)) EVT_CALL(PlaySoundAtActor, LW(10), 0x3E9) @@ -2030,7 +2030,7 @@ EvtScript N(80220588) = { EVT_CASE_EQ(ACTOR_ENEMY3) EVT_CALL(SetAnimation, LW(10), 1, NPC_ANIM_koopa_bros_Palette_01_Anim_11) EVT_END_SWITCH - EVT_CALL(SetActorJumpGravity, LW(10), EVT_FLOAT(1.6005859375)) + EVT_CALL(SetActorJumpGravity, LW(10), EVT_FLOAT(1.6)) EVT_CALL(JumpToGoal, LW(10), 20, FALSE, FALSE, FALSE) EVT_CALL(func_8021837C_4B156C, LW(10)) EVT_CALL(PlaySoundAtActor, LW(10), 0x3E9) @@ -2096,7 +2096,7 @@ EvtScript N(80220588) = { EVT_CASE_EQ(ACTOR_ENEMY3) EVT_CALL(SetAnimation, LW(10), 1, NPC_ANIM_koopa_bros_Palette_01_Anim_11) EVT_END_SWITCH - EVT_CALL(SetActorJumpGravity, LW(10), EVT_FLOAT(1.6005859375)) + EVT_CALL(SetActorJumpGravity, LW(10), EVT_FLOAT(1.6)) EVT_CALL(JumpToGoal, LW(10), 20, FALSE, FALSE, FALSE) EVT_CALL(func_8021837C_4B156C, LW(10)) EVT_CALL(PlaySoundAtActor, LW(10), 0x3E9) @@ -2223,7 +2223,7 @@ EvtScript N(80221DB4) = { EVT_CASE_EQ(ACTOR_ENEMY3) EVT_CALL(SetAnimation, LW(10), 1, NPC_ANIM_koopa_bros_Palette_01_Anim_11) EVT_END_SWITCH - EVT_CALL(SetActorJumpGravity, LW(10), EVT_FLOAT(1.6005859375)) + EVT_CALL(SetActorJumpGravity, LW(10), EVT_FLOAT(1.6)) EVT_CALL(JumpToGoal, LW(10), 20, FALSE, FALSE, FALSE) EVT_CALL(func_8021837C_4B156C, LW(10)) EVT_CALL(PlaySoundAtActor, LW(10), 0x3E9) @@ -2305,7 +2305,7 @@ EvtScript N(80221DB4) = { EVT_CASE_EQ(ACTOR_ENEMY3) EVT_CALL(SetAnimation, LW(10), 1, NPC_ANIM_koopa_bros_Palette_01_Anim_11) EVT_END_SWITCH - EVT_CALL(SetActorJumpGravity, LW(10), EVT_FLOAT(1.6005859375)) + EVT_CALL(SetActorJumpGravity, LW(10), EVT_FLOAT(1.6)) EVT_CALL(JumpToGoal, LW(10), 20, FALSE, FALSE, FALSE) EVT_CALL(func_8021837C_4B156C, LW(10)) EVT_CALL(PlaySoundAtActor, LW(10), 0x3E9) diff --git a/src/battle/area_trd_part_2/actor/green_ninja_koopa.c b/src/battle/area_trd_part_2/actor/green_ninja_koopa.c index 9dd1190aad..167daf3530 100644 --- a/src/battle/area_trd_part_2/actor/green_ninja_koopa.c +++ b/src/battle/area_trd_part_2/actor/green_ninja_koopa.c @@ -265,7 +265,7 @@ EvtScript N(802257A8) = { EVT_IF_EQ(LW(0), 3) EVT_SET(LF(0), 1) EVT_END_IF - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.6005859375)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.6)) EVT_CALL(func_802185B0_4B17A0, LW(0), LW(1), LW(2)) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_koopa_bros_Palette_03_Anim_A) @@ -274,7 +274,7 @@ EvtScript N(802257A8) = { EVT_IF_EQ(LF(0), 1) EVT_CALL(N(StartRumbleWithParams), 256, 5) EVT_THREAD - EVT_CALL(ShakeCam, 1, 0, 5, EVT_FLOAT(0.80078125)) + EVT_CALL(ShakeCam, 1, 0, 5, EVT_FLOAT(0.8)) EVT_END_THREAD EVT_END_IF EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_koopa_bros_Palette_03_Anim_C) @@ -304,7 +304,7 @@ EvtScript N(802257A8) = { EVT_IF_EQ(LW(0), 3) EVT_SET(LF(0), 1) EVT_END_IF - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.6005859375)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.6)) EVT_CALL(func_802185B0_4B17A0, LW(0), LW(1), LW(2)) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_koopa_bros_Palette_03_Anim_E) @@ -313,7 +313,7 @@ EvtScript N(802257A8) = { EVT_IF_EQ(LF(0), 1) EVT_CALL(N(StartRumbleWithParams), 256, 5) EVT_THREAD - EVT_CALL(ShakeCam, 1, 0, 5, EVT_FLOAT(0.80078125)) + EVT_CALL(ShakeCam, 1, 0, 5, EVT_FLOAT(0.8)) EVT_END_THREAD EVT_END_IF EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) diff --git a/src/battle/area_trd_part_2/actor/red_ninja_koopa.c b/src/battle/area_trd_part_2/actor/red_ninja_koopa.c index 3558f68e1f..5f3b49ef6d 100644 --- a/src/battle/area_trd_part_2/actor/red_ninja_koopa.c +++ b/src/battle/area_trd_part_2/actor/red_ninja_koopa.c @@ -265,7 +265,7 @@ EvtScript N(80228748) = { EVT_IF_EQ(LW(0), 3) EVT_SET(LF(0), 1) EVT_END_IF - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.6005859375)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.6)) EVT_CALL(func_80218D70_4B1F60, LW(0), LW(1), LW(2)) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_koopa_bros_Palette_01_Anim_A) @@ -274,7 +274,7 @@ EvtScript N(80228748) = { EVT_IF_EQ(LF(0), 1) EVT_CALL(N(StartRumbleWithParams), 256, 5) EVT_THREAD - EVT_CALL(ShakeCam, 1, 0, 5, EVT_FLOAT(0.80078125)) + EVT_CALL(ShakeCam, 1, 0, 5, EVT_FLOAT(0.8)) EVT_END_THREAD EVT_END_IF EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_koopa_bros_Palette_01_Anim_C) @@ -304,7 +304,7 @@ EvtScript N(80228748) = { EVT_IF_EQ(LW(0), 3) EVT_SET(LF(0), 1) EVT_END_IF - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.6005859375)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.6)) EVT_CALL(func_80218D70_4B1F60, LW(0), LW(1), LW(2)) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_koopa_bros_Palette_01_Anim_E) @@ -313,7 +313,7 @@ EvtScript N(80228748) = { EVT_IF_EQ(LF(0), 1) EVT_CALL(N(StartRumbleWithParams), 256, 5) EVT_THREAD - EVT_CALL(ShakeCam, 1, 0, 5, EVT_FLOAT(0.80078125)) + EVT_CALL(ShakeCam, 1, 0, 5, EVT_FLOAT(0.8)) EVT_END_THREAD EVT_END_IF EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) diff --git a/src/battle/area_trd_part_2/actor/yellow_ninja_koopa.c b/src/battle/area_trd_part_2/actor/yellow_ninja_koopa.c index 867ccc5c63..bf3a1cb296 100644 --- a/src/battle/area_trd_part_2/actor/yellow_ninja_koopa.c +++ b/src/battle/area_trd_part_2/actor/yellow_ninja_koopa.c @@ -265,7 +265,7 @@ EvtScript N(8022E688) = { EVT_IF_EQ(LW(0), 3) EVT_SET(LF(0), 1) EVT_END_IF - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.6005859375)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.6)) EVT_CALL(func_80219CF0_4B2EE0, LW(0), LW(1), LW(2)) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_koopa_bros_Palette_02_Anim_A) @@ -274,7 +274,7 @@ EvtScript N(8022E688) = { EVT_IF_EQ(LF(0), 1) EVT_CALL(N(StartRumbleWithParams), 256, 5) EVT_THREAD - EVT_CALL(ShakeCam, 1, 0, 5, EVT_FLOAT(0.80078125)) + EVT_CALL(ShakeCam, 1, 0, 5, EVT_FLOAT(0.8)) EVT_END_THREAD EVT_END_IF EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_koopa_bros_Palette_02_Anim_C) @@ -304,7 +304,7 @@ EvtScript N(8022E688) = { EVT_IF_EQ(LW(0), 3) EVT_SET(LF(0), 1) EVT_END_IF - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.6005859375)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.6)) EVT_CALL(func_80219CF0_4B2EE0, LW(0), LW(1), LW(2)) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_koopa_bros_Palette_02_Anim_E) @@ -313,7 +313,7 @@ EvtScript N(8022E688) = { EVT_IF_EQ(LF(0), 1) EVT_CALL(N(StartRumbleWithParams), 256, 5) EVT_THREAD - EVT_CALL(ShakeCam, 1, 0, 5, EVT_FLOAT(0.80078125)) + EVT_CALL(ShakeCam, 1, 0, 5, EVT_FLOAT(0.8)) EVT_END_THREAD EVT_END_IF EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) diff --git a/src/battle/area_trd_part_3/actor/eldstar.c b/src/battle/area_trd_part_3/actor/eldstar.c index 6c5a8e5dfb..1d1a920af0 100644 --- a/src/battle/area_trd_part_3/actor/eldstar.c +++ b/src/battle/area_trd_part_3/actor/eldstar.c @@ -12,7 +12,7 @@ extern EvtScript N(idle_802183E8); extern EvtScript N(handleEvent_80218404); extern EvtScript N(80218424); -extern s32 D_80219040; +BSS s32 D_80219040; s32 N(idleAnimations_80218280)[] = { STATUS_NORMAL, NPC_ANIM_world_eldstar_Palette_00_Anim_1, diff --git a/src/battle/battle.c b/src/battle/battle.c index 5a17658463..7c6bbdff00 100644 --- a/src/battle/battle.c +++ b/src/battle/battle.c @@ -84,20 +84,20 @@ BattleArea gBattleAreas[0x30] = { { AREA(area_isk_part_2), .name = "エリア ISK その2", - .battles = 0x80220448, - .stages = 0x80220470, + .battles = &b_area_isk_part_2_formationTable, + .stages = &b_area_isk_part_2_stageTable, }, { AREA(area_mim), .name = "エリア MIM", - .battles = 0x8021EA70, - .stages = 0x8021EBEC, + .battles = &b_area_mim_formationTable, + .stages = &b_area_mim_stageTable, }, { AREA(area_arn), .name = "エリア ARN", - .battles = 0x80228110, - .stages = 0x80228278, + .battles = &b_area_arn_formationTable, + .stages = &b_area_arn_stageTable, }, { AREA(area_dgb), diff --git a/src/battle/battle_tables.h b/src/battle/battle_tables.h index bea9c619a5..ba321d7deb 100644 --- a/src/battle/battle_tables.h +++ b/src/battle/battle_tables.h @@ -40,4 +40,13 @@ extern StageList b_area_sbk_stageTable; extern BattleList b_area_isk_part_1_formationTable; extern StageList b_area_isk_part_1_stageTable; +extern BattleList b_area_isk_part_2_formationTable; +extern StageList b_area_isk_part_2_stageTable; + +extern BattleList b_area_mim_formationTable; +extern StageList b_area_mim_stageTable; + +extern BattleList b_area_arn_formationTable; +extern StageList b_area_arn_stageTable; + #endif diff --git a/src/battle/common/actor/goomba.inc.c b/src/battle/common/actor/goomba.inc.c index 65710ab140..917752a359 100644 --- a/src/battle/common/actor/goomba.inc.c +++ b/src/battle/common/actor/goomba.inc.c @@ -216,7 +216,7 @@ EvtScript N(handleEvent_80219C14) = { EVT_CALL(SetAnimationRate, ACTOR_SELF, 1, EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(5) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_normal_idle) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.6005859375)) + 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(LW(0), 1) @@ -311,7 +311,7 @@ EvtScript N(takeTurn_8021A440) = { EVT_SET(LW(1), 10) EVT_ADD(LW(2), 3) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.2001953125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.2)) EVT_THREAD EVT_CALL(GetActorPos, ACTOR_SELF, LW(1), LW(2), LW(0)) EVT_SET(LW(0), 0) @@ -331,10 +331,10 @@ EvtScript N(takeTurn_8021A440) = { EVT_END_THREAD EVT_CALL(JumpToGoal, ACTOR_SELF, 16, FALSE, TRUE, FALSE) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_normal_asleep) - EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.1005859375), EVT_FLOAT(0.80078125), EVT_FLOAT(1.0)) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.1), EVT_FLOAT(0.8), EVT_FLOAT(1.0)) EVT_CALL(SetActorDispOffset, ACTOR_SELF, 0, 5, 0) EVT_WAIT_FRAMES(1) - EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.30078125), EVT_FLOAT(0.5), EVT_FLOAT(1.0)) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.3), EVT_FLOAT(0.5), EVT_FLOAT(1.0)) EVT_CALL(SetActorDispOffset, ACTOR_SELF, 0, -2, 0) EVT_WAIT_FRAMES(1) EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.0), EVT_FLOAT(1.0), EVT_FLOAT(1.0)) @@ -378,7 +378,7 @@ EvtScript N(takeTurn_8021A440) = { EVT_CALL(SetActorYaw, ACTOR_SELF, 0) EVT_WAIT_FRAMES(5) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_normal_idle) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.6005859375)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.6)) EVT_CALL(JumpToGoal, ACTOR_SELF, 5, FALSE, TRUE, FALSE) EVT_CALL(RemoveActorDecoration, ACTOR_SELF, 1, 0) EVT_CALL(EnableIdleScript, ACTOR_SELF, 1) @@ -387,7 +387,7 @@ EvtScript N(takeTurn_8021A440) = { EVT_END_CASE_GROUP EVT_CASE_DEFAULT EVT_CALL(SetGoalToTarget, ACTOR_SELF) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.2001953125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.2)) EVT_THREAD EVT_CALL(GetActorPos, ACTOR_SELF, LW(1), LW(2), LW(0)) EVT_SET(LW(0), 0) @@ -407,9 +407,9 @@ EvtScript N(takeTurn_8021A440) = { EVT_END_THREAD EVT_CALL(JumpToGoal, ACTOR_SELF, 16, FALSE, TRUE, FALSE) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_normal_pre_headbonk) - EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.1005859375), EVT_FLOAT(0.80078125), EVT_FLOAT(1.0)) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.1), EVT_FLOAT(0.8), EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(1) - EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.30078125), EVT_FLOAT(0.5), EVT_FLOAT(1.0)) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.3), EVT_FLOAT(0.5), EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(1) EVT_END_SWITCH EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LW(0), 0, 0, 0, 1, BS_FLAGS1_SP_EVT_ACTIVE) @@ -417,7 +417,7 @@ EvtScript N(takeTurn_8021A440) = { EVT_CASE_OR_EQ(HIT_RESULT_HIT) EVT_CASE_OR_EQ(HIT_RESULT_QUAKE_IMMUNE) EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) - EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.1005859375), EVT_FLOAT(0.80078125), EVT_FLOAT(1.0)) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.1), EVT_FLOAT(0.8), EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(1) EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.0), EVT_FLOAT(1.0), EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(1) @@ -427,7 +427,7 @@ EvtScript N(takeTurn_8021A440) = { EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_ADD(LW(0), 40) EVT_SET(LW(1), 0) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.80078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.8)) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(JumpToGoal, ACTOR_SELF, 10, FALSE, TRUE, FALSE) EVT_ADD(LW(0), 30) diff --git a/src/battle/common/actor/koopa_troopa.inc.c b/src/battle/common/actor/koopa_troopa.inc.c index 41c208f633..00e00e3c80 100644 --- a/src/battle/common/actor/koopa_troopa.inc.c +++ b/src/battle/common/actor/koopa_troopa.inc.c @@ -328,7 +328,7 @@ EvtScript N(handleEvent_8021D218) = { EVT_SET_CONST(LW(0), 1) EVT_SET_CONST(LW(1), NPC_ANIM_koopa_troopa_Palette_01_Anim_4) EVT_EXEC_WAIT(DoReturnHome) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.6005859375)) + 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(LW(0), 1) @@ -585,7 +585,7 @@ EvtScript N(takeTurn_8021DD9C) = { EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_ADD(LW(0), 40) EVT_SET(LW(1), 0) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.80078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.8)) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(JumpToGoal, ACTOR_SELF, 10, FALSE, TRUE, FALSE) EVT_ADD(LW(0), 30) diff --git a/src/battle/common/actor/paragoomba.inc.c b/src/battle/common/actor/paragoomba.inc.c index 796730e548..15d281e266 100644 --- a/src/battle/common/actor/paragoomba.inc.c +++ b/src/battle/common/actor/paragoomba.inc.c @@ -208,7 +208,7 @@ EvtScript N(idle_8021B434) = { EVT_END_LOOP EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_ADD(LW(0), 5) - EVT_CALL(SetActorIdleSpeed, ACTOR_SELF, EVT_FLOAT(0.6005859375)) + EVT_CALL(SetActorIdleSpeed, ACTOR_SELF, EVT_FLOAT(0.6)) EVT_CALL(SetIdleAnimations, ACTOR_SELF, 2, EVT_ADDR(N(idleAnimations_8021B384))) EVT_CALL(SetIdleGoal, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(IdleFlyToGoal, ACTOR_SELF, 0, -5, 0) @@ -223,7 +223,7 @@ EvtScript N(idle_8021B434) = { EVT_END_LOOP EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_SUB(LW(0), 5) - EVT_CALL(SetActorIdleSpeed, ACTOR_SELF, EVT_FLOAT(0.6005859375)) + EVT_CALL(SetActorIdleSpeed, ACTOR_SELF, EVT_FLOAT(0.6)) EVT_CALL(SetIdleGoal, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(IdleFlyToGoal, ACTOR_SELF, 0, -5, 0) EVT_CALL(SetIdleAnimations, ACTOR_SELF, 2, EVT_ADDR(N(idleAnimations_8021B338))) @@ -391,7 +391,7 @@ EvtScript N(takeTurn_8021BD5C) = { EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x20E0) EVT_CALL(SetActorSounds, ACTOR_SELF, 2, 0, 0) EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(5.0)) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.80078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.8)) EVT_CALL(SetAnimation, ACTOR_SELF, 2, NPC_ANIM_paragoomba_default_attack) EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) @@ -441,7 +441,7 @@ EvtScript N(takeTurn_8021BD5C) = { EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x20E0) EVT_CALL(SetActorSounds, ACTOR_SELF, 2, 0, 0) EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(5.0)) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.80078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.8)) EVT_CALL(SetAnimation, ACTOR_SELF, 2, NPC_ANIM_paragoomba_default_attack) EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) @@ -501,12 +501,12 @@ EvtScript N(8021C574) = { EVT_CALL(SetActorSounds, ACTOR_SELF, 2, 769, 0) EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_SET(LW(1), 0) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.80078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.8)) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(JumpToGoal, ACTOR_SELF, 15, FALSE, TRUE, FALSE) EVT_CALL(N(StartRumbleWithParams), 100, 10) EVT_THREAD - EVT_CALL(ShakeCam, 1, 0, 5, EVT_FLOAT(0.30078125)) + EVT_CALL(ShakeCam, 1, 0, 5, EVT_FLOAT(0.3)) EVT_END_THREAD EVT_CALL(ResetActorSounds, ACTOR_SELF, 2) EVT_CALL(GetLastEvent, ACTOR_SELF, LW(3)) @@ -693,7 +693,7 @@ EvtScript N(handleEvent_8021CEBC) = { EVT_CALL(SetAnimationRate, ACTOR_SELF, 1, EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(5) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_normal_idle) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.6005859375)) + 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(LW(0), 1) @@ -788,7 +788,7 @@ EvtScript N(takeTurn_8021D6E8) = { EVT_SET(LW(1), 10) EVT_ADD(LW(2), 3) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.2001953125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.2)) EVT_THREAD EVT_CALL(GetActorPos, ACTOR_SELF, LW(1), LW(2), LW(0)) EVT_SET(LW(0), 0) @@ -808,10 +808,10 @@ EvtScript N(takeTurn_8021D6E8) = { EVT_END_THREAD EVT_CALL(JumpToGoal, ACTOR_SELF, 16, FALSE, TRUE, FALSE) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_normal_asleep) - EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.1005859375), EVT_FLOAT(0.80078125), EVT_FLOAT(1.0)) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.1), EVT_FLOAT(0.8), EVT_FLOAT(1.0)) EVT_CALL(SetActorDispOffset, ACTOR_SELF, 0, 5, 0) EVT_WAIT_FRAMES(1) - EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.30078125), EVT_FLOAT(0.5), EVT_FLOAT(1.0)) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.3), EVT_FLOAT(0.5), EVT_FLOAT(1.0)) EVT_CALL(SetActorDispOffset, ACTOR_SELF, 0, -2, 0) EVT_WAIT_FRAMES(1) EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.0), EVT_FLOAT(1.0), EVT_FLOAT(1.0)) @@ -855,7 +855,7 @@ EvtScript N(takeTurn_8021D6E8) = { EVT_CALL(SetActorYaw, ACTOR_SELF, 0) EVT_WAIT_FRAMES(5) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_normal_idle) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.6005859375)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.6)) EVT_CALL(JumpToGoal, ACTOR_SELF, 5, FALSE, TRUE, FALSE) EVT_CALL(RemoveActorDecoration, ACTOR_SELF, 1, 0) EVT_CALL(EnableIdleScript, ACTOR_SELF, 1) @@ -864,7 +864,7 @@ EvtScript N(takeTurn_8021D6E8) = { EVT_END_CASE_GROUP EVT_CASE_DEFAULT EVT_CALL(SetGoalToTarget, ACTOR_SELF) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.2001953125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.2)) EVT_THREAD EVT_CALL(GetActorPos, ACTOR_SELF, LW(1), LW(2), LW(0)) EVT_SET(LW(0), 0) @@ -884,9 +884,9 @@ EvtScript N(takeTurn_8021D6E8) = { EVT_END_THREAD EVT_CALL(JumpToGoal, ACTOR_SELF, 16, FALSE, TRUE, FALSE) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_normal_pre_headbonk) - EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.1005859375), EVT_FLOAT(0.80078125), EVT_FLOAT(1.0)) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.1), EVT_FLOAT(0.8), EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(1) - EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.30078125), EVT_FLOAT(0.5), EVT_FLOAT(1.0)) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.3), EVT_FLOAT(0.5), EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(1) EVT_END_SWITCH EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LW(0), 0, 0, 0, 1, BS_FLAGS1_SP_EVT_ACTIVE) @@ -894,7 +894,7 @@ EvtScript N(takeTurn_8021D6E8) = { EVT_CASE_OR_EQ(HIT_RESULT_HIT) EVT_CASE_OR_EQ(HIT_RESULT_QUAKE_IMMUNE) EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) - EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.1005859375), EVT_FLOAT(0.80078125), EVT_FLOAT(1.0)) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.1), EVT_FLOAT(0.8), EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(1) EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.0), EVT_FLOAT(1.0), EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(1) @@ -904,7 +904,7 @@ EvtScript N(takeTurn_8021D6E8) = { EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_ADD(LW(0), 40) EVT_SET(LW(1), 0) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.80078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.8)) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(JumpToGoal, ACTOR_SELF, 10, FALSE, TRUE, FALSE) EVT_ADD(LW(0), 30) diff --git a/src/battle/common/actor/paratroopa.inc.c b/src/battle/common/actor/paratroopa.inc.c index 50acd12787..740fbd591f 100644 --- a/src/battle/common/actor/paratroopa.inc.c +++ b/src/battle/common/actor/paratroopa.inc.c @@ -234,7 +234,7 @@ EvtScript N(idle_8021EF5C) = { EVT_END_LOOP EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_ADD(LW(0), 5) - EVT_CALL(SetActorIdleSpeed, ACTOR_SELF, EVT_FLOAT(0.6005859375)) + EVT_CALL(SetActorIdleSpeed, ACTOR_SELF, EVT_FLOAT(0.6)) EVT_CALL(SetIdleAnimations, ACTOR_SELF, 2, EVT_ADDR(N(idleAnimations_8021ED4C))) EVT_CALL(SetIdleGoal, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(IdleFlyToGoal, ACTOR_SELF, 0, -5, 0) @@ -251,7 +251,7 @@ EvtScript N(idle_8021EF5C) = { EVT_END_LOOP EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_SUB(LW(0), 5) - EVT_CALL(SetActorIdleSpeed, ACTOR_SELF, EVT_FLOAT(0.6005859375)) + EVT_CALL(SetActorIdleSpeed, ACTOR_SELF, EVT_FLOAT(0.6)) EVT_CALL(SetIdleAnimations, ACTOR_SELF, 2, EVT_ADDR(N(idleAnimations_8021ED4C))) EVT_CALL(SetIdleGoal, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(IdleFlyToGoal, ACTOR_SELF, 0, -5, 0) @@ -578,12 +578,12 @@ EvtScript N(802204DC) = { EVT_IF_EQ(LW(10), 0) EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_SET(LW(1), 0) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.80078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.8)) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(JumpToGoal, ACTOR_SELF, 15, FALSE, TRUE, FALSE) EVT_CALL(N(StartRumbleWithParams), 128, 7) EVT_THREAD - EVT_CALL(ShakeCam, 1, 0, 5, EVT_FLOAT(0.30078125)) + EVT_CALL(ShakeCam, 1, 0, 5, EVT_FLOAT(0.3)) EVT_END_THREAD EVT_CALL(ResetActorSounds, ACTOR_SELF, 2) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) @@ -600,7 +600,7 @@ EvtScript N(802204DC) = { EVT_ELSE EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_SET(LW(1), 0) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.80078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.8)) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(JumpToGoal, ACTOR_SELF, 15, FALSE, TRUE, FALSE) EVT_THREAD @@ -614,7 +614,7 @@ EvtScript N(802204DC) = { EVT_END_THREAD EVT_CALL(N(StartRumbleWithParams), 150, 7) EVT_THREAD - EVT_CALL(ShakeCam, 1, 0, 5, EVT_FLOAT(0.30078125)) + EVT_CALL(ShakeCam, 1, 0, 5, EVT_FLOAT(0.3)) EVT_END_THREAD EVT_CALL(ResetActorSounds, ACTOR_SELF, 2) EVT_END_IF @@ -881,7 +881,7 @@ EvtScript N(handleEvent_80221228) = { EVT_SET_CONST(LW(0), 1) EVT_SET_CONST(LW(1), NPC_ANIM_koopa_troopa_Palette_01_Anim_4) EVT_EXEC_WAIT(DoReturnHome) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.6005859375)) + 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(LW(0), 1) @@ -1138,7 +1138,7 @@ EvtScript N(takeTurn_80221DAC) = { EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_ADD(LW(0), 40) EVT_SET(LW(1), 0) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.80078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.8)) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(JumpToGoal, ACTOR_SELF, 10, FALSE, TRUE, FALSE) EVT_ADD(LW(0), 30) diff --git a/src/battle/common/actor/spiked_goomba.inc.c b/src/battle/common/actor/spiked_goomba.inc.c index b12aa7f5e0..e256806f37 100644 --- a/src/battle/common/actor/spiked_goomba.inc.c +++ b/src/battle/common/actor/spiked_goomba.inc.c @@ -217,7 +217,7 @@ EvtScript N(handleEvent_8021E874) = { EVT_CALL(SetAnimationRate, ACTOR_SELF, 1, EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(5) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_spiked_goomba_default_idle) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.6005859375)) + 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(LW(0), 1) @@ -327,7 +327,7 @@ EvtScript N(takeTurn_8021F1BC) = { EVT_SET(LW(1), 10) EVT_ADD(LW(2), 3) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.2001953125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.2)) EVT_THREAD EVT_CALL(GetActorPos, ACTOR_SELF, LW(1), LW(2), LW(0)) EVT_SET(LW(0), 0) @@ -347,10 +347,10 @@ EvtScript N(takeTurn_8021F1BC) = { EVT_END_THREAD EVT_CALL(JumpToGoal, ACTOR_SELF, 16, FALSE, TRUE, FALSE) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_spiked_goomba_default_sleep) - EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.1005859375), EVT_FLOAT(0.80078125), EVT_FLOAT(1.0)) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.1), EVT_FLOAT(0.8), EVT_FLOAT(1.0)) EVT_CALL(SetActorDispOffset, ACTOR_SELF, 0, 5, 0) EVT_WAIT_FRAMES(1) - EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.30078125), EVT_FLOAT(0.5), EVT_FLOAT(1.0)) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.3), EVT_FLOAT(0.5), EVT_FLOAT(1.0)) EVT_CALL(SetActorDispOffset, ACTOR_SELF, 0, -2, 0) EVT_WAIT_FRAMES(1) EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.0), EVT_FLOAT(1.0), EVT_FLOAT(1.0)) @@ -394,7 +394,7 @@ EvtScript N(takeTurn_8021F1BC) = { EVT_CALL(SetActorYaw, ACTOR_SELF, 0) EVT_WAIT_FRAMES(5) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_spiked_goomba_default_idle) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.6005859375)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.6)) EVT_CALL(JumpToGoal, ACTOR_SELF, 5, FALSE, TRUE, FALSE) EVT_CALL(RemoveActorDecoration, ACTOR_SELF, 1, 0) EVT_CALL(EnableIdleScript, ACTOR_SELF, 1) @@ -403,7 +403,7 @@ EvtScript N(takeTurn_8021F1BC) = { EVT_END_CASE_GROUP EVT_CASE_DEFAULT EVT_CALL(SetGoalToTarget, ACTOR_SELF) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.2001953125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.2)) EVT_THREAD EVT_CALL(GetActorPos, ACTOR_SELF, LW(1), LW(2), LW(0)) EVT_SET(LW(0), 0) @@ -423,9 +423,9 @@ EvtScript N(takeTurn_8021F1BC) = { EVT_END_THREAD EVT_CALL(JumpToGoal, ACTOR_SELF, 16, FALSE, TRUE, FALSE) EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_spiked_goomba_default_headbonk) - EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.1005859375), EVT_FLOAT(0.80078125), EVT_FLOAT(1.0)) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.1), EVT_FLOAT(0.8), EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(1) - EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.30078125), EVT_FLOAT(0.5), EVT_FLOAT(1.0)) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.3), EVT_FLOAT(0.5), EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(1) EVT_END_SWITCH EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LW(0), 0, 0, 0, 2, BS_FLAGS1_SP_EVT_ACTIVE) @@ -433,7 +433,7 @@ EvtScript N(takeTurn_8021F1BC) = { EVT_CASE_OR_EQ(HIT_RESULT_HIT) EVT_CASE_OR_EQ(HIT_RESULT_QUAKE_IMMUNE) EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) - EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.1005859375), EVT_FLOAT(0.80078125), EVT_FLOAT(1.0)) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.1), EVT_FLOAT(0.8), EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(1) EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.0), EVT_FLOAT(1.0), EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(1) @@ -443,7 +443,7 @@ EvtScript N(takeTurn_8021F1BC) = { EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_ADD(LW(0), 40) EVT_SET(LW(1), 0) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.80078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.8)) EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2)) EVT_CALL(JumpToGoal, ACTOR_SELF, 10, FALSE, TRUE, FALSE) EVT_ADD(LW(0), 30) diff --git a/src/battle/item/egg_missile.c b/src/battle/item/egg_missile.c index 544684cb9b..756ef9ab18 100644 --- a/src/battle/item/egg_missile.c +++ b/src/battle/item/egg_missile.c @@ -174,7 +174,7 @@ EvtScript N(main) = { EVT_CALL(StartRumble, 5) EVT_CALL(ShakeCam, 1, 0, 2, EVT_FIXED(0.75)) EVT_CALL(ShakeCam, 1, 0, 5, EVT_FIXED(1.5)) - EVT_CALL(ShakeCam, 1, 0, 4, EVT_FIXED(1.2001953125)) + EVT_CALL(ShakeCam, 1, 0, 4, EVT_FIXED(1.2)) EVT_CALL(ShakeCam, 1, 0, 2, EVT_FIXED(0.4501953125)) EVT_END_THREAD EVT_CALL(GetItemPower, 200, EVT_VAR(0), EVT_VAR(1)) diff --git a/src/battle/move/auto_jump/auto_jump.c b/src/battle/move/auto_jump/auto_jump.c index 054ec04dac..bf7a9951a5 100644 --- a/src/battle/move/auto_jump/auto_jump.c +++ b/src/battle/move/auto_jump/auto_jump.c @@ -115,7 +115,7 @@ EvtScript D_802A15D8_7661F8 = { EVT_CALL(GetGoalPos, ACTOR_PLAYER, LW(0), LW(1), LW(2)) EVT_ADD(LW(0), 40) EVT_CALL(SetJumpAnimations, ACTOR_PLAYER, 0, ANIM_MIDAIR_STILL, ANIM_MIDAIR, ANIM_10009) - EVT_CALL(SetActorJumpGravity, ACTOR_PLAYER, EVT_FLOAT(1.30078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_PLAYER, EVT_FLOAT(1.3)) EVT_CALL(SetGoalPos, ACTOR_PLAYER, LW(0), LW(1), LW(2)) EVT_CALL(N(UnkMoveFunc1)) EVT_CALL(func_80273444, LW(0), 0, 0) @@ -145,7 +145,7 @@ EvtScript D_802A17C4 = { EVT_SET(LW(1), 0) EVT_CALL(SetGoalPos, ACTOR_PLAYER, LW(0), LW(1), LW(2)) EVT_CALL(SetJumpAnimations, ACTOR_PLAYER, 0, ANIM_MIDAIR_STILL, ANIM_MIDAIR, ANIM_10009) - EVT_CALL(SetActorJumpGravity, ACTOR_PLAYER, EVT_FLOAT(0.80078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_PLAYER, EVT_FLOAT(0.8)) EVT_CALL(N(UnkMoveFunc1)) EVT_CALL(func_80273444, LW(0), 0, 0) EVT_CALL(SetAnimation, ACTOR_PLAYER, 0, ANIM_10009) @@ -203,7 +203,7 @@ EvtScript D_802A1B9C = { EVT_SET(LW(1), 0) EVT_CALL(SetGoalPos, ACTOR_PLAYER, LW(0), LW(1), LW(2)) EVT_CALL(SetJumpAnimations, ACTOR_PLAYER, 0, ANIM_MIDAIR_STILL, ANIM_MIDAIR, ANIM_10009) - EVT_CALL(SetActorJumpGravity, ACTOR_PLAYER, EVT_FLOAT(0.80078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_PLAYER, EVT_FLOAT(0.8)) EVT_CALL(N(UnkMoveFunc1)) EVT_CALL(func_80273444, LW(0), 0, 0) EVT_CALL(SetAnimation, ACTOR_PLAYER, 0, ANIM_10009) diff --git a/src/battle/move/auto_multibounce/auto_multibounce.c b/src/battle/move/auto_multibounce/auto_multibounce.c index 70771a9164..54d201fb23 100644 --- a/src/battle/move/auto_multibounce/auto_multibounce.c +++ b/src/battle/move/auto_multibounce/auto_multibounce.c @@ -115,7 +115,7 @@ EvtScript N(D_802A15D8) = { EVT_CALL(GetGoalPos, ACTOR_PLAYER, LW(0), LW(1), LW(2)) EVT_ADD(LW(0), 40) EVT_CALL(SetJumpAnimations, ACTOR_PLAYER, 0, ANIM_MIDAIR_STILL, ANIM_MIDAIR, ANIM_10009) - EVT_CALL(SetActorJumpGravity, ACTOR_PLAYER, EVT_FLOAT(1.30078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_PLAYER, EVT_FLOAT(1.3)) EVT_CALL(SetGoalPos, ACTOR_PLAYER, LW(0), LW(1), LW(2)) EVT_CALL(N(UnkMoveFunc1)) EVT_CALL(func_80273444, LW(0), 0, 0) @@ -145,7 +145,7 @@ EvtScript N(D_802A17C4) = { EVT_SET(LW(1), 0) EVT_CALL(SetGoalPos, ACTOR_PLAYER, LW(0), LW(1), LW(2)) EVT_CALL(SetJumpAnimations, ACTOR_PLAYER, 0, ANIM_MIDAIR_STILL, ANIM_MIDAIR, ANIM_10009) - EVT_CALL(SetActorJumpGravity, ACTOR_PLAYER, EVT_FLOAT(0.80078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_PLAYER, EVT_FLOAT(0.8)) EVT_CALL(N(UnkMoveFunc1)) EVT_CALL(func_80273444, LW(0), 0, 0) EVT_CALL(SetAnimation, ACTOR_PLAYER, 0, ANIM_10009) @@ -203,7 +203,7 @@ EvtScript N(D_802A1B9C) = { EVT_SET(LW(1), 0) EVT_CALL(SetGoalPos, ACTOR_PLAYER, LW(0), LW(1), LW(2)) EVT_CALL(SetJumpAnimations, ACTOR_PLAYER, 0, ANIM_MIDAIR_STILL, ANIM_MIDAIR, ANIM_10009) - EVT_CALL(SetActorJumpGravity, ACTOR_PLAYER, EVT_FLOAT(0.80078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_PLAYER, EVT_FLOAT(0.8)) EVT_CALL(N(UnkMoveFunc1)) EVT_CALL(func_80273444, LW(0), 0, 0) EVT_CALL(SetAnimation, ACTOR_PLAYER, 0, ANIM_10009) diff --git a/src/battle/move/hammer/hammer.c b/src/battle/move/hammer/hammer.c index b8ad2410fe..3c53420b12 100644 --- a/src/battle/move/hammer/hammer.c +++ b/src/battle/move/hammer/hammer.c @@ -642,17 +642,17 @@ EvtScript D_802A3168_00736708 = { EVT_CASE_EQ(0) EVT_CALL(StartRumble, 7) EVT_THREAD - EVT_CALL(ShakeCam, 1, 0, 10, EVT_FLOAT(1.30078125)) + EVT_CALL(ShakeCam, 1, 0, 10, EVT_FLOAT(1.3)) EVT_END_THREAD EVT_CASE_EQ(1) EVT_CALL(StartRumble, 8) EVT_THREAD - EVT_CALL(ShakeCam, 1, 0, 10, EVT_FLOAT(1.6005859375)) + EVT_CALL(ShakeCam, 1, 0, 10, EVT_FLOAT(1.6)) EVT_END_THREAD EVT_CASE_EQ(2) EVT_CALL(StartRumble, 9) EVT_THREAD - EVT_CALL(ShakeCam, 1, 0, 10, EVT_FLOAT(1.900390625)) + EVT_CALL(ShakeCam, 1, 0, 10, EVT_FLOAT(1.9)) EVT_END_THREAD EVT_END_SWITCH EVT_CASE_DEFAULT @@ -661,17 +661,17 @@ EvtScript D_802A3168_00736708 = { EVT_CASE_EQ(0) EVT_CALL(StartRumble, 7) EVT_THREAD - EVT_CALL(ShakeCam, 1, 0, 2, EVT_FLOAT(1.30078125)) + EVT_CALL(ShakeCam, 1, 0, 2, EVT_FLOAT(1.3)) EVT_END_THREAD EVT_CASE_EQ(1) EVT_CALL(StartRumble, 8) EVT_THREAD - EVT_CALL(ShakeCam, 1, 0, 2, EVT_FLOAT(1.6005859375)) + EVT_CALL(ShakeCam, 1, 0, 2, EVT_FLOAT(1.6)) EVT_END_THREAD EVT_CASE_EQ(2) EVT_CALL(StartRumble, 9) EVT_THREAD - EVT_CALL(ShakeCam, 1, 0, 2, EVT_FLOAT(1.900390625)) + EVT_CALL(ShakeCam, 1, 0, 2, EVT_FLOAT(1.9)) EVT_END_THREAD EVT_END_SWITCH EVT_END_SWITCH @@ -759,19 +759,19 @@ EvtScript D_802A369C_00736C3C = { EVT_CALL(PlaySoundAtActor, ACTOR_PLAYER, 0x2115) EVT_CALL(StartRumble, 7) EVT_THREAD - EVT_CALL(ShakeCam, 1, 0, 10, EVT_FLOAT(1.30078125)) + EVT_CALL(ShakeCam, 1, 0, 10, EVT_FLOAT(1.3)) EVT_END_THREAD EVT_CASE_EQ(1) EVT_CALL(PlaySoundAtActor, ACTOR_PLAYER, 0x2116) EVT_CALL(StartRumble, 8) EVT_THREAD - EVT_CALL(ShakeCam, 1, 0, 10, EVT_FLOAT(1.6005859375)) + EVT_CALL(ShakeCam, 1, 0, 10, EVT_FLOAT(1.6)) EVT_END_THREAD EVT_CASE_EQ(2) EVT_CALL(PlaySoundAtActor, ACTOR_PLAYER, 0x2117) EVT_CALL(StartRumble, 9) EVT_THREAD - EVT_CALL(ShakeCam, 1, 0, 10, EVT_FLOAT(1.900390625)) + EVT_CALL(ShakeCam, 1, 0, 10, EVT_FLOAT(1.9)) EVT_END_THREAD EVT_END_SWITCH EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_44) @@ -837,17 +837,17 @@ EvtScript D_802A3C4C_007371EC = { EVT_CASE_EQ(0) EVT_CALL(StartRumble, 8) EVT_THREAD - EVT_CALL(ShakeCam, 1, 0, 2, EVT_FLOAT(1.30078125)) + EVT_CALL(ShakeCam, 1, 0, 2, EVT_FLOAT(1.3)) EVT_END_THREAD EVT_CASE_EQ(1) EVT_CALL(StartRumble, 9) EVT_THREAD - EVT_CALL(ShakeCam, 1, 0, 2, EVT_FLOAT(1.6005859375)) + EVT_CALL(ShakeCam, 1, 0, 2, EVT_FLOAT(1.6)) EVT_END_THREAD EVT_CASE_EQ(2) EVT_CALL(StartRumble, 10) EVT_THREAD - EVT_CALL(ShakeCam, 1, 0, 2, EVT_FLOAT(1.900390625)) + EVT_CALL(ShakeCam, 1, 0, 2, EVT_FLOAT(1.9)) EVT_END_THREAD EVT_END_SWITCH EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_44) @@ -862,17 +862,17 @@ EvtScript D_802A3C4C_007371EC = { EVT_CASE_EQ(0) EVT_CALL(StartRumble, 8) EVT_THREAD - EVT_CALL(ShakeCam, 1, 0, 10, EVT_FLOAT(1.30078125)) + EVT_CALL(ShakeCam, 1, 0, 10, EVT_FLOAT(1.3)) EVT_END_THREAD EVT_CASE_EQ(1) EVT_CALL(StartRumble, 9) EVT_THREAD - EVT_CALL(ShakeCam, 1, 0, 10, EVT_FLOAT(1.6005859375)) + EVT_CALL(ShakeCam, 1, 0, 10, EVT_FLOAT(1.6)) EVT_END_THREAD EVT_CASE_EQ(2) EVT_CALL(StartRumble, 10) EVT_THREAD - EVT_CALL(ShakeCam, 1, 0, 10, EVT_FLOAT(1.900390625)) + EVT_CALL(ShakeCam, 1, 0, 10, EVT_FLOAT(1.9)) EVT_END_THREAD EVT_END_SWITCH EVT_CASE_DEFAULT @@ -881,17 +881,17 @@ EvtScript D_802A3C4C_007371EC = { EVT_CASE_EQ(0) EVT_CALL(StartRumble, 8) EVT_THREAD - EVT_CALL(ShakeCam, 1, 0, 2, EVT_FLOAT(1.30078125)) + EVT_CALL(ShakeCam, 1, 0, 2, EVT_FLOAT(1.3)) EVT_END_THREAD EVT_CASE_EQ(1) EVT_CALL(StartRumble, 9) EVT_THREAD - EVT_CALL(ShakeCam, 1, 0, 2, EVT_FLOAT(1.6005859375)) + EVT_CALL(ShakeCam, 1, 0, 2, EVT_FLOAT(1.6)) EVT_END_THREAD EVT_CASE_EQ(2) EVT_CALL(StartRumble, 10) EVT_THREAD - EVT_CALL(ShakeCam, 1, 0, 2, EVT_FLOAT(1.900390625)) + EVT_CALL(ShakeCam, 1, 0, 2, EVT_FLOAT(1.9)) EVT_END_THREAD EVT_END_SWITCH EVT_END_SWITCH diff --git a/src/battle/move/jump/jump.c b/src/battle/move/jump/jump.c index 477f55a43b..ddc0796fe0 100644 --- a/src/battle/move/jump/jump.c +++ b/src/battle/move/jump/jump.c @@ -124,7 +124,7 @@ EvtScript D_802A1628_73DE88 = { EVT_CALL(GetGoalPos, ACTOR_PLAYER, LW(0), LW(1), LW(2)) EVT_ADD(LW(0), 40) EVT_CALL(SetJumpAnimations, ACTOR_PLAYER, 0, ANIM_MIDAIR_STILL, ANIM_MIDAIR, ANIM_10009) - EVT_CALL(SetActorJumpGravity, ACTOR_PLAYER, EVT_FLOAT(1.30078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_PLAYER, EVT_FLOAT(1.3)) EVT_CALL(SetGoalPos, ACTOR_PLAYER, LW(0), LW(1), LW(2)) EVT_CALL(N(UnkMoveFunc1)) EVT_CALL(func_80273444, LW(0), 0, 0) @@ -154,7 +154,7 @@ EvtScript D_802A1814_73E074 = { EVT_SET(LW(1), 0) EVT_CALL(SetGoalPos, ACTOR_PLAYER, LW(0), LW(1), LW(2)) EVT_CALL(SetJumpAnimations, ACTOR_PLAYER, 0, ANIM_MIDAIR_STILL, ANIM_MIDAIR, ANIM_10009) - EVT_CALL(SetActorJumpGravity, ACTOR_PLAYER, EVT_FLOAT(0.80078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_PLAYER, EVT_FLOAT(0.8)) EVT_CALL(N(UnkMoveFunc1)) EVT_CALL(func_80273444, LW(0), 0, 0) EVT_CALL(SetAnimation, ACTOR_PLAYER, 0, ANIM_10009) @@ -212,7 +212,7 @@ EvtScript D_802A1BEC_73E44C = { EVT_SET(LW(1), 0) EVT_CALL(SetGoalPos, ACTOR_PLAYER, LW(0), LW(1), LW(2)) EVT_CALL(SetJumpAnimations, ACTOR_PLAYER, 0, ANIM_MIDAIR_STILL, ANIM_MIDAIR, ANIM_10009) - EVT_CALL(SetActorJumpGravity, ACTOR_PLAYER, EVT_FLOAT(0.80078125)) + EVT_CALL(SetActorJumpGravity, ACTOR_PLAYER, EVT_FLOAT(0.8)) EVT_CALL(N(UnkMoveFunc1)) EVT_CALL(func_80273444, LW(0), 0, 0) EVT_CALL(SetAnimation, ACTOR_PLAYER, 0, ANIM_10009) diff --git a/src/battle/move/quake_hammer/quake_hammer.c b/src/battle/move/quake_hammer/quake_hammer.c index 4e625a36ab..6caa6ed6da 100644 --- a/src/battle/move/quake_hammer/quake_hammer.c +++ b/src/battle/move/quake_hammer/quake_hammer.c @@ -649,14 +649,14 @@ EvtScript D_802A3168_0073D038 = { EVT_CASE_GT(0) EVT_CALL(StartRumble, 9) EVT_CHILD_THREAD - EVT_CALL(ShakeCam, 1, 0, 2, EVT_FLOAT(0.2001953125)) + EVT_CALL(ShakeCam, 1, 0, 2, EVT_FLOAT(0.2)) EVT_CALL(ShakeCam, 1, 0, 5, EVT_FLOAT(1.0)) EVT_CALL(ShakeCam, 1, 0, 10, EVT_FLOAT(2.0)) EVT_CALL(ShakeCam, 1, 0, 5, EVT_FLOAT(1.0)) - EVT_CALL(ShakeCam, 1, 0, 3, EVT_FLOAT(0.7001953125)) - EVT_CALL(ShakeCam, 1, 0, 4, EVT_FLOAT(0.400390625)) - EVT_CALL(ShakeCam, 1, 0, 6, EVT_FLOAT(0.1005859375)) - EVT_CALL(ShakeCam, 1, 0, 4, EVT_FLOAT(0.05078125)) + EVT_CALL(ShakeCam, 1, 0, 3, EVT_FLOAT(0.7)) + EVT_CALL(ShakeCam, 1, 0, 4, EVT_FLOAT(0.4)) + EVT_CALL(ShakeCam, 1, 0, 6, EVT_FLOAT(0.1)) + EVT_CALL(ShakeCam, 1, 0, 4, EVT_FLOAT(0.05)) EVT_END_CHILD_THREAD EVT_CHILD_THREAD EVT_CALL(GetActorPos, ACTOR_PLAYER, LW(0), LW(1), LW(2)) @@ -668,13 +668,13 @@ EvtScript D_802A3168_0073D038 = { EVT_CASE_DEFAULT EVT_CALL(StartRumble, 9) EVT_CHILD_THREAD - EVT_CALL(ShakeCam, 1, 0, 2, EVT_FLOAT(0.1005859375)) + EVT_CALL(ShakeCam, 1, 0, 2, EVT_FLOAT(0.1)) EVT_CALL(ShakeCam, 1, 0, 5, EVT_FLOAT(0.5)) EVT_CALL(ShakeCam, 1, 0, 10, EVT_FLOAT(1.0)) EVT_CALL(ShakeCam, 1, 0, 5, EVT_FLOAT(0.5)) - EVT_CALL(ShakeCam, 1, 0, 3, EVT_FLOAT(0.3505859375)) - EVT_CALL(ShakeCam, 1, 0, 4, EVT_FLOAT(0.2001953125)) - EVT_CALL(ShakeCam, 1, 0, 6, EVT_FLOAT(0.05078125)) + EVT_CALL(ShakeCam, 1, 0, 3, EVT_FLOAT(0.35)) + EVT_CALL(ShakeCam, 1, 0, 4, EVT_FLOAT(0.2)) + EVT_CALL(ShakeCam, 1, 0, 6, EVT_FLOAT(0.05)) EVT_CALL(ShakeCam, 1, 0, 4, EVT_FLOAT(0.025390625)) EVT_END_CHILD_THREAD EVT_END_SWITCH diff --git a/src/battle/partner/goombario.c b/src/battle/partner/goombario.c index 984aabe38f..b725d8994c 100644 --- a/src/battle/partner/goombario.c +++ b/src/battle/partner/goombario.c @@ -549,7 +549,7 @@ EvtScript N(80239CA8) = { EVT_SUB(EVT_VAR(0), 30) EVT_SET(EVT_VAR(1), 0) EVT_CALL(SetGoalPos, 256, EVT_VAR(0), EVT_VAR(1), EVT_VAR(2)) - EVT_CALL(SetActorJumpGravity, 256, EVT_FIXED(1.2001953125)) + EVT_CALL(SetActorJumpGravity, 256, EVT_FIXED(1.2)) EVT_CALL(battle_partner_goombario_func_80238000_6F10E0) EVT_CALL(JumpToGoal, 256, EVT_VAR(0), 0, 1, 0) EVT_CALL(SetAnimation, -127, 1, 589831) @@ -588,7 +588,7 @@ EvtScript N(8023A06C) = { EVT_CALL(GetGoalPos, 256, EVT_VAR(0), EVT_VAR(1), EVT_VAR(2)) EVT_ADD(EVT_VAR(0), 60) EVT_CALL(SetGoalPos, 256, EVT_VAR(0), EVT_VAR(1), EVT_VAR(2)) - EVT_CALL(SetActorJumpGravity, 256, EVT_FIXED(1.400390625)) + EVT_CALL(SetActorJumpGravity, 256, EVT_FIXED(1.4)) EVT_CALL(battle_partner_goombario_func_80238000_6F10E0) EVT_THREAD EVT_WAIT_FRAMES(4) @@ -717,9 +717,9 @@ EvtScript N(8023A754) = { EVT_RETURN EVT_END_IF EVT_CHILD_THREAD - EVT_CALL(SetActorScale, 256, EVT_FIXED(1.1005859375), EVT_FIXED(0.80078125), EVT_FIXED(1.0)) + EVT_CALL(SetActorScale, 256, EVT_FIXED(1.1), EVT_FIXED(0.8), EVT_FIXED(1.0)) EVT_WAIT_FRAMES(1) - EVT_CALL(SetActorScale, 256, EVT_FIXED(1.30078125), EVT_FIXED(0.5), EVT_FIXED(1.0)) + EVT_CALL(SetActorScale, 256, EVT_FIXED(1.3), EVT_FIXED(0.5), EVT_FIXED(1.0)) EVT_WAIT_FRAMES(1) EVT_CALL(SetActorScale, 256, EVT_FIXED(1.0), EVT_FIXED(1.0), EVT_FIXED(1.0)) EVT_END_CHILD_THREAD @@ -773,9 +773,9 @@ EvtScript N(8023A754) = { EVT_CALL(PlaySoundAtActor, 256, 641) EVT_CALL(func_8023817C_6F125C, EVT_VAR(10), 3) EVT_CHILD_THREAD - EVT_CALL(SetActorScale, 256, EVT_FIXED(1.1005859375), EVT_FIXED(0.80078125), EVT_FIXED(1.0)) + EVT_CALL(SetActorScale, 256, EVT_FIXED(1.1), EVT_FIXED(0.8), EVT_FIXED(1.0)) EVT_WAIT_FRAMES(1) - EVT_CALL(SetActorScale, 256, EVT_FIXED(1.30078125), EVT_FIXED(0.5), EVT_FIXED(1.0)) + EVT_CALL(SetActorScale, 256, EVT_FIXED(1.3), EVT_FIXED(0.5), EVT_FIXED(1.0)) EVT_WAIT_FRAMES(1) EVT_CALL(SetActorScale, 256, EVT_FIXED(1.0), EVT_FIXED(1.0), EVT_FIXED(1.0)) EVT_END_CHILD_THREAD @@ -822,9 +822,9 @@ EvtScript N(8023ADC4) = { EVT_RETURN EVT_END_IF EVT_CHILD_THREAD - EVT_CALL(SetActorScale, 256, EVT_FIXED(1.1005859375), EVT_FIXED(0.80078125), EVT_FIXED(1.0)) + EVT_CALL(SetActorScale, 256, EVT_FIXED(1.1), EVT_FIXED(0.8), EVT_FIXED(1.0)) EVT_WAIT_FRAMES(1) - EVT_CALL(SetActorScale, 256, EVT_FIXED(1.30078125), EVT_FIXED(0.5), EVT_FIXED(1.0)) + EVT_CALL(SetActorScale, 256, EVT_FIXED(1.3), EVT_FIXED(0.5), EVT_FIXED(1.0)) EVT_WAIT_FRAMES(1) EVT_CALL(SetActorScale, 256, EVT_FIXED(1.0), EVT_FIXED(1.0), EVT_FIXED(1.0)) EVT_END_CHILD_THREAD @@ -880,9 +880,9 @@ EvtScript N(8023ADC4) = { EVT_CALL(func_8023817C_6F125C, EVT_VAR(10), 3) EVT_CALL(EnableActorBlur, 256, -1) EVT_CHILD_THREAD - EVT_CALL(SetActorScale, 256, EVT_FIXED(1.1005859375), EVT_FIXED(0.80078125), EVT_FIXED(1.0)) + EVT_CALL(SetActorScale, 256, EVT_FIXED(1.1), EVT_FIXED(0.8), EVT_FIXED(1.0)) EVT_WAIT_FRAMES(1) - EVT_CALL(SetActorScale, 256, EVT_FIXED(1.30078125), EVT_FIXED(0.5), EVT_FIXED(1.0)) + EVT_CALL(SetActorScale, 256, EVT_FIXED(1.3), EVT_FIXED(0.5), EVT_FIXED(1.0)) EVT_WAIT_FRAMES(1) EVT_CALL(SetActorScale, 256, EVT_FIXED(1.0), EVT_FIXED(1.0), EVT_FIXED(1.0)) EVT_END_CHILD_THREAD @@ -929,9 +929,9 @@ EvtScript N(8023B45C) = { EVT_RETURN EVT_END_IF EVT_CHILD_THREAD - EVT_CALL(SetActorScale, 256, EVT_FIXED(1.1005859375), EVT_FIXED(0.80078125), EVT_FIXED(1.0)) + EVT_CALL(SetActorScale, 256, EVT_FIXED(1.1), EVT_FIXED(0.8), EVT_FIXED(1.0)) EVT_WAIT_FRAMES(1) - EVT_CALL(SetActorScale, 256, EVT_FIXED(1.30078125), EVT_FIXED(0.5), EVT_FIXED(1.0)) + EVT_CALL(SetActorScale, 256, EVT_FIXED(1.3), EVT_FIXED(0.5), EVT_FIXED(1.0)) EVT_WAIT_FRAMES(1) EVT_CALL(SetActorScale, 256, EVT_FIXED(1.0), EVT_FIXED(1.0), EVT_FIXED(1.0)) EVT_END_CHILD_THREAD @@ -996,9 +996,9 @@ EvtScript N(8023B45C) = { EVT_CALL(func_8023817C_6F125C, EVT_VAR(10), 3) EVT_CALL(EnableActorBlur, 256, -1) EVT_CHILD_THREAD - EVT_CALL(SetActorScale, 256, EVT_FIXED(1.1005859375), EVT_FIXED(0.80078125), EVT_FIXED(1.0)) + EVT_CALL(SetActorScale, 256, EVT_FIXED(1.1), EVT_FIXED(0.8), EVT_FIXED(1.0)) EVT_WAIT_FRAMES(1) - EVT_CALL(SetActorScale, 256, EVT_FIXED(1.30078125), EVT_FIXED(0.5), EVT_FIXED(1.0)) + EVT_CALL(SetActorScale, 256, EVT_FIXED(1.3), EVT_FIXED(0.5), EVT_FIXED(1.0)) EVT_WAIT_FRAMES(1) EVT_CALL(SetActorScale, 256, EVT_FIXED(1.0), EVT_FIXED(1.0), EVT_FIXED(1.0)) EVT_END_CHILD_THREAD @@ -1051,9 +1051,9 @@ EvtScript N(8023BB9C) = { EVT_RETURN EVT_END_IF EVT_CHILD_THREAD - EVT_CALL(SetActorScale, 256, EVT_FIXED(1.1005859375), EVT_FIXED(0.80078125), EVT_FIXED(1.0)) + EVT_CALL(SetActorScale, 256, EVT_FIXED(1.1), EVT_FIXED(0.8), EVT_FIXED(1.0)) EVT_WAIT_FRAMES(1) - EVT_CALL(SetActorScale, 256, EVT_FIXED(1.30078125), EVT_FIXED(0.5), EVT_FIXED(1.0)) + EVT_CALL(SetActorScale, 256, EVT_FIXED(1.3), EVT_FIXED(0.5), EVT_FIXED(1.0)) EVT_WAIT_FRAMES(1) EVT_CALL(SetActorScale, 256, EVT_FIXED(1.0), EVT_FIXED(1.0), EVT_FIXED(1.0)) EVT_END_CHILD_THREAD @@ -1144,9 +1144,9 @@ EvtScript N(8023BB9C) = { EVT_SET(EVT_FLAG(0), 1) EVT_END_IF EVT_CHILD_THREAD - EVT_CALL(SetActorScale, 256, EVT_FIXED(1.1005859375), EVT_FIXED(0.80078125), EVT_FIXED(1.0)) + EVT_CALL(SetActorScale, 256, EVT_FIXED(1.1), EVT_FIXED(0.8), EVT_FIXED(1.0)) EVT_WAIT_FRAMES(1) - EVT_CALL(SetActorScale, 256, EVT_FIXED(1.30078125), EVT_FIXED(0.5), EVT_FIXED(1.0)) + EVT_CALL(SetActorScale, 256, EVT_FIXED(1.3), EVT_FIXED(0.5), EVT_FIXED(1.0)) EVT_WAIT_FRAMES(1) EVT_CALL(SetActorScale, 256, EVT_FIXED(1.0), EVT_FIXED(1.0), EVT_FIXED(1.0)) EVT_END_CHILD_THREAD @@ -1230,7 +1230,7 @@ EvtScript N(8023C5B8) = { EVT_CALL(func_80280818) EVT_CALL(SetGoalToHome, 256) EVT_CALL(SetActorSpeed, 256, EVT_FIXED(4.0)) - EVT_CALL(SetActorJumpGravity, 256, EVT_FIXED(1.80078125)) + EVT_CALL(SetActorJumpGravity, 256, EVT_FIXED(1.8)) EVT_CALL(SetAnimation, 256, -1, 589827) EVT_CALL(RunToGoal, 256, 0) EVT_CALL(SetAnimation, 256, -1, 589825) @@ -1246,9 +1246,9 @@ EvtScript N(8023C90C) = { EVT_CALL(GetActorPos, 256, EVT_VAR(0), EVT_VAR(1), EVT_VAR(2)) EVT_ADD(EVT_VAR(1), 15) EVT_CALL(PlaySoundAtActor, 256, 8335) - EVT_CALL(func_802390C8_6F21A8, EVT_VAR(0), EVT_VAR(1), EVT_VAR(2), EVT_FIXED(1.2001953125)) + EVT_CALL(func_802390C8_6F21A8, EVT_VAR(0), EVT_VAR(1), EVT_VAR(2), EVT_FIXED(1.2)) EVT_WAIT_FRAMES(3) - EVT_CALL(func_802390C8_6F21A8, EVT_VAR(0), EVT_VAR(1), EVT_VAR(2), EVT_FIXED(0.80078125)) + EVT_CALL(func_802390C8_6F21A8, EVT_VAR(0), EVT_VAR(1), EVT_VAR(2), EVT_FIXED(0.8)) EVT_THREAD EVT_WAIT_FRAMES(15) EVT_CALL(GetActorPos, 256, EVT_VAR(0), EVT_VAR(1), EVT_VAR(2)) @@ -1271,7 +1271,7 @@ EvtScript N(8023C90C) = { EVT_CALL(PlaySoundAtActor, 256, 8334) EVT_CALL(func_80238EDC_6F1FBC, EVT_VAR(0), EVT_VAR(1), EVT_VAR(2)) EVT_WAIT_FRAMES(4) - EVT_CALL(SetActorJumpGravity, 256, EVT_FIXED(1.400390625)) + EVT_CALL(SetActorJumpGravity, 256, EVT_FIXED(1.4)) EVT_CALL(GetActorPos, 256, EVT_VAR(0), EVT_VAR(1), EVT_VAR(2)) EVT_CALL(SetJumpAnimations, 256, 589828, 1, 589828, 589828) EVT_CALL(SetGoalPos, 256, EVT_VAR(0), EVT_VAR(1), EVT_VAR(2)) diff --git a/src/battle/star/chill_out/7900D0.c b/src/battle/star/chill_out/7900D0.c index 87fe99fd47..ea83d7ced6 100644 --- a/src/battle/star/chill_out/7900D0.c +++ b/src/battle/star/chill_out/7900D0.c @@ -314,23 +314,23 @@ EvtScript N(usePower) = { EVT_LOOP(5) EVT_CALL(SetActorScaleModifier, LW(10), EVT_FLOAT(1.0), EVT_FLOAT(1.0), EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(1) - EVT_CALL(SetActorScaleModifier, LW(10), EVT_FLOAT(1.1005859375), EVT_FLOAT(1.0), EVT_FLOAT(1.0)) + EVT_CALL(SetActorScaleModifier, LW(10), EVT_FLOAT(1.1), EVT_FLOAT(1.0), EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(1) - EVT_CALL(SetActorScaleModifier, LW(10), EVT_FLOAT(1.2001953125), EVT_FLOAT(0.9501953125), EVT_FLOAT(1.0)) + EVT_CALL(SetActorScaleModifier, LW(10), EVT_FLOAT(1.2), EVT_FLOAT(0.95), EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(1) - EVT_CALL(SetActorScaleModifier, LW(10), EVT_FLOAT(1.30078125), EVT_FLOAT(0.900390625), EVT_FLOAT(1.0)) + EVT_CALL(SetActorScaleModifier, LW(10), EVT_FLOAT(1.3), EVT_FLOAT(0.9), EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(1) - EVT_CALL(SetActorScaleModifier, LW(10), EVT_FLOAT(1.3505859375), EVT_FLOAT(0.8505859375), EVT_FLOAT(1.0)) + EVT_CALL(SetActorScaleModifier, LW(10), EVT_FLOAT(1.35), EVT_FLOAT(0.85), EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(1) - EVT_CALL(SetActorScaleModifier, LW(10), EVT_FLOAT(1.380859375), EVT_FLOAT(0.80078125), EVT_FLOAT(1.0)) + EVT_CALL(SetActorScaleModifier, LW(10), EVT_FLOAT(1.38), EVT_FLOAT(0.8), EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(1) - EVT_CALL(SetActorScaleModifier, LW(10), EVT_FLOAT(1.400390625), EVT_FLOAT(0.80078125), EVT_FLOAT(1.0)) + EVT_CALL(SetActorScaleModifier, LW(10), EVT_FLOAT(1.4), EVT_FLOAT(0.8), EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(1) - EVT_CALL(SetActorScaleModifier, LW(10), EVT_FLOAT(1.30078125), EVT_FLOAT(0.8505859375), EVT_FLOAT(1.0)) + EVT_CALL(SetActorScaleModifier, LW(10), EVT_FLOAT(1.3), EVT_FLOAT(0.85), EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(1) - EVT_CALL(SetActorScaleModifier, LW(10), EVT_FLOAT(1.2001953125), EVT_FLOAT(0.900390625), EVT_FLOAT(1.0)) + EVT_CALL(SetActorScaleModifier, LW(10), EVT_FLOAT(1.2), EVT_FLOAT(0.9), EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(1) - EVT_CALL(SetActorScaleModifier, LW(10), EVT_FLOAT(1.1005859375), EVT_FLOAT(0.9501953125), EVT_FLOAT(1.0)) + EVT_CALL(SetActorScaleModifier, LW(10), EVT_FLOAT(1.1), EVT_FLOAT(0.95), EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(1) EVT_END_LOOP EVT_CALL(SetActorScaleModifier, LW(10), EVT_FLOAT(1.0), EVT_FLOAT(1.0), EVT_FLOAT(1.0)) diff --git a/src/battle/star/smooch/791D90.c b/src/battle/star/smooch/791D90.c index abd2b0f8d1..633aad0955 100644 --- a/src/battle/star/smooch/791D90.c +++ b/src/battle/star/smooch/791D90.c @@ -329,44 +329,44 @@ EvtScript N(usePower) = { EVT_LOOP(2) EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.0), EVT_FLOAT(1.0), EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(1) - EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.1005859375), EVT_FLOAT(1.0), EVT_FLOAT(1.0)) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.1), EVT_FLOAT(1.0), EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(1) - EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.2001953125), EVT_FLOAT(0.9501953125), EVT_FLOAT(1.0)) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.2), EVT_FLOAT(0.95), EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(1) - EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.30078125), EVT_FLOAT(0.900390625), EVT_FLOAT(1.0)) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.3), EVT_FLOAT(0.9), EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(1) - EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.3505859375), EVT_FLOAT(0.8505859375), EVT_FLOAT(1.0)) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.35), EVT_FLOAT(0.85), EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(1) - EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.380859375), EVT_FLOAT(0.80078125), EVT_FLOAT(1.0)) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.38), EVT_FLOAT(0.8), EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(1) - EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.400390625), EVT_FLOAT(0.80078125), EVT_FLOAT(1.0)) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.4), EVT_FLOAT(0.8), EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(1) - EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.30078125), EVT_FLOAT(0.8505859375), EVT_FLOAT(1.0)) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.3), EVT_FLOAT(0.85), EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(1) - EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.2001953125), EVT_FLOAT(0.900390625), EVT_FLOAT(1.0)) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.2), EVT_FLOAT(0.9), EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(1) - EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.1005859375), EVT_FLOAT(0.9501953125), EVT_FLOAT(1.0)) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.1), EVT_FLOAT(0.95), EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(1) EVT_END_LOOP EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.0), EVT_FLOAT(1.0), EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(1) - EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.1005859375), EVT_FLOAT(1.0), EVT_FLOAT(1.0)) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.1), EVT_FLOAT(1.0), EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(1) - EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.2001953125), EVT_FLOAT(0.9501953125), EVT_FLOAT(1.0)) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.2), EVT_FLOAT(0.95), EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(1) - EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.30078125), EVT_FLOAT(0.900390625), EVT_FLOAT(1.0)) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.3), EVT_FLOAT(0.9), EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(1) - EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.3505859375), EVT_FLOAT(0.8505859375), EVT_FLOAT(1.0)) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.35), EVT_FLOAT(0.85), EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(1) - EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.380859375), EVT_FLOAT(0.80078125), EVT_FLOAT(1.0)) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.38), EVT_FLOAT(0.8), EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(1) - EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.400390625), EVT_FLOAT(0.80078125), EVT_FLOAT(1.0)) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.4), EVT_FLOAT(0.8), EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(1) - EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(0.900390625), EVT_FLOAT(1.30078125), EVT_FLOAT(1.0)) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(0.9), EVT_FLOAT(1.3), EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(1) - EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(0.900390625), EVT_FLOAT(1.2001953125), EVT_FLOAT(1.0)) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(0.9), EVT_FLOAT(1.2), EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(1) - EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(0.9501953125), EVT_FLOAT(1.1005859375), EVT_FLOAT(1.0)) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(0.95), EVT_FLOAT(1.1), EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(1) EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.0), EVT_FLOAT(1.0), EVT_FLOAT(1.0)) EVT_WAIT_FRAMES(1) diff --git a/src/battle/star/up_and_away/7952E0.c b/src/battle/star/up_and_away/7952E0.c index ffb637cc32..c66ff48471 100644 --- a/src/battle/star/up_and_away/7952E0.c +++ b/src/battle/star/up_and_away/7952E0.c @@ -341,10 +341,10 @@ EvtScript N(usePower) = { EVT_SET(LW(14), LW(1)) EVT_SET(LW(15), LW(2)) EVT_CALL(SetVirtualEntityPosition, LW(10), LW(0), LW(1), LW(2)) - EVT_SETF(LW(0), EVT_FLOAT(0.2001953125)) + EVT_SETF(LW(0), EVT_FLOAT(0.2)) EVT_CALL(SetVirtualEntityScale, LW(10), LW(0), LW(0), LW(0)) EVT_LOOP(4) - EVT_ADDF(LW(0), EVT_FLOAT(0.2001953125)) + EVT_ADDF(LW(0), EVT_FLOAT(0.2)) EVT_CALL(SetVirtualEntityScale, LW(10), LW(0), LW(0), LW(0)) EVT_WAIT_FRAMES(1) EVT_END_LOOP @@ -373,7 +373,7 @@ EvtScript N(usePower) = { EVT_CALL(SetActorFlagBits, LW(10), 4, 1) EVT_SETF(LW(0), EVT_FLOAT(1.0)) EVT_LOOP(18) - EVT_SUBF(LW(0), EVT_FLOAT(0.05078125)) + EVT_SUBF(LW(0), EVT_FLOAT(0.05)) EVT_CALL(SetActorScale, LW(10), LW(0), LW(0), LW(0)) EVT_WAIT_FRAMES(1) EVT_END_LOOP diff --git a/src/world/area_flo/flo_10/CB9280.c b/src/world/area_flo/flo_10/CB9280.c index 68cbfd4bdb..9955cf3389 100644 --- a/src/world/area_flo/flo_10/CB9280.c +++ b/src/world/area_flo/flo_10/CB9280.c @@ -271,8 +271,8 @@ EvtScript N(80242188) = SCRIPT({ MakeLerp(-50, 90, 60, 1); loop { UpdateLerp(); - EVT_VAR(2) /= 1.2001953125; - EVT_VAR(3) /= 1.2001953125; + EVT_VAR(2) /= 1.2; + EVT_VAR(3) /= 1.2; SetPlayerPos(EVT_VAR(2), EVT_VAR(0), EVT_VAR(3)); sleep 1; if (EVT_VAR(1) == 0) { @@ -296,7 +296,7 @@ EvtScript N(8024230C) = SCRIPT({ GetPlayerPos(EVT_VAR(3), EVT_VAR(4), EVT_VAR(5)); UseSettingsFrom(0, EVT_VAR(3), EVT_VAR(4), EVT_VAR(5)); SetPanTarget(0, EVT_VAR(3), EVT_VAR(4), EVT_VAR(5)); - SetCamSpeed(0, 0.7001953125); + SetCamSpeed(0, 0.7); SetCamPitch(0, 25.0, -22.0); SetCamDistance(0, 450); PanToTarget(0, 0, 1); @@ -367,7 +367,7 @@ EvtScript N(802425E4) = SCRIPT({ sleep 360; InterpPlayerYaw(90, 0); SetPlayerAnimation(ANIM_80017); - SetPlayerJumpscale(0.2001953125); + SetPlayerJumpscale(0.2); PlayerJump1(-100, -10, -172, 75); ShakeCam(0, 0, 5, 1.0); await N(802425BC); diff --git a/src/world/area_flo/flo_21/CE6700.c b/src/world/area_flo/flo_21/CE6700.c index 9d70579b6f..09cc1ac9a1 100644 --- a/src/world/area_flo/flo_21/CE6700.c +++ b/src/world/area_flo/flo_21/CE6700.c @@ -183,12 +183,12 @@ s32 N(D_802414FC_CE7BFC)[] = { 0, EVT_FIXED(1), EVT_FIXED(1), EVT_FIXED(1), EVT_FIXED(1), EVT_FIXED(1), EVT_FIXED(1), - EVT_FIXED(1.1005859375), EVT_FIXED(1.1005859375), EVT_FIXED(1.1005859375), - EVT_FIXED(1.1005859375), EVT_FIXED(1.1005859375), EVT_FIXED(1.1005859375), + EVT_FIXED(1.1), EVT_FIXED(1.1), EVT_FIXED(1.1), + EVT_FIXED(1.1), EVT_FIXED(1.1), EVT_FIXED(1.1), EVT_FIXED(1), EVT_FIXED(1), EVT_FIXED(1), EVT_FIXED(1), EVT_FIXED(1), EVT_FIXED(1), - EVT_FIXED(0.900390625), EVT_FIXED(0.900390625), EVT_FIXED(0.900390625), - EVT_FIXED(0.900390625), EVT_FIXED(0.900390625), EVT_FIXED(0.900390625), + EVT_FIXED(0.9), EVT_FIXED(0.9), EVT_FIXED(0.9), + EVT_FIXED(0.9), EVT_FIXED(0.9), EVT_FIXED(0.9), }; EvtScript N(80241560) = { diff --git a/src/world/area_kmr/kmr_12/events.c b/src/world/area_kmr/kmr_12/events.c index adf77f4476..2d536da7ee 100644 --- a/src/world/area_kmr/kmr_12/events.c +++ b/src/world/area_kmr/kmr_12/events.c @@ -124,7 +124,7 @@ EvtScript N(GoombaIdle) = SCRIPT({ sleep 5; PlaySoundAtNpc(NPC_SELF, 812, 0); EnableNpcShadow(NPC_SELF, TRUE); - SetNpcJumpscale(NPC_SELF, 0.6005859375); + SetNpcJumpscale(NPC_SELF, 0.6); NpcJump0(NPC_SELF, -35, 0, 30, 23); func_802CFD30(NPC_SELF, 0, 0, 0, 0, 0); InterpNpcYaw(NPC_SELF, 90, 0); diff --git a/tools/disasm_script.py b/tools/disasm_script.py index 36828f3bb4..d22bca6d3f 100755 --- a/tools/disasm_script.py +++ b/tools/disasm_script.py @@ -78,12 +78,10 @@ def extend_symbol_map(a, b): return a def round_fixed(f: float) -> float: - """ g = f * 100.0 whole = round(g) if abs(g - whole) <= 100.0/1024.0: f = whole / 100.0 - """ return f def find_symbol_in_overlay(symbol_map, overlay_rom_addr, symbol_ram_addr): @@ -283,20 +281,23 @@ def fix_args(self, func, args, info): elif info[i] == "Hex" and argNum > 0: new_args.append(f"0x{argNum:08X}") elif info[i] == "CustomAnim": - try: - value = (argNum & 0x00FFFFFF) + if argNum != -1: + try: + value = (argNum & 0x00FFFFFF) - if func == "SetAnimation" and int(new_args[1], 10) == 0: - call = f"{CONSTANTS['PlayerAnims'][argNum]}" - elif value in CONSTANTS["NPC_SPRITE"]: - self.INCLUDES_NEEDED["sprites"].add(CONSTANTS['NPC_SPRITE'][str(value) + ".h"]) - call = CONSTANTS['NPC_SPRITE'][value] - else: - call = f"{argNum:06X}" - except ValueError: - call = f"0x{argNum:06X}" - except KeyError: - call = f"0x{argNum:06X}" + if func == "SetAnimation" and int(new_args[1], 10) == 0: + call = f"{CONSTANTS['PlayerAnims'][argNum]}" + elif value in CONSTANTS["NPC_SPRITE"]: + self.INCLUDES_NEEDED["sprites"].add(CONSTANTS['NPC_SPRITE'][str(value) + ".h"]) + call = CONSTANTS['NPC_SPRITE'][value] + else: + call = f"{argNum:06X}" + except ValueError: + call = f"0x{argNum:06X}" + except KeyError: + call = f"0x{argNum:06X}" + else: + call = "-1" new_args.append(call) elif info[i] == "CustomMsg": type_ = (argNum & 0xFF0000) >> 16 @@ -383,6 +384,7 @@ replace_funcs = { "DispatchEvent" :{0:"ActorIDs", 1:"Events"}, "EnableActorBlur" :{0:"ActorIDs"}, + "EnableActorGlow" :{0:"ActorIDs", 1:"Bool"}, "EnableIdleScript" :{0:"ActorIDs"}, "EnableNpcShadow" :{0:"NpcIDs", 1:"Bool"}, "EndActorSpeech" :{0:"ActorIDs", 2:"CustomAnim", 3:"CustomAnim"}, @@ -542,6 +544,7 @@ replace_funcs = { "SetPlayerAnimation" :{0:"PlayerAnims"}, "SetSelfEnemyFlagBits" :{0:"NpcFlags", 1:"Bool"}, #"SetSelfVar" :{1:"Bool"}, # apparently this was a bool in some scripts but it passes non-0/1 values, including negatives + "SetSpriteShading" :{0:"CustomAnim"}, "SetStatusTable" :{0:"ActorIDs"}, "SetTargetActor" :{0:"ActorIDs", 1:"ActorIDs"}, "SetTargetOffset" :{0:"ActorIDs"}, diff --git a/ver/us/asm/data/battle/area_arn/4FF1C0.data.s b/ver/us/asm/data/battle/area_arn/4FF1C0.data.s deleted file mode 100644 index 1f2426bcbd..0000000000 --- a/ver/us/asm/data/battle/area_arn/4FF1C0.data.s +++ /dev/null @@ -1,552 +0,0 @@ -.include "macro.inc" - -.section .data - -dlabel D_80218770_4FF1C0 -.word 0x00000001, 0x00000000, 0x00000000 - -dlabel D_8021877C_4FF1CC -.word 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000006, 0x00000050, 0x00000009, 0x00000064, 0x00000007, 0x00000000, 0x00000004, 0x00000050, 0x00000003, 0x00000064, 0x0000000B, 0x00000064, 0x00000005, 0x00000064, 0x0000000A, 0x00000050, 0x00000008, 0x0000005A, 0x0000001F, 0x00000000, 0x00000020, 0x00000000, 0x00000025, 0x00000000, 0x00000022, 0x00000000, 0x00000024, 0x00000000, 0x00000023, 0x00000000, 0x00000021, 0x00000000, 0x00000026, 0x00000000, 0x00000027, 0x00000000, 0x00000029, 0x00000000, 0x00000000 - -dlabel D_80218828_4FF278 -.word 0x00800000, 0x01000000, 0x001600FF, D_80219818_500268, D_80218770_4FF1C0, 0x00000000, 0x00000000, 0x00F60000, 0x00000000 - -dlabel D_8021884C_4FF29C -.word 0x00000000, 0x001B0C07, 0x00010000, D_80218828_4FF278, D_802188C0_4FF310, D_8021877C_4FF1CC, 0x3C5A5A50, 0x5F006401, 0x18180000, 0xF6140A14 - -dlabel D_80218874_4FF2C4 -.word 0x00000001, 0x00260208, 0x0000000C, 0x00260200, 0x00000006, 0x00260208, 0x00000009, 0x00260208, 0x00000008, 0x00260200, 0x0000000B, 0x00260208, 0x00000005, 0x00260200, 0x00000004, 0x00260207, 0x00000003, 0x00260207, 0x00000000 - -dlabel D_802188C0_4FF310 -.word 0x00000043, 0x00000003, BindIdle, 0xFFFFFF81, D_802198FC_50034C, 0x00000043, 0x00000003, BindHandleEvent, 0xFFFFFF81, D_80219BD8_500628, 0x00000043, 0x00000003, BindTakeTurn, 0xFFFFFF81, D_802195F0_500040, 0x00000043, 0x00000003, BindNextTurn, 0xFFFFFF81, D_80218950_4FF3A0, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80218950_4FF3A0 -.word 0x00000043, 0x00000002, GetBattlePhase, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x0000000A, 0x00000016, 0x00000001, 0x0000000C, 0x00000016, 0x00000001, 0x0000000B, 0x00000043, 0x00000003, SetBattleVar, 0x00000001, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000001, 0x00000001, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802189D4_4FF424 -.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, 0x00000008, 0x00000001, 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, 0x00260203, 0x00000008, 0x00000001, 0x0000001E, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000014, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A7E80, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0x00000000, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000014, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000020DD, 0x00000043, 0x00000003, b_area_arn_StartRumbleWithParams, 0x00000080, 0x0000000A, 0x00000056, 0x00000000, 0x00000043, 0x00000005, ShakeCam, 0x00000001, 0x00000000, 0x00000005, 0xF24A7C80, 0x00000057, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000000, 0x00000001, 0x00000043, 0x00000004, SetIdleAnimations, 0xFFFFFF81, 0x00000001, D_80218874_4FF2C4, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00260201, 0x00000043, 0x00000003, EnableActorGlow, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000005, SetPartEventBits, 0xFFFFFF81, 0x00000001, 0x00400000, 0x00000001, 0x00000008, 0x00000001, 0x00000002, 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, 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, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C80, 0x00000000, 0x00000000, 0x00000001, 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, 0x00000043, 0x00000005, SetActorRotationOffset, 0xFFFFFF81, 0x00000000, 0x0000000C, 0x00000000, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000050, 0x00000043, 0x00000005, SetActorSounds, 0xFFFFFF81, 0x00000002, 0x0000010F, 0x00000000, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, AddGoalPos, 0xFFFFFF81, 0xFFFFFF38, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A7A8B, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24AB680, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000002, ResetAllActorSounds, 0xFFFFFF81, 0x00000043, 0x00000005, SetActorRotationOffset, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000005, SetActorPos, 0xFFFFFF81, 0xFE363C80, 0x00000000, 0xFE363C82, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000003, EnableActorGlow, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000005, SetPartEventBits, 0xFFFFFF81, 0x00000001, 0x00400000, 0x00000000, 0x00000043, 0x00000001, YieldTurn, 0x00000043, 0x00000005, SetActorPos, 0xFFFFFF81, 0x0000012C, 0x00000000, 0x00000000, 0x00000043, 0x00000005, AddActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000002, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00260203, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A9A80, 0x00000043, 0x00000002, SetGoalToHome, 0xFFFFFF81, 0x00000043, 0x00000004, RunToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00260201, 0x00000043, 0x00000004, RemoveActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetIdleAnimations, 0xFFFFFF81, 0x00000001, D_80219818_500268, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000005, SetActorSounds, 0xFFFFFF81, 0x00000002, 0x0000010F, 0x00000000, 0x00000043, 0x00000005, SetActorRotationOffset, 0xFFFFFF81, 0x00000000, 0x0000000C, 0x00000000, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000050, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A7A8B, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24AB680, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000001, 0x00000000, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C80, 0x00000000, 0x00000000, 0x00000000, 0x00000008, 0x00000020, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000000, 0x0000001D, 0x00000001, 0x00000002, 0x00000056, 0x00000000, 0x00000043, 0x00000005, SetActorRotationOffset, 0xFFFFFF81, 0x00000000, 0x0000000C, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000050, 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, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000002, ResetAllActorSounds, 0xFFFFFF81, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A7DB4, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 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, 0x0000000A, 0x00000043, 0x00000003, EnableActorGlow, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000005, SetPartEventBits, 0xFFFFFF81, 0x00000001, 0x00400000, 0x00000000, 0x00000043, 0x00000001, YieldTurn, 0x00000043, 0x00000003, SetActorYaw, 0xFFFFFF81, 0x000000B4, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00260203, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A9A80, 0x00000043, 0x00000002, SetGoalToHome, 0xFFFFFF81, 0x00000043, 0x00000004, RunToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00260201, 0x00000043, 0x00000003, SetActorYaw, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetIdleAnimations, 0xFFFFFF81, 0x00000001, D_80219818_500268, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802195F0_500040 -.word 0x00000043, 0x00000002, GetBattlePhase, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x00000043, 0x00000003, SetBattleVar, 0x00000001, 0x00000001, 0x00000046, 0x00000001, D_8021A628_501078, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x00000046, 0x00000001, D_802189D4_4FF424, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, GetBattleVar, 0x00000001, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000001, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000000, 0x00000043, 0x00000003, RandInt, 0x000003E8, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x000002EE, 0x00000043, 0x00000003, SetBattleVar, 0x00000001, 0x00000002, 0x00000046, 0x00000001, D_802189D4_4FF424, 0x00000012, 0x00000000, 0x00000043, 0x00000003, SetBattleVar, 0x00000001, 0x00000001, 0x00000046, 0x00000001, D_8021A628_501078, 0x00000013, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000003, RandInt, 0x000003E8, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x000001F4, 0x00000043, 0x00000003, SetBattleVar, 0x00000001, 0x00000002, 0x00000046, 0x00000001, D_802189D4_4FF424, 0x00000012, 0x00000000, 0x00000043, 0x00000003, SetBattleVar, 0x00000001, 0x00000001, 0x00000046, 0x00000001, D_8021A628_501078, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000016, 0x00000001, 0x00000001, 0x00000046, 0x00000001, D_8021A628_501078, 0x00000016, 0x00000001, 0x00000002, 0x00000046, 0x00000001, D_802189D4_4FF424, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80219818_500268 -.word 0x00000001, 0x00260201, 0x0000000C, 0x00260200, 0x00000006, 0x00260208, 0x00000009, 0x00260201, 0x00000008, 0x00260200, 0x0000000B, 0x00260201, 0x00000005, 0x00260200, 0x00000004, 0x00260207, 0x00000003, 0x00260207, 0x00000000 - -dlabel D_80219864_5002B4 -.word 0x00000001, 0x00260203, 0x0000000C, 0x00260200, 0x00000006, 0x00260208, 0x00000009, 0x00260201, 0x00000008, 0x00260200, 0x0000000B, 0x00260203, 0x00000005, 0x00260200, 0x00000004, 0x00260207, 0x00000003, 0x00260207, 0x00000000, 0x00000043, 0x00000003, BindTakeTurn, 0xFFFFFF81, D_8021A628_501078, 0x00000043, 0x00000003, BindIdle, 0xFFFFFF81, D_802198FC_50034C, 0x00000043, 0x00000003, BindHandleEvent, 0xFFFFFF81, D_80219BD8_500628, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802198FC_50034C -.word 0x00000003, 0x00000001, 0x0000000A, 0x00000043, 0x00000003, RandInt, 0x00000050, 0xFE363C80, 0x00000027, 0x00000002, 0xFE363C80, 0x00000050, 0x00000005, 0x00000001, 0xFE363C80, 0x00000003, 0x00000001, 0x00000000, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C81, 0x00000010, 0x00000002, 0xFE363C81, 0x0035D000, 0x00000008, 0x00000001, 0x00000001, 0x00000004, 0x00000001, 0x00000000, 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_80219864_5002B4, 0x00000043, 0x00000005, SetIdleGoal, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, IdleRunToGoal, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000004, SetIdleAnimations, 0xFFFFFF81, 0x00000001, D_80219818_500268, 0x00000005, 0x00000001, 0x00000014, 0x00000003, 0x00000001, 0x00000001, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C81, 0x00000010, 0x00000002, 0xFE363C81, 0x0035D000, 0x00000008, 0x00000001, 0x00000001, 0x00000004, 0x00000001, 0x00000001, 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_80219864_5002B4, 0x00000043, 0x00000005, SetIdleGoal, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, IdleRunToGoal, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000004, SetIdleAnimations, 0xFFFFFF81, 0x00000001, D_80219818_500268, 0x00000005, 0x00000001, 0x00000050, 0x00000003, 0x00000001, 0x00000002, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C81, 0x00000010, 0x00000002, 0xFE363C81, 0x0035D000, 0x00000008, 0x00000001, 0x00000001, 0x00000004, 0x00000001, 0x00000002, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000004, 0x00000001, 0x0000000A, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80219BD8_500628 -.word 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000005, SetActorScale, 0xFFFFFF81, 0xF24A7E80, 0xF24A7E80, 0xF24A7E80, 0x00000043, 0x00000003, GetLastEvent, 0xFFFFFF81, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000009, 0x0000001D, 0x00000001, 0x0000000A, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00260205, 0x00000046, 0x00000001, DoNormalHit, 0x00000020, 0x00000000, 0x00000016, 0x00000001, 0x0000000E, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00260209, 0x00000025, 0x00000002, 0xFE363C82, 0x0026020A, 0x00000046, 0x00000001, DoBurnHit, 0x00000016, 0x00000001, 0x00000024, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00260209, 0x00000025, 0x00000002, 0xFE363C82, 0x0026020A, 0x00000046, 0x00000001, DoBurnHit, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0026020A, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000000B, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00260205, 0x00000046, 0x00000001, DoSpinSmashHit, 0x00000016, 0x00000001, 0x00000021, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00260205, 0x00000046, 0x00000001, DoSpinSmashHit, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00260206, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000002F, 0x00000043, 0x00000005, SetActorRotationOffset, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000003, EnableActorGlow, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000005, SetPartEventBits, 0xFFFFFF81, 0x00000001, 0x00400000, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetIdleAnimations, 0xFFFFFF81, 0x00000001, D_80219818_500268, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0026020E, 0x00000046, 0x00000001, DoShockHit, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00260205, 0x00000046, 0x00000001, DoJumpBack, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000005, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000004, SetAnimationRate, 0xFFFFFF81, 0x00000001, 0xF24A8280, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00260207, 0x00000043, 0x00000002, SetGoalToHome, 0xFFFFFF81, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A9A80, 0x00000043, 0x00000004, RunToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetAnimationRate, 0xFFFFFF81, 0x00000001, 0xF24A7E80, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00260201, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A80E7, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000005, 0x00000000, 0x00000001, 0x00000000, 0x00000016, 0x00000001, 0x00000026, 0x00000043, 0x00000005, SetActorRotationOffset, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000003, EnableActorGlow, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000005, SetPartEventBits, 0xFFFFFF81, 0x00000001, 0x00400000, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetIdleAnimations, 0xFFFFFF81, 0x00000001, D_80219818_500268, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0026020E, 0x00000046, 0x00000001, DoShockHit, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00260206, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x00000013, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x00000043, 0x00000005, SetActorRotationOffset, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000003, EnableActorGlow, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000005, SetPartEventBits, 0xFFFFFF81, 0x00000001, 0x00400000, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetIdleAnimations, 0xFFFFFF81, 0x00000001, D_80219818_500268, 0x00000013, 0x00000000, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00260201, 0x00000046, 0x00000001, DoImmune, 0x0000001D, 0x00000001, 0x00000017, 0x0000001D, 0x00000001, 0x00000019, 0x0000001D, 0x00000001, 0x0000001F, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00260201, 0x00000046, 0x00000001, DoImmune, 0x00000020, 0x00000000, 0x00000016, 0x00000001, 0x00000020, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00260205, 0x00000046, 0x00000001, DoNormalHit, 0x00000008, 0x00000001, 0x0000000A, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00260206, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x00000035, 0x00000043, 0x00000004, SetAnimationRate, 0xFFFFFF81, 0x00000001, 0xF24A8280, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00260203, 0x00000043, 0x00000002, SetGoalToHome, 0xFFFFFF81, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A8A80, 0x00000043, 0x00000004, RunToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetAnimationRate, 0xFFFFFF81, 0x00000001, 0xF24A7E80, 0x00000043, 0x00000002, HPBarToHome, 0xFFFFFF81, 0x00000016, 0x00000001, 0x00000031, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00260201, 0x00000046, 0x00000001, DoRecover, 0x00000016, 0x00000001, 0x00000039, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00260203, 0x00000025, 0x00000002, 0xFE363C82, 0x00260205, 0x00000046, 0x00000001, DoScareAway, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000003A, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00260203, 0x00000046, 0x00000001, DoAirLift, 0x00000016, 0x00000001, 0x00000016, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00260205, 0x00000046, 0x00000001, DoBlowAway, 0x00000002, 0x00000000, 0x0000001C, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00260201, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel b_area_arn_floatTable -.float 0.0, 0.017452, 0.034899, 0.052336, 0.069756, 0.087156, 0.104528, 0.121869, 0.139173, 0.156434, 0.173648, 0.190809, 0.207912, 0.224951, 0.241922, 0.258819, 0.275637, 0.292372, 0.309017, 0.325568, 0.34202, 0.358368, 0.374607, 0.390731, 0.406737, 0.422618, 0.438371, 0.45399, 0.469472, 0.48481, 0.5, 0.515038, 0.529919, 0.544639, 0.559193, 0.573576, 0.587785, 0.601815, 0.615661, 0.62932, 0.642788, 0.656059, 0.669131, 0.681998, 0.694658, 0.707107, 0.71934, 0.731354, 0.743145, 0.75471, 0.766044, 0.777146, 0.788011, 0.798636, 0.809017, 0.819152, 0.829038, 0.838671, 0.848048, 0.857167, 0.866025, 0.87462, 0.882948, 0.891007, 0.898794, 0.906308, 0.913545, 0.920505, 0.927184, 0.93358, 0.939693, 0.945519, 0.951057, 0.956305, 0.961262, 0.965926, 0.970296, 0.97437, 0.978148, 0.981627, 0.984808, 0.987688, 0.990268, 0.992546, 0.994522, 0.996195, 0.997564, 0.99863, 0.999391, 0.999848, 1.0 - -dlabel D_8021A628_501078 -.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, 0x00260203, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, AddGoalPos, 0xFFFFFF81, 0x00000032, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A9280, 0x00000043, 0x00000004, RunToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00260201, 0x00000043, 0x00000005, SetActorDispOffset, 0xFFFFFF81, 0x00000000, 0xFFFFFFFF, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000005, SetActorDispOffset, 0xFFFFFF81, 0x00000000, 0xFFFFFFFE, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000005, SetActorDispOffset, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00260204, 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, GetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x0000000A, 0x00000024, 0x00000002, 0xFE363C81, 0x0000000A, 0x00000027, 0x00000002, 0xFE363C82, 0x00000003, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A7F4D, 0x00000056, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C81, 0xFE363C82, 0xFE363C80, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000005, 0x00000001, 0x00000010, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C84, 0xFE363C85, 0xFE363C86, 0x00000043, 0x00000006, b_area_arn_AngleCalculate, 0xFE363C81, 0xFE363C82, 0xFE363C84, 0xFE363C85, 0xFE363C80, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0xFE363C80, 0x00000024, 0x00000002, 0xFE363C81, 0xFE363C84, 0x00000024, 0x00000002, 0xFE363C82, 0xFE363C85, 0x00000024, 0x00000002, 0xFE363C83, 0xFE363C86, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000057, 0x00000000, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000006, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00260204, 0x00000057, 0x00000000, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000010, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00260208, 0x00000043, 0x00000005, SetActorScale, 0xFFFFFF81, 0xF24A7EE7, 0xF24A7DB4, 0xF24A7E80, 0x00000043, 0x00000005, SetActorDispOffset, 0xFFFFFF81, 0x00000000, 0x00000005, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000005, SetActorScale, 0xFFFFFF81, 0xF24A7FB4, 0xF24A7C80, 0xF24A7E80, 0x00000043, 0x00000005, SetActorDispOffset, 0xFFFFFF81, 0x00000000, 0xFFFFFFFE, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000005, SetActorScale, 0xFFFFFF81, 0xF24A7E80, 0xF24A7E80, 0xF24A7E80, 0x00000043, 0x00000005, SetActorDispOffset, 0xFFFFFF81, 0x00000000, 0x00000007, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00260205, 0x00000008, 0x00000001, 0x00000005, 0x0000000A, 0x00000002, 0xFE363C8A, 0x00000005, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C80, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000005, SetActorDispOffset, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00260204, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C80, 0x00000014, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A8280, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000004, 0x00000024, 0x00000002, 0xFE363C80, 0x000000B4, 0x00000005, 0x00000001, 0x00000004, 0x00000028, 0x00000002, 0xFE363C80, 0x0000002D, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0xFE363C80, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00260204, 0x00000057, 0x00000000, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x0000000F, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00260207, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000001, YieldTurn, 0x00000043, 0x00000003, SetActorYaw, 0xFFFFFF81, 0x000000B4, 0x00000043, 0x00000005, AddActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000002, 0x00000043, 0x00000004, SetAnimationRate, 0xFFFFFF81, 0x00000001, 0xF24A8280, 0x00000043, 0x00000002, SetGoalToHome, 0xFFFFFF81, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A9A80, 0x00000043, 0x00000004, RunToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetAnimationRate, 0xFFFFFF81, 0x00000001, 0xF24A7E80, 0x00000043, 0x00000003, SetActorYaw, 0xFFFFFF81, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00260201, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A80E7, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000005, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000004, RemoveActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000020, 0x00000000, 0x0000001C, 0x00000000, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A7F4D, 0x00000056, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C81, 0xFE363C82, 0xFE363C80, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000005, 0x00000001, 0x00000010, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C84, 0xFE363C85, 0xFE363C86, 0x00000043, 0x00000006, b_area_arn_AngleCalculate, 0xFE363C81, 0xFE363C82, 0xFE363C84, 0xFE363C85, 0xFE363C80, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0xFE363C80, 0x00000024, 0x00000002, 0xFE363C81, 0xFE363C84, 0x00000024, 0x00000002, 0xFE363C82, 0xFE363C85, 0x00000024, 0x00000002, 0xFE363C83, 0xFE363C86, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000057, 0x00000000, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000006, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00260204, 0x00000057, 0x00000000, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000010, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x0026020B, 0x00000043, 0x00000005, SetActorScale, 0xFFFFFF81, 0xF24A7EE7, 0xF24A7DB4, 0xF24A7E80, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000005, SetActorScale, 0xFFFFFF81, 0xF24A7FB4, 0xF24A7C80, 0xF24A7E80, 0x00000008, 0x00000001, 0x00000001, 0x00000023, 0x00000000, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C80, 0x00000000, 0x00000000, 0x00000000, 0x00000001, 0x00000020, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000000, 0x0000001D, 0x00000001, 0x00000002, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000005, SetActorScale, 0xFFFFFF81, 0xF24A7EE7, 0xF24A7DB4, 0xF24A7E80, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000005, SetActorScale, 0xFFFFFF81, 0xF24A7E80, 0xF24A7E80, 0xF24A7E80, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000005, SetActorDispOffset, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00260201, 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, 0x00260201, 0x00000008, 0x00000001, 0x00000003, 0x00000043, 0x00000001, YieldTurn, 0x00000043, 0x00000004, SetAnimationRate, 0xFFFFFF81, 0x00000001, 0xF24A8280, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00260203, 0x00000043, 0x00000002, SetGoalToHome, 0xFFFFFF81, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A9A80, 0x00000043, 0x00000004, RunToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetAnimationRate, 0xFFFFFF81, 0x00000001, 0xF24A7E80, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021B2F0_501D40 -.word 0x00000001, 0x00000000, 0x00000000 - -dlabel D_8021B2FC_501D4C -.word 0x00000001, 0x00000000, 0x00000000 - -dlabel D_8021B308_501D58 -.word 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000006, 0x00000050, 0x00000009, 0x00000064, 0x00000007, 0x00000000, 0x00000004, 0x00000050, 0x00000003, 0x00000064, 0x0000000B, 0x00000064, 0x00000005, 0x00000064, 0x0000000A, 0x00000050, 0x00000008, 0x0000005A, 0x0000001F, 0x00000000, 0x00000020, 0x00000000, 0x00000025, 0x00000000, 0x00000022, 0x00000000, 0x00000024, 0x00000000, 0x00000023, 0x00000000, 0x00000021, 0x00000000, 0x00000026, 0x00000000, 0x00000027, 0x00000000, 0x00000029, 0x00000000, 0x00000000 - -dlabel D_8021B3B4_501E04 -.word 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000006, 0x00000050, 0x00000009, 0x00000050, 0x00000007, 0x00000000, 0x00000004, 0x0000005A, 0x00000003, 0x00000000, 0x0000000B, 0x00000050, 0x00000005, 0x00000064, 0x0000000A, 0x00000050, 0x00000008, 0x0000005A, 0x0000001F, 0x00000000, 0x00000020, 0x00000000, 0x00000025, 0x00000000, 0x00000022, 0x00000000, 0x00000024, 0x00000001, 0x00000023, 0x00000000, 0x00000021, 0x00000000, 0x00000026, 0x00000000, 0x00000027, 0x00000000, 0x00000029, 0x00000000, 0x00000000 - -dlabel D_8021B460_501EB0 -.word 0x00020001, 0x01000000, 0x001600FF, D_8021F05C_505AAC, D_8021B2F0_501D40, 0x00000000, 0x00000000, 0x00F60000, 0x00000000, 0x00800000, 0x02000000, 0x001800FF, D_8021C594_502FE4, D_8021B2FC_501D4C, 0x00004000, 0x00000000, 0x00F60000, 0x00000000, 0x00020001, 0x03000000, 0xF01800FF, D_8021C62C_50307C, D_8021B2F0_501D40, 0x00000000, 0x00000000, 0x00F60000, 0x00000000, 0x00020001, 0x04000000, 0xF01800FF, D_8021C638_503088, D_8021B2F0_501D40, 0x00000000, 0x00000000, 0x00F60000, 0x00000000 - -dlabel D_8021B4F0_501F40 -.word 0x00000200, 0x001C0C07, 0x00040000, D_8021B460_501EB0, D_8021B564_501FB4, D_8021B3B4_501E04, 0x325F5F50, 0x5F005A01, 0x241A0000, 0xF6140A14 - -dlabel D_8021B518_501F68 -.word 0x00000001, 0x00280202, 0x0000000C, 0x00280200, 0x00000006, 0x0028020B, 0x00000009, 0x00280202, 0x00000008, 0x00280200, 0x0000000B, 0x00280202, 0x00000005, 0x00280200, 0x00000004, 0x0028020C, 0x00000003, 0x0028020C, 0x00000000 - -dlabel D_8021B564_501FB4 -.word 0x00000043, 0x00000003, BindIdle, 0xFFFFFF81, D_8021C690_5030E0, 0x00000043, 0x00000003, BindHandleEvent, 0xFFFFFF81, D_8021C9C4_503414, 0x00000043, 0x00000003, BindNextTurn, 0xFFFFFF81, D_8021B5F4_502044, 0x00000043, 0x00000003, BindTakeTurn, 0xFFFFFF81, D_8021C36C_502DBC, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021B5F4_502044 -.word 0x00000043, 0x00000002, GetBattlePhase, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x0000000A, 0x00000016, 0x00000001, 0x0000000C, 0x00000016, 0x00000001, 0x0000000B, 0x00000043, 0x00000003, SetBattleVar, 0x00000001, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000001, 0x00000001, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021B678_5020C8 -.word 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x0000000E, 0x00000043, 0x00000002, BattleCamTargetActor, 0xFFFFFF81, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000014, 0x00000008, 0x00000001, 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, 0x00000002, 0x00280202, 0x00000008, 0x00000001, 0x0000001E, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000014, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A7E80, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000014, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000000, 0x00000001, 0x00000043, 0x00000004, SetIdleAnimations, 0xFFFFFF81, 0x00000002, D_8021B518_501F68, 0x00000043, 0x00000003, EnableActorGlow, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000005, SetPartEventBits, 0xFFFFFF81, 0x00000002, 0x00400000, 0x00000001, 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, 0x00000043, 0x00000002, MoveBattleCamOver, 0x0000001E, 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, 0x000020E0, 0x00000043, 0x00000005, SetActorSounds, 0xFFFFFF81, 0x00000002, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A8E80, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A7DB4, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C81, 0x00000014, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000002C1, 0x00000043, 0x00000005, SetActorSounds, 0xFFFFFF81, 0x00000002, 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, SetActorRotationOffset, 0xFFFFFF81, 0x00000000, 0x00000010, 0x00000000, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0xFFFFFFC4, 0x00000056, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0xFFFFFFC4, 0x00000005, 0x00000001, 0x0000003C, 0x00000027, 0x00000002, 0xFE363C80, 0x00000013, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0xFE363C80, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000057, 0x00000000, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A7A8B, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24AB680, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000001, 0x00000043, 0x00000002, ResetAllActorSounds, 0xFFFFFF81, 0x00000043, 0x00000005, AddGoalPos, 0xFFFFFF81, 0xFFFFFFC4, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A7FB4, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x0000000F, 0x00000000, 0x00000001, 0x00000000, 0x0000000A, 0x00000002, 0xFE363C8A, 0x00000005, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C80, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A9280, 0x00000043, 0x00000005, AddGoalPos, 0xFFFFFF81, 0xFFFFFF38, 0x00000000, 0x00000000, 0x00000043, 0x00000004, RunToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000001, YieldTurn, 0x00000043, 0x00000003, EnableActorGlow, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000005, SetPartEventBits, 0xFFFFFF81, 0x00000002, 0x00400000, 0x00000000, 0x00000056, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000005, 0x00000001, 0x0000001E, 0x00000027, 0x00000002, 0xFE363C80, 0x00000018, 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, 0x00000005, SetActorPos, 0xFFFFFF81, 0x0000012C, 0x00000000, 0x00000000, 0x00000043, 0x00000002, SetGoalToHome, 0xFFFFFF81, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A9A80, 0x00000043, 0x00000005, AddGoalPos, 0xFFFFFF81, 0x0000001E, 0x00000000, 0x00000000, 0x00000043, 0x00000004, RunToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000005, AddActorDecoration, 0xFFFFFF81, 0x00000002, 0x00000000, 0x00000002, 0x00000043, 0x00000002, ResetAllActorSounds, 0xFFFFFF81, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000002, 0x00280204, 0x00000043, 0x00000002, SetGoalToHome, 0xFFFFFF81, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A9280, 0x00000043, 0x00000005, FlyToGoal, 0xFFFFFF81, 0x00000000, 0x00000001, 0x0000000B, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000002, 0x00280201, 0x00000043, 0x00000004, RemoveActorDecoration, 0xFFFFFF81, 0x00000002, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetIdleAnimations, 0xFFFFFF81, 0x00000002, D_8021C594_502FE4, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000005, SetActorRotationOffset, 0xFFFFFF81, 0x00000000, 0x0000000C, 0x00000000, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0xFFFFFFBA, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A7A8B, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24AB680, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C80, 0x00000000, 0x00000000, 0x00000000, 0x00000008, 0x00000020, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000000, 0x0000001D, 0x00000001, 0x00000002, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000002, ResetAllActorSounds, 0xFFFFFF81, 0x00000056, 0x00000000, 0x00000043, 0x00000005, SetActorRotationOffset, 0xFFFFFF81, 0x00000000, 0x00000010, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0xFFFFFFBA, 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, 0xF24A7DB4, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000028, 0x00000002, 0xFE363C80, 0x00000046, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000014, 0x00000000, 0x00000000, 0x00000000, 0x00000028, 0x00000002, 0xFE363C80, 0x0000003C, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x0000000F, 0x00000000, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000001, YieldTurn, 0x00000043, 0x00000003, EnableActorGlow, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000005, SetPartEventBits, 0xFFFFFF81, 0x00000002, 0x00400000, 0x00000000, 0x00000043, 0x00000003, SetActorYaw, 0xFFFFFF81, 0x000000B4, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000002, 0x00280204, 0x00000046, 0x00000001, D_8021C94C_50339C, 0x00000043, 0x00000003, SetActorYaw, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetIdleAnimations, 0xFFFFFF81, 0x00000002, D_8021C594_502FE4, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0xFFFFFFFF, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021C36C_502DBC -.word 0x00000043, 0x00000002, GetBattlePhase, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x00000043, 0x00000003, SetBattleVar, 0x00000001, 0x00000001, 0x00000046, 0x00000001, D_8021D1DC_503C2C, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x00000046, 0x00000001, D_8021B678_5020C8, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, GetBattleVar, 0x00000001, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000001, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000000, 0x00000043, 0x00000003, RandInt, 0x000003E8, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x000002EE, 0x00000043, 0x00000003, SetBattleVar, 0x00000001, 0x00000002, 0x00000046, 0x00000001, D_8021B678_5020C8, 0x00000012, 0x00000000, 0x00000043, 0x00000003, SetBattleVar, 0x00000001, 0x00000001, 0x00000046, 0x00000001, D_8021D1DC_503C2C, 0x00000013, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000003, RandInt, 0x000003E8, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x000001F4, 0x00000043, 0x00000003, SetBattleVar, 0x00000001, 0x00000002, 0x00000046, 0x00000001, D_8021B678_5020C8, 0x00000012, 0x00000000, 0x00000043, 0x00000003, SetBattleVar, 0x00000001, 0x00000001, 0x00000046, 0x00000001, D_8021D1DC_503C2C, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000016, 0x00000001, 0x00000001, 0x00000046, 0x00000001, D_8021D1DC_503C2C, 0x00000016, 0x00000001, 0x00000002, 0x00000046, 0x00000001, D_8021B678_5020C8, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021C594_502FE4 -.word 0x00000001, 0x00280201, 0x0000000C, 0x00280200, 0x00000006, 0x0028020B, 0x00000009, 0x00280201, 0x00000008, 0x00280200, 0x0000000B, 0x00280201, 0x00000005, 0x00280200, 0x00000004, 0x0028020C, 0x00000003, 0x0028020C, 0x00000000 - -dlabel D_8021C5E0_503030 -.word 0x00000001, 0x00280204, 0x0000000C, 0x00280200, 0x00000006, 0x0028020B, 0x00000009, 0x00280201, 0x00000008, 0x00280200, 0x0000000B, 0x00280204, 0x00000005, 0x00280200, 0x00000004, 0x0028020C, 0x00000003, 0x0028020C, 0x00000000 - -dlabel D_8021C62C_50307C -.word 0x00000001, 0x00280209, 0x00000000 - -dlabel D_8021C638_503088 -.word 0x00000001, 0x0028020A, 0x00000000, 0x00000043, 0x00000003, BindTakeTurn, 0xFFFFFF81, D_8021D1DC_503C2C, 0x00000043, 0x00000003, BindIdle, 0xFFFFFF81, D_8021C690_5030E0, 0x00000043, 0x00000003, BindHandleEvent, 0xFFFFFF81, D_8021C9C4_503414, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021C690_5030E0 -.word 0x00000003, 0x00000001, 0x0000000A, 0x00000043, 0x00000003, RandInt, 0x00000050, 0xFE363C80, 0x00000027, 0x00000002, 0xFE363C80, 0x00000050, 0x00000005, 0x00000001, 0xFE363C80, 0x00000003, 0x00000001, 0x00000000, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C81, 0x00000010, 0x00000002, 0xFE363C81, 0x0035D000, 0x00000008, 0x00000001, 0x00000001, 0x00000004, 0x00000001, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C80, 0x00000005, 0x00000043, 0x00000003, SetActorIdleSpeed, 0xFFFFFF81, 0xF24A7CE7, 0x00000043, 0x00000004, SetIdleAnimations, 0xFFFFFF81, 0x00000002, D_8021C5E0_503030, 0x00000043, 0x00000005, SetIdleGoal, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000005, IdleFlyToGoal, 0xFFFFFF81, 0x00000000, 0xFFFFFFFB, 0x00000000, 0x00000005, 0x00000001, 0x00000014, 0x00000003, 0x00000001, 0x00000001, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C81, 0x00000010, 0x00000002, 0xFE363C81, 0x0035D000, 0x00000008, 0x00000001, 0x00000001, 0x00000004, 0x00000001, 0x00000001, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x00000005, 0x00000043, 0x00000003, SetActorIdleSpeed, 0xFFFFFF81, 0xF24A7CE7, 0x00000043, 0x00000005, SetIdleGoal, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000005, IdleFlyToGoal, 0xFFFFFF81, 0x00000000, 0xFFFFFFFB, 0x00000000, 0x00000043, 0x00000004, SetIdleAnimations, 0xFFFFFF81, 0x00000002, D_8021C594_502FE4, 0x00000005, 0x00000001, 0x00000028, 0x00000003, 0x00000001, 0x00000002, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C81, 0x00000010, 0x00000002, 0xFE363C81, 0x0035D000, 0x00000008, 0x00000001, 0x00000001, 0x00000004, 0x00000001, 0x00000002, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000004, 0x00000001, 0x0000000A, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021C94C_50339C -.word 0x00000043, 0x00000002, ResetAllActorSounds, 0xFFFFFF81, 0x00000043, 0x00000002, SetGoalToHome, 0xFFFFFF81, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A9680, 0x00000043, 0x00000005, FlyToGoal, 0xFFFFFF81, 0x00000000, 0x00000001, 0x0000000B, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000002, 0x00280201, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021C9C4_503414 -.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, 0x00000002, 0x00000025, 0x00000002, 0xFE363C81, 0x00280206, 0x00000046, 0x00000001, DoNormalHit, 0x00000043, 0x00000002, GetBattlePhase, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x00000043, 0x00000002, GetEncounterState, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000004, 0x00000046, 0x00000001, D_8021D9F4_504444, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000020, 0x00000000, 0x00000016, 0x00000001, 0x0000000E, 0x00000025, 0x00000002, 0xFE363C80, 0x00000002, 0x00000025, 0x00000002, 0xFE363C81, 0x0028020D, 0x00000025, 0x00000002, 0xFE363C82, 0x0028020E, 0x00000046, 0x00000001, DoBurnHit, 0x00000016, 0x00000001, 0x00000024, 0x00000025, 0x00000002, 0xFE363C80, 0x00000002, 0x00000025, 0x00000002, 0xFE363C81, 0x0028020D, 0x00000025, 0x00000002, 0xFE363C82, 0x0028020E, 0x00000046, 0x00000001, DoBurnHit, 0x00000025, 0x00000002, 0xFE363C80, 0x00000002, 0x00000025, 0x00000002, 0xFE363C81, 0x0028020E, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000000C, 0x00000025, 0x00000002, 0xFE363C80, 0x00000002, 0x00000025, 0x00000002, 0xFE363C81, 0x00280206, 0x00000046, 0x00000001, DoNormalHit, 0x00000046, 0x00000001, D_8021D9F4_504444, 0x00000016, 0x00000001, 0x0000000F, 0x00000025, 0x00000002, 0xFE363C80, 0x00000002, 0x00000025, 0x00000002, 0xFE363C81, 0x0028020D, 0x00000025, 0x00000002, 0xFE363C82, 0x0028020E, 0x00000046, 0x00000001, DoBurnHit, 0x00000046, 0x00000001, D_8021D9F4_504444, 0x00000016, 0x00000001, 0x0000002F, 0x00000043, 0x00000005, SetActorRotationOffset, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000003, EnableActorGlow, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000005, SetPartEventBits, 0xFFFFFF81, 0x00000002, 0x00400000, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetIdleAnimations, 0xFFFFFF81, 0x00000002, D_8021C594_502FE4, 0x00000025, 0x00000002, 0xFE363C80, 0x00000002, 0x00000025, 0x00000002, 0xFE363C81, 0x0028020F, 0x00000046, 0x00000001, DoShockHit, 0x00000025, 0x00000002, 0xFE363C80, 0x00000002, 0x00000025, 0x00000002, 0xFE363C81, 0x00280206, 0x00000046, 0x00000001, DoJumpBack, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000002, 0x0028020C, 0x00000046, 0x00000001, D_8021C94C_50339C, 0x00000016, 0x00000001, 0x00000026, 0x00000043, 0x00000005, SetActorRotationOffset, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000003, EnableActorGlow, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000005, SetPartEventBits, 0xFFFFFF81, 0x00000002, 0x00400000, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetIdleAnimations, 0xFFFFFF81, 0x00000002, D_8021C594_502FE4, 0x00000025, 0x00000002, 0xFE363C80, 0x00000002, 0x00000025, 0x00000002, 0xFE363C81, 0x0028020F, 0x00000046, 0x00000001, DoShockHit, 0x00000025, 0x00000002, 0xFE363C80, 0x00000002, 0x00000025, 0x00000002, 0xFE363C81, 0x00280207, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x00000013, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x00000043, 0x00000005, SetActorRotationOffset, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000003, EnableActorGlow, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000005, SetPartEventBits, 0xFFFFFF81, 0x00000002, 0x00400000, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetIdleAnimations, 0xFFFFFF81, 0x00000002, D_8021C594_502FE4, 0x00000013, 0x00000000, 0x00000025, 0x00000002, 0xFE363C80, 0x00000002, 0x00000025, 0x00000002, 0xFE363C81, 0x00280201, 0x00000046, 0x00000001, DoImmune, 0x0000001D, 0x00000001, 0x00000017, 0x0000001D, 0x00000001, 0x00000019, 0x0000001D, 0x00000001, 0x0000001F, 0x00000025, 0x00000002, 0xFE363C80, 0x00000002, 0x00000025, 0x00000002, 0xFE363C81, 0x00280201, 0x00000046, 0x00000001, DoImmune, 0x00000020, 0x00000000, 0x00000016, 0x00000001, 0x00000020, 0x00000025, 0x00000002, 0xFE363C80, 0x00000002, 0x00000025, 0x00000002, 0xFE363C81, 0x00280206, 0x00000046, 0x00000001, DoNormalHit, 0x00000008, 0x00000001, 0x0000000A, 0x00000025, 0x00000002, 0xFE363C80, 0x00000002, 0x00000025, 0x00000002, 0xFE363C81, 0x00280207, 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, 0x00280204, 0x00000046, 0x00000001, D_8021C94C_50339C, 0x00000043, 0x00000002, HPBarToHome, 0xFFFFFF81, 0x00000016, 0x00000001, 0x00000031, 0x00000025, 0x00000002, 0xFE363C80, 0x00000002, 0x00000025, 0x00000002, 0xFE363C81, 0x00280201, 0x00000046, 0x00000001, DoRecover, 0x00000016, 0x00000001, 0x00000039, 0x00000043, 0x00000004, SetActorFlagBits, 0xFFFFFF81, 0x00000200, 0x00000000, 0x00000025, 0x00000002, 0xFE363C80, 0x00000002, 0x00000025, 0x00000002, 0xFE363C81, 0x00280204, 0x00000025, 0x00000002, 0xFE363C82, 0x00280206, 0x00000046, 0x00000001, DoScareAway, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000003A, 0x00000025, 0x00000002, 0xFE363C80, 0x00000002, 0x00000025, 0x00000002, 0xFE363C81, 0x00280204, 0x00000046, 0x00000001, DoAirLift, 0x00000016, 0x00000001, 0x00000016, 0x00000025, 0x00000002, 0xFE363C80, 0x00000002, 0x00000025, 0x00000002, 0xFE363C81, 0x00280206, 0x00000046, 0x00000001, DoBlowAway, 0x00000002, 0x00000000, 0x0000001C, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0xFFFFFFFF, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021D1DC_503C2C -.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, 0x00000002, 0x00280204, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, AddGoalPos, 0xFFFFFF81, 0x00000032, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A9280, 0x00000043, 0x00000005, FlyToGoal, 0xFFFFFF81, 0x00000000, 0xFFFFFFFC, 0x00000000, 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, 0x00000002, UseBattleCamPreset, 0x00000042, 0x00000043, 0x00000002, SetBattleCamZoom, 0x0000012C, 0x00000043, 0x00000002, BattleCamTargetActor, 0xFFFFFF81, 0x00000043, 0x00000004, func_8024ECF8, 0xFFFFFFFF, 0x00000001, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000020E0, 0x00000043, 0x00000005, SetActorSounds, 0xFFFFFF81, 0x00000002, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A8E80, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A81B4, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000002, 0x00280205, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000002C1, 0x00000043, 0x00000005, SetActorSounds, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000000, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000028, 0x00000002, 0xFE363C80, 0x00000050, 0x00000024, 0x00000002, 0xFE363C81, 0x00000014, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A9A80, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000002, 0x00280205, 0x00000043, 0x00000005, FlyToGoal, 0xFFFFFF81, 0x00000000, 0xFFFFFFF6, 0x00000004, 0x00000056, 0x00000000, 0x00000005, 0x00000001, 0x00000004, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000020DF, 0x00000008, 0x00000001, 0x00000004, 0x00000006, 0x00000000, 0x00000057, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000002, 0x00280202, 0x00000043, 0x00000005, AddActorDecoration, 0xFFFFFF81, 0x00000002, 0x00000000, 0x00000002, 0x00000043, 0x00000004, SetAnimationRate, 0xFFFFFF81, 0x00000002, 0xF24A8680, 0x00000008, 0x00000001, 0x0000000A, 0x0000000A, 0x00000002, 0xFE363C8A, 0x00000005, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C80, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000004, SetAnimationRate, 0xFFFFFF81, 0x00000002, 0xF24A7E80, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000002, ResetAllActorSounds, 0xFFFFFF81, 0x00000043, 0x00000001, YieldTurn, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000002, 0x00280204, 0x00000043, 0x00000003, SetActorYaw, 0xFFFFFF81, 0x000000B4, 0x00000046, 0x00000001, D_8021C94C_50339C, 0x00000043, 0x00000003, SetActorYaw, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000004, RemoveActorDecoration, 0xFFFFFF81, 0x00000002, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0xFFFFFFFF, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000020, 0x00000000, 0x0000001C, 0x00000000, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000042, 0x00000043, 0x00000002, SetBattleCamZoom, 0x0000012C, 0x00000043, 0x00000002, BattleCamTargetActor, 0xFFFFFF81, 0x00000043, 0x00000004, func_8024ECF8, 0xFFFFFFFF, 0x00000001, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000020E0, 0x00000043, 0x00000005, SetActorSounds, 0xFFFFFF81, 0x00000002, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A8E80, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A81B4, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000002, 0x00280205, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000002C1, 0x00000043, 0x00000005, SetActorSounds, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000000, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A9A80, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000002, 0x00280205, 0x00000043, 0x00000005, FlyToGoal, 0xFFFFFF81, 0x00000000, 0xFFFFFFF6, 0x00000000, 0x00000023, 0x00000000, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C80, 0x00000000, 0x00000000, 0x00000000, 0x00000001, 0x00000020, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000000, 0x0000001D, 0x00000001, 0x00000002, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, AddGoalPos, 0xFFFFFF81, 0x00000032, 0x0000000A, 0x00000000, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A9280, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000002, 0x00280204, 0x00000043, 0x00000005, FlyToGoal, 0xFFFFFF81, 0x00000000, 0xFFFFFFF6, 0x00000000, 0x00000043, 0x00000002, ResetAllActorSounds, 0xFFFFFF81, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000001, YieldTurn, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000002, 0x00280204, 0x00000046, 0x00000001, D_8021C94C_50339C, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0xFFFFFFFF, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021D9F4_504444 -.word 0x00000043, 0x00000002, func_8027D32C, 0xFFFFFF81, 0x00000043, 0x00000004, SetPartFlags, 0xFFFFFF81, 0x00000002, 0x00020005, 0x00000043, 0x00000004, SetPartFlags, 0xFFFFFF81, 0x00000003, 0x00120004, 0x00000043, 0x00000004, SetPartFlags, 0xFFFFFF81, 0x00000004, 0x00120004, 0x00000043, 0x00000004, SetPartFlags, 0xFFFFFF81, 0x00000001, 0x00800004, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, SetPartPos, 0xFFFFFF81, 0x00000003, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, SetPartDispOffset, 0xFFFFFF81, 0x00000003, 0xFFFFFFF7, 0x00000007, 0xFFFFFFFE, 0x00000043, 0x00000006, SetPartPos, 0xFFFFFF81, 0x00000004, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, SetPartDispOffset, 0xFFFFFF81, 0x00000004, 0x0000000B, 0x00000007, 0xFFFFFFFE, 0x00000043, 0x00000003, GetLastEvent, 0xFFFFFF81, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x0000000F, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x0026020A, 0x00000012, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00260205, 0x00000013, 0x00000000, 0x00000043, 0x00000005, SetActorSounds, 0xFFFFFF81, 0x00000002, 0x00000301, 0x00000000, 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_arn_StartRumbleWithParams, 0x00000064, 0x0000000A, 0x00000056, 0x00000000, 0x00000043, 0x00000005, ShakeCam, 0x00000001, 0x00000000, 0x00000005, 0xF24A7BB4, 0x00000057, 0x00000000, 0x00000043, 0x00000003, ResetActorSounds, 0xFFFFFF81, 0x00000002, 0x00000043, 0x00000003, GetLastEvent, 0xFFFFFF81, 0xFE363C83, 0x0000000A, 0x00000002, 0xFE363C83, 0x0000000F, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00260205, 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, 0x0000000A, 0x00000043, 0x00000005, SetPartFlagBits, 0xFFFFFF81, 0x00000003, 0x00000001, 0x00000001, 0x00000043, 0x00000005, SetPartFlagBits, 0xFFFFFF81, 0x00000004, 0x00000001, 0x00000001, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000005, SetPartFlagBits, 0xFFFFFF81, 0x00000003, 0x00000001, 0x00000000, 0x00000043, 0x00000005, SetPartFlagBits, 0xFFFFFF81, 0x00000004, 0x00000001, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000043, 0x00000005, SetPartFlagBits, 0xFFFFFF81, 0x00000003, 0x00000001, 0x00000001, 0x00000043, 0x00000005, SetPartFlagBits, 0xFFFFFF81, 0x00000004, 0x00000001, 0x00000001, 0x00000043, 0x00000003, GetIndexFromHome, 0xFFFFFF81, 0xFE363C80, 0x0000002B, 0x00000002, 0xFE363C80, 0x00000004, 0x00000043, 0x00000003, SetGoalToIndex, 0xFFFFFF81, 0xFE363C80, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000005, SetHomePos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00260201, 0x00000043, 0x00000004, SetActorFlagBits, 0xFFFFFF81, 0x00000200, 0x00000000, 0x00000043, 0x00000003, SetStatusTable, 0xFFFFFF81, D_8021B308_501D58, 0x00000043, 0x00000003, SetActorType, 0xFFFFFF81, 0x0000001B, 0x00000046, 0x00000001, D_8021E058_504AA8, 0x00000043, 0x00000004, SetActorFlagBits, 0xFFFFFF81, 0x00001000, 0x00000001, 0x00000043, 0x00000002, HPBarToHome, 0xFFFFFF81, 0x00000043, 0x00000002, ResetAllActorSounds, 0xFFFFFF81, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021DF7C_5049CC -.word 0x00000001, 0x00260208, 0x0000000C, 0x00260200, 0x00000006, 0x00260208, 0x00000009, 0x00260208, 0x00000008, 0x00260200, 0x0000000B, 0x00260208, 0x00000005, 0x00260200, 0x00000004, 0x00260207, 0x00000003, 0x00260207, 0x00000000, 0x00000043, 0x00000003, BindIdle, 0xFFFFFF81, D_8021F140_505B90, 0x00000043, 0x00000003, BindHandleEvent, 0xFFFFFF81, D_8021F41C_505E6C, 0x00000043, 0x00000003, BindTakeTurn, 0xFFFFFF81, D_8021EE34_505884, 0x00000043, 0x00000003, BindNextTurn, 0xFFFFFF81, D_8021E194_504BE4, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021E058_504AA8 -.word 0x00000043, 0x00000003, BindIdle, 0xFFFFFF81, D_8021F140_505B90, 0x00000043, 0x00000003, BindHandleEvent, 0xFFFFFF81, D_8021F41C_505E6C, 0x00000043, 0x00000003, BindTakeTurn, 0xFFFFFF81, D_8021EE34_505884, 0x00000043, 0x00000003, BindNextTurn, 0xFFFFFF81, D_8021E194_504BE4, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000016, 0x00000001, 0x00000001, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000000, 0x00000001, 0x00000043, 0x00000005, SetPartEventBits, 0xFFFFFF81, 0x00000001, 0x00400000, 0x00000001, 0x00000043, 0x00000005, SetPartEventBits, 0xFFFFFF81, 0x00000002, 0x00400000, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000001, 0xFE363C80, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000001, 0xFE363C80, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021E194_504BE4 -.word 0x00000043, 0x00000002, GetBattlePhase, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x0000000A, 0x00000016, 0x00000001, 0x0000000C, 0x00000016, 0x00000001, 0x0000000B, 0x00000043, 0x00000003, SetBattleVar, 0x00000001, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000001, 0x00000001, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021E218_504C68 -.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, 0x00000008, 0x00000001, 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, 0x00260203, 0x00000008, 0x00000001, 0x0000001E, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000014, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A7E80, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0x00000000, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000014, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000020DD, 0x00000043, 0x00000003, dup_b_area_arn_StartRumbleWithParams, 0x00000080, 0x0000000A, 0x00000056, 0x00000000, 0x00000043, 0x00000005, ShakeCam, 0x00000001, 0x00000000, 0x00000005, 0xF24A7C80, 0x00000057, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000000, 0x00000001, 0x00000043, 0x00000004, SetIdleAnimations, 0xFFFFFF81, 0x00000001, D_8021DF7C_5049CC, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00260201, 0x00000043, 0x00000003, EnableActorGlow, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000005, SetPartEventBits, 0xFFFFFF81, 0x00000001, 0x00400000, 0x00000001, 0x00000008, 0x00000001, 0x00000002, 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, 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, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C80, 0x00000000, 0x00000000, 0x00000001, 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, 0x00000043, 0x00000005, SetActorRotationOffset, 0xFFFFFF81, 0x00000000, 0x0000000C, 0x00000000, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000050, 0x00000043, 0x00000005, SetActorSounds, 0xFFFFFF81, 0x00000002, 0x0000010F, 0x00000000, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, AddGoalPos, 0xFFFFFF81, 0xFFFFFF38, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A7A8B, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24AB680, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000002, ResetAllActorSounds, 0xFFFFFF81, 0x00000043, 0x00000005, SetActorRotationOffset, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000005, SetActorPos, 0xFFFFFF81, 0xFE363C80, 0x00000000, 0xFE363C82, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000003, EnableActorGlow, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000005, SetPartEventBits, 0xFFFFFF81, 0x00000001, 0x00400000, 0x00000000, 0x00000043, 0x00000001, YieldTurn, 0x00000043, 0x00000005, SetActorPos, 0xFFFFFF81, 0x0000012C, 0x00000000, 0x00000000, 0x00000043, 0x00000005, AddActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000002, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00260203, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A9A80, 0x00000043, 0x00000002, SetGoalToHome, 0xFFFFFF81, 0x00000043, 0x00000004, RunToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00260201, 0x00000043, 0x00000004, RemoveActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetIdleAnimations, 0xFFFFFF81, 0x00000001, D_8021F05C_505AAC, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000005, SetActorSounds, 0xFFFFFF81, 0x00000002, 0x0000010F, 0x00000000, 0x00000043, 0x00000005, SetActorRotationOffset, 0xFFFFFF81, 0x00000000, 0x0000000C, 0x00000000, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000050, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A7A8B, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24AB680, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000001, 0x00000000, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C80, 0x00000000, 0x00000000, 0x00000000, 0x00000008, 0x00000020, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000000, 0x0000001D, 0x00000001, 0x00000002, 0x00000056, 0x00000000, 0x00000043, 0x00000005, SetActorRotationOffset, 0xFFFFFF81, 0x00000000, 0x0000000C, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000050, 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, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000002, ResetAllActorSounds, 0xFFFFFF81, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A7DB4, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 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, 0x0000000A, 0x00000043, 0x00000003, EnableActorGlow, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000005, SetPartEventBits, 0xFFFFFF81, 0x00000001, 0x00400000, 0x00000000, 0x00000043, 0x00000001, YieldTurn, 0x00000043, 0x00000003, SetActorYaw, 0xFFFFFF81, 0x000000B4, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00260203, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A9A80, 0x00000043, 0x00000002, SetGoalToHome, 0xFFFFFF81, 0x00000043, 0x00000004, RunToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00260201, 0x00000043, 0x00000003, SetActorYaw, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetIdleAnimations, 0xFFFFFF81, 0x00000001, D_8021F05C_505AAC, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021EE34_505884 -.word 0x00000043, 0x00000002, GetBattlePhase, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x00000043, 0x00000003, SetBattleVar, 0x00000001, 0x00000001, 0x00000046, 0x00000001, D_8021FE6C_5068BC, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x00000046, 0x00000001, D_8021E218_504C68, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, GetBattleVar, 0x00000001, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000001, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000000, 0x00000043, 0x00000003, RandInt, 0x000003E8, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x000002EE, 0x00000043, 0x00000003, SetBattleVar, 0x00000001, 0x00000002, 0x00000046, 0x00000001, D_8021E218_504C68, 0x00000012, 0x00000000, 0x00000043, 0x00000003, SetBattleVar, 0x00000001, 0x00000001, 0x00000046, 0x00000001, D_8021FE6C_5068BC, 0x00000013, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000003, RandInt, 0x000003E8, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x000001F4, 0x00000043, 0x00000003, SetBattleVar, 0x00000001, 0x00000002, 0x00000046, 0x00000001, D_8021E218_504C68, 0x00000012, 0x00000000, 0x00000043, 0x00000003, SetBattleVar, 0x00000001, 0x00000001, 0x00000046, 0x00000001, D_8021FE6C_5068BC, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000016, 0x00000001, 0x00000001, 0x00000046, 0x00000001, D_8021FE6C_5068BC, 0x00000016, 0x00000001, 0x00000002, 0x00000046, 0x00000001, D_8021E218_504C68, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021F05C_505AAC -.word 0x00000001, 0x00260201, 0x0000000C, 0x00260200, 0x00000006, 0x00260208, 0x00000009, 0x00260201, 0x00000008, 0x00260200, 0x0000000B, 0x00260201, 0x00000005, 0x00260200, 0x00000004, 0x00260207, 0x00000003, 0x00260207, 0x00000000 - -dlabel D_8021F0A8_505AF8 -.word 0x00000001, 0x00260203, 0x0000000C, 0x00260200, 0x00000006, 0x00260208, 0x00000009, 0x00260201, 0x00000008, 0x00260200, 0x0000000B, 0x00260203, 0x00000005, 0x00260200, 0x00000004, 0x00260207, 0x00000003, 0x00260207, 0x00000000, 0x00000043, 0x00000003, BindTakeTurn, 0xFFFFFF81, D_8021FE6C_5068BC, 0x00000043, 0x00000003, BindIdle, 0xFFFFFF81, D_8021F140_505B90, 0x00000043, 0x00000003, BindHandleEvent, 0xFFFFFF81, D_8021F41C_505E6C, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021F140_505B90 -.word 0x00000003, 0x00000001, 0x0000000A, 0x00000043, 0x00000003, RandInt, 0x00000050, 0xFE363C80, 0x00000027, 0x00000002, 0xFE363C80, 0x00000050, 0x00000005, 0x00000001, 0xFE363C80, 0x00000003, 0x00000001, 0x00000000, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C81, 0x00000010, 0x00000002, 0xFE363C81, 0x0035D000, 0x00000008, 0x00000001, 0x00000001, 0x00000004, 0x00000001, 0x00000000, 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_8021F0A8_505AF8, 0x00000043, 0x00000005, SetIdleGoal, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, IdleRunToGoal, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000004, SetIdleAnimations, 0xFFFFFF81, 0x00000001, D_8021F05C_505AAC, 0x00000005, 0x00000001, 0x00000014, 0x00000003, 0x00000001, 0x00000001, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C81, 0x00000010, 0x00000002, 0xFE363C81, 0x0035D000, 0x00000008, 0x00000001, 0x00000001, 0x00000004, 0x00000001, 0x00000001, 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_8021F0A8_505AF8, 0x00000043, 0x00000005, SetIdleGoal, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, IdleRunToGoal, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000004, SetIdleAnimations, 0xFFFFFF81, 0x00000001, D_8021F05C_505AAC, 0x00000005, 0x00000001, 0x00000050, 0x00000003, 0x00000001, 0x00000002, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C81, 0x00000010, 0x00000002, 0xFE363C81, 0x0035D000, 0x00000008, 0x00000001, 0x00000001, 0x00000004, 0x00000001, 0x00000002, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000004, 0x00000001, 0x0000000A, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021F41C_505E6C -.word 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000005, SetActorScale, 0xFFFFFF81, 0xF24A7E80, 0xF24A7E80, 0xF24A7E80, 0x00000043, 0x00000003, GetLastEvent, 0xFFFFFF81, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000009, 0x0000001D, 0x00000001, 0x0000000A, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00260205, 0x00000046, 0x00000001, DoNormalHit, 0x00000020, 0x00000000, 0x00000016, 0x00000001, 0x0000000E, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00260209, 0x00000025, 0x00000002, 0xFE363C82, 0x0026020A, 0x00000046, 0x00000001, DoBurnHit, 0x00000016, 0x00000001, 0x00000024, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00260209, 0x00000025, 0x00000002, 0xFE363C82, 0x0026020A, 0x00000046, 0x00000001, DoBurnHit, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0026020A, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000000B, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00260205, 0x00000046, 0x00000001, DoSpinSmashHit, 0x00000016, 0x00000001, 0x00000021, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00260205, 0x00000046, 0x00000001, DoSpinSmashHit, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00260206, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000002F, 0x00000043, 0x00000005, SetActorRotationOffset, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000003, EnableActorGlow, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000005, SetPartEventBits, 0xFFFFFF81, 0x00000001, 0x00400000, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetIdleAnimations, 0xFFFFFF81, 0x00000001, D_8021F05C_505AAC, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0026020E, 0x00000046, 0x00000001, DoShockHit, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00260205, 0x00000046, 0x00000001, DoJumpBack, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000005, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000004, SetAnimationRate, 0xFFFFFF81, 0x00000001, 0xF24A8280, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00260207, 0x00000043, 0x00000002, SetGoalToHome, 0xFFFFFF81, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A9A80, 0x00000043, 0x00000004, RunToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetAnimationRate, 0xFFFFFF81, 0x00000001, 0xF24A7E80, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00260201, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A80E7, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000005, 0x00000000, 0x00000001, 0x00000000, 0x00000016, 0x00000001, 0x00000026, 0x00000043, 0x00000005, SetActorRotationOffset, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000003, EnableActorGlow, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000005, SetPartEventBits, 0xFFFFFF81, 0x00000001, 0x00400000, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetIdleAnimations, 0xFFFFFF81, 0x00000001, D_8021F05C_505AAC, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0026020E, 0x00000046, 0x00000001, DoShockHit, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00260206, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x00000013, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x00000043, 0x00000005, SetActorRotationOffset, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000003, EnableActorGlow, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000005, SetPartEventBits, 0xFFFFFF81, 0x00000001, 0x00400000, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetIdleAnimations, 0xFFFFFF81, 0x00000001, D_8021F05C_505AAC, 0x00000013, 0x00000000, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00260201, 0x00000046, 0x00000001, DoImmune, 0x0000001D, 0x00000001, 0x00000017, 0x0000001D, 0x00000001, 0x00000019, 0x0000001D, 0x00000001, 0x0000001F, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00260201, 0x00000046, 0x00000001, DoImmune, 0x00000020, 0x00000000, 0x00000016, 0x00000001, 0x00000020, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00260205, 0x00000046, 0x00000001, DoNormalHit, 0x00000008, 0x00000001, 0x0000000A, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00260206, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x00000035, 0x00000043, 0x00000004, SetAnimationRate, 0xFFFFFF81, 0x00000001, 0xF24A8280, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00260203, 0x00000043, 0x00000002, SetGoalToHome, 0xFFFFFF81, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A8A80, 0x00000043, 0x00000004, RunToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetAnimationRate, 0xFFFFFF81, 0x00000001, 0xF24A7E80, 0x00000043, 0x00000002, HPBarToHome, 0xFFFFFF81, 0x00000016, 0x00000001, 0x00000031, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00260201, 0x00000046, 0x00000001, DoRecover, 0x00000016, 0x00000001, 0x00000039, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00260203, 0x00000025, 0x00000002, 0xFE363C82, 0x00260205, 0x00000046, 0x00000001, DoScareAway, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000003A, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00260203, 0x00000046, 0x00000001, DoAirLift, 0x00000016, 0x00000001, 0x00000016, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00260205, 0x00000046, 0x00000001, DoBlowAway, 0x00000002, 0x00000000, 0x0000001C, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00260201, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel dup_b_area_arn_floatTable -.float 0.0, 0.017452, 0.034899, 0.052336, 0.069756, 0.087156, 0.104528, 0.121869, 0.139173, 0.156434, 0.173648, 0.190809, 0.207912, 0.224951, 0.241922, 0.258819, 0.275637, 0.292372, 0.309017, 0.325568, 0.34202, 0.358368, 0.374607, 0.390731, 0.406737, 0.422618, 0.438371, 0.45399, 0.469472, 0.48481, 0.5, 0.515038, 0.529919, 0.544639, 0.559193, 0.573576, 0.587785, 0.601815, 0.615661, 0.62932, 0.642788, 0.656059, 0.669131, 0.681998, 0.694658, 0.707107, 0.71934, 0.731354, 0.743145, 0.75471, 0.766044, 0.777146, 0.788011, 0.798636, 0.809017, 0.819152, 0.829038, 0.838671, 0.848048, 0.857167, 0.866025, 0.87462, 0.882948, 0.891007, 0.898794, 0.906308, 0.913545, 0.920505, 0.927184, 0.93358, 0.939693, 0.945519, 0.951057, 0.956305, 0.961262, 0.965926, 0.970296, 0.97437, 0.978148, 0.981627, 0.984808, 0.987688, 0.990268, 0.992546, 0.994522, 0.996195, 0.997564, 0.99863, 0.999391, 0.999848, 1.0 - -dlabel D_8021FE6C_5068BC -.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, 0x00260203, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, AddGoalPos, 0xFFFFFF81, 0x00000032, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A9280, 0x00000043, 0x00000004, RunToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00260201, 0x00000043, 0x00000005, SetActorDispOffset, 0xFFFFFF81, 0x00000000, 0xFFFFFFFF, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000005, SetActorDispOffset, 0xFFFFFF81, 0x00000000, 0xFFFFFFFE, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000005, SetActorDispOffset, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00260204, 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, GetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x0000000A, 0x00000024, 0x00000002, 0xFE363C81, 0x0000000A, 0x00000027, 0x00000002, 0xFE363C82, 0x00000003, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A7F4D, 0x00000056, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C81, 0xFE363C82, 0xFE363C80, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000005, 0x00000001, 0x00000010, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C84, 0xFE363C85, 0xFE363C86, 0x00000043, 0x00000006, dup_b_area_arn_AngleCalculate, 0xFE363C81, 0xFE363C82, 0xFE363C84, 0xFE363C85, 0xFE363C80, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0xFE363C80, 0x00000024, 0x00000002, 0xFE363C81, 0xFE363C84, 0x00000024, 0x00000002, 0xFE363C82, 0xFE363C85, 0x00000024, 0x00000002, 0xFE363C83, 0xFE363C86, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000057, 0x00000000, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000006, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00260204, 0x00000057, 0x00000000, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000010, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00260208, 0x00000043, 0x00000005, SetActorScale, 0xFFFFFF81, 0xF24A7EE7, 0xF24A7DB4, 0xF24A7E80, 0x00000043, 0x00000005, SetActorDispOffset, 0xFFFFFF81, 0x00000000, 0x00000005, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000005, SetActorScale, 0xFFFFFF81, 0xF24A7FB4, 0xF24A7C80, 0xF24A7E80, 0x00000043, 0x00000005, SetActorDispOffset, 0xFFFFFF81, 0x00000000, 0xFFFFFFFE, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000005, SetActorScale, 0xFFFFFF81, 0xF24A7E80, 0xF24A7E80, 0xF24A7E80, 0x00000043, 0x00000005, SetActorDispOffset, 0xFFFFFF81, 0x00000000, 0x00000007, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00260205, 0x00000008, 0x00000001, 0x00000005, 0x0000000A, 0x00000002, 0xFE363C8A, 0x00000005, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C80, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000005, SetActorDispOffset, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00260204, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C80, 0x00000014, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A8280, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000004, 0x00000024, 0x00000002, 0xFE363C80, 0x000000B4, 0x00000005, 0x00000001, 0x00000004, 0x00000028, 0x00000002, 0xFE363C80, 0x0000002D, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0xFE363C80, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00260204, 0x00000057, 0x00000000, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x0000000F, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00260207, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000001, YieldTurn, 0x00000043, 0x00000003, SetActorYaw, 0xFFFFFF81, 0x000000B4, 0x00000043, 0x00000005, AddActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000002, 0x00000043, 0x00000004, SetAnimationRate, 0xFFFFFF81, 0x00000001, 0xF24A8280, 0x00000043, 0x00000002, SetGoalToHome, 0xFFFFFF81, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A9A80, 0x00000043, 0x00000004, RunToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetAnimationRate, 0xFFFFFF81, 0x00000001, 0xF24A7E80, 0x00000043, 0x00000003, SetActorYaw, 0xFFFFFF81, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00260201, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A80E7, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000005, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000004, RemoveActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000020, 0x00000000, 0x0000001C, 0x00000000, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A7F4D, 0x00000056, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C81, 0xFE363C82, 0xFE363C80, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000005, 0x00000001, 0x00000010, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C84, 0xFE363C85, 0xFE363C86, 0x00000043, 0x00000006, dup_b_area_arn_AngleCalculate, 0xFE363C81, 0xFE363C82, 0xFE363C84, 0xFE363C85, 0xFE363C80, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0xFE363C80, 0x00000024, 0x00000002, 0xFE363C81, 0xFE363C84, 0x00000024, 0x00000002, 0xFE363C82, 0xFE363C85, 0x00000024, 0x00000002, 0xFE363C83, 0xFE363C86, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000057, 0x00000000, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000006, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00260204, 0x00000057, 0x00000000, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000010, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x0026020B, 0x00000043, 0x00000005, SetActorScale, 0xFFFFFF81, 0xF24A7EE7, 0xF24A7DB4, 0xF24A7E80, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000005, SetActorScale, 0xFFFFFF81, 0xF24A7FB4, 0xF24A7C80, 0xF24A7E80, 0x00000008, 0x00000001, 0x00000001, 0x00000023, 0x00000000, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C80, 0x00000000, 0x00000000, 0x00000000, 0x00000001, 0x00000020, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000000, 0x0000001D, 0x00000001, 0x00000002, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000005, SetActorScale, 0xFFFFFF81, 0xF24A7EE7, 0xF24A7DB4, 0xF24A7E80, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000005, SetActorScale, 0xFFFFFF81, 0xF24A7E80, 0xF24A7E80, 0xF24A7E80, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000005, SetActorDispOffset, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00260201, 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, 0x00260201, 0x00000008, 0x00000001, 0x00000003, 0x00000043, 0x00000001, YieldTurn, 0x00000043, 0x00000004, SetAnimationRate, 0xFFFFFF81, 0x00000001, 0xF24A8280, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00260203, 0x00000043, 0x00000002, SetGoalToHome, 0xFFFFFF81, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A9A80, 0x00000043, 0x00000004, RunToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetAnimationRate, 0xFFFFFF81, 0x00000001, 0xF24A7E80, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_80220B40_507590 -.word 0x00000001, 0x00000003, 0x00000002, 0x00000063, 0x00000000 - -dlabel D_80220B54_5075A4 -.word 0x00000001, 0x00000001, 0x00000002, 0x00000063, 0x00000000 - -dlabel D_80220B68_5075B8 -.word 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000006, 0x00000028, 0x00000009, 0x00000032, 0x00000007, 0x00000000, 0x00000004, 0x00000032, 0x00000003, 0x00000000, 0x0000000B, 0x00000032, 0x00000005, 0x00000032, 0x0000000A, 0x0000005A, 0x00000008, 0x0000005A, 0x0000001F, 0x00000000, 0x00000020, 0xFFFFFFFF, 0x00000025, 0x00000000, 0x00000022, 0x00000000, 0x00000024, 0xFFFFFFFF, 0x00000023, 0x00000000, 0x00000021, 0x00000000, 0x00000026, 0x00000000, 0x00000027, 0x00000000, 0x00000029, 0x00000000, 0x00000000 - -dlabel D_80220C14_507664 -.word 0x00800000, 0x01000000, 0x001600FF, D_80221CD4_508724, D_80220B40_507590, 0x00000010, 0x00000000, 0x00F60000, 0x00000000 - -dlabel D_80220C38_507688 -.word 0x00000000, 0x001D0F04, 0x00010000, D_80220C14_507664, D_80220CAC_5076FC, D_80220B68_5075B8, 0x461E1E1E, 0x5F005F02, 0x2C240000, 0xF6140A14 - -dlabel D_80220C60_5076B0 -.word 0x00000001, 0x00300104, 0x0000000C, 0x00300100, 0x00000006, 0x0030010C, 0x00000009, 0x00300104, 0x00000008, 0x00300100, 0x0000000B, 0x00300104, 0x00000005, 0x00300100, 0x00000004, 0x0030010E, 0x00000003, 0x0030010E, 0x00000000 - -dlabel D_80220CAC_5076FC -.word 0x00000043, 0x00000003, BindIdle, 0xFFFFFF81, D_80221DD0_508820, 0x00000043, 0x00000003, BindHandleEvent, 0xFFFFFF81, D_80222140_508B90, 0x00000043, 0x00000003, BindTakeTurn, 0xFFFFFF81, D_80221A58_5084A8, 0x00000043, 0x00000003, BindNextTurn, 0xFFFFFF81, D_80220D3C_50778C, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000002, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80220D3C_50778C -.word 0x00000043, 0x00000002, GetBattlePhase, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x0000000A, 0x00000016, 0x00000001, 0x0000000C, 0x00000016, 0x00000001, 0x0000000B, 0x00000043, 0x00000003, SetBattleVar, 0x00000001, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000002, 0x00000001, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80220DC0_507810 -.word 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x0000000E, 0x00000043, 0x00000002, BattleCamTargetActor, 0xFFFFFF81, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000014, 0x00000008, 0x00000001, 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, 0x00300104, 0x00000008, 0x00000001, 0x0000001E, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000014, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A7E80, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x0000000F, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000003, dup2_b_area_arn_StartRumbleWithParams, 0x000000C8, 0x0000000A, 0x00000056, 0x00000000, 0x00000043, 0x00000005, ShakeCam, 0x00000001, 0x00000000, 0x00000005, 0xF24A8080, 0x00000057, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000002D9, 0x00000043, 0x0000000F, PlayEffect, 0x00000006, 0x00000004, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000056, 0x00000000, 0x00000043, 0x00000005, ShakeCam, 0x00000001, 0x00000000, 0x00000005, 0xF24A7E80, 0x00000057, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000000, 0x00000002, 0x00000043, 0x00000004, SetIdleAnimations, 0xFFFFFF81, 0x00000001, D_80220C60_5076B0, 0x00000043, 0x00000003, EnableActorGlow, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000005, SetPartEventBits, 0xFFFFFF81, 0x00000001, 0x00400000, 0x00000001, 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, 0x00000043, 0x00000002, MoveBattleCamOver, 0x0000001E, 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, 0x000002DA, 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, 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, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00300111, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, AddGoalPos, 0xFFFFFF81, 0xFFFFFF38, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24AAA80, 0x00000043, 0x00000004, RunToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000003, EnableActorGlow, 0xFFFFFF81, 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, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00300107, 0x00000043, 0x00000002, SetGoalToHome, 0xFFFFFF81, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A9A80, 0x00000043, 0x00000004, RunToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00300102, 0x00000043, 0x00000004, RemoveActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetIdleAnimations, 0xFFFFFF81, 0x00000001, D_80221CD4_508724, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x00000056, 0x00000000, 0x00000005, 0x00000001, 0x00000019, 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, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00300111, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24AAA80, 0x00000043, 0x00000004, RunToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000002, ResetAllActorSounds, 0xFFFFFF81, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C80, 0x00000000, 0x00000000, 0x00000000, 0x00000008, 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, 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, EnableActorGlow, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000005, SetPartEventBits, 0xFFFFFF81, 0x00000001, 0x00400000, 0x00000000, 0x00000043, 0x00000003, SetActorYaw, 0xFFFFFF81, 0x000000B4, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00300107, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A9A80, 0x00000043, 0x00000002, SetGoalToHome, 0xFFFFFF81, 0x00000043, 0x00000004, RunToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00300102, 0x00000043, 0x00000003, SetActorYaw, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetIdleAnimations, 0xFFFFFF81, 0x00000001, D_80221CD4_508724, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80221A58_5084A8 -.word 0x00000043, 0x00000002, GetBattlePhase, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x00000043, 0x00000003, SetBattleVar, 0x00000001, 0x00000001, 0x00000046, 0x00000001, D_80223310_509D60, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x00000046, 0x00000001, D_80222F1C_50996C, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000002, 0x00000046, 0x00000001, D_80220DC0_507810, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, GetBattleVar, 0x00000001, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000002, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000000, 0x00000043, 0x00000003, RandInt, 0x000003E8, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x000002EE, 0x00000043, 0x00000003, SetBattleVar, 0x00000001, 0x00000002, 0x00000046, 0x00000001, D_80220DC0_507810, 0x00000012, 0x00000000, 0x00000043, 0x00000003, SetBattleVar, 0x00000001, 0x00000001, 0x00000046, 0x00000001, D_80223310_509D60, 0x00000013, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000003, RandInt, 0x000003E8, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x000001F4, 0x00000043, 0x00000003, SetBattleVar, 0x00000001, 0x00000002, 0x00000046, 0x00000001, D_80220DC0_507810, 0x00000012, 0x00000000, 0x00000043, 0x00000003, SetBattleVar, 0x00000001, 0x00000001, 0x00000046, 0x00000001, D_80223310_509D60, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000016, 0x00000001, 0x00000001, 0x00000046, 0x00000001, D_80223310_509D60, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x00000002, 0x00000046, 0x00000001, D_80220DC0_507810, 0x00000002, 0x00000000, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80221CD4_508724 -.word 0x00000001, 0x00300102, 0x0000000C, 0x00300100, 0x00000006, 0x0030010C, 0x00000009, 0x00300102, 0x00000008, 0x00300100, 0x0000000B, 0x00300102, 0x00000005, 0x00300100, 0x00000004, 0x0030010E, 0x00000003, 0x0030010E, 0x00000000 - -dlabel D_80221D20_508770 -.word 0x00000001, 0x00300105, 0x0000000C, 0x00300101, 0x00000006, 0x0030010D, 0x00000009, 0x00300105, 0x00000008, 0x00300101, 0x0000000B, 0x00300105, 0x00000005, 0x00300101, 0x00000004, 0x0030010F, 0x00000003, 0x0030010F, 0x00000000, 0x00000043, 0x00000003, BindIdle, 0xFFFFFF81, D_80221DD0_508820, 0x00000043, 0x00000003, BindTakeTurn, 0xFFFFFF81, D_80223B5C_50A5AC, 0x00000043, 0x00000003, BindHandleEvent, 0xFFFFFF81, D_80222140_508B90, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80221DD0_508820 -.word 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80221DE0_508830 -.word 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000000, 0x00000001, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00300107, 0x00000043, 0x00000005, SetActorRotationOffset, 0xFFFFFF81, 0x00000000, 0x00000010, 0x00000000, 0x00000056, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000005, 0x00000001, 0x00000005, 0x00000027, 0x00000002, 0xFE363C80, 0xFFFFFFDC, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0xFE363C80, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000057, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A7FB4, 0x00000028, 0x00000002, 0xFE363C81, 0x00000006, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000014, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000003, dup2_b_area_arn_StartRumbleWithParams, 0x000000C8, 0x0000000A, 0x00000056, 0x00000000, 0x00000043, 0x00000005, ShakeCam, 0x00000001, 0x00000000, 0x00000005, 0xF24A7E80, 0x00000057, 0x00000000, 0x00000043, 0x0000000F, PlayEffect, 0x0000001D, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000008, 0xF24A7A80, 0x00000014, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000005, SetActorPos, 0xFFFFFF81, 0xFE363C80, 0x00000000, 0xFE363C82, 0x00000043, 0x00000005, SetActorRotationOffset, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00300103, 0x00000043, 0x00000004, SetIdleAnimations, 0xFFFFFF81, 0x00000001, D_80221D20_508770, 0x00000043, 0x00000004, SetDefenseTable, 0xFFFFFF81, 0x00000001, D_80220B54_5075A4, 0x00000043, 0x00000005, SetTargetOffset, 0xFFFFFF81, 0x00000001, 0x00000000, 0x0000000F, 0x00000043, 0x00000005, func_8027D4C8, 0xFFFFFF81, 0x00000001, 0x00000000, 0xFFFFFFF9, 0x00000043, 0x00000005, SetPartEventBits, 0xFFFFFF81, 0x00000001, 0x00000010, 0x00000000, 0x00000043, 0x00000002, b_area_arn_SetSpinSmashable, 0x00000000, 0x00000043, 0x00000004, SetActorFlagBits, 0xFFFFFF81, 0x00000400, 0x00000001, 0x00000043, 0x00000005, SetActorRotationOffset, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000003, EnableActorGlow, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000005, SetPartEventBits, 0xFFFFFF81, 0x00000001, 0x00400000, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80222140_508B90 -.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, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001F, 0x00000001, 0x00000200, 0x00000046, 0x00000001, D_80221DE0_508830, 0x0000001C, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00300109, 0x00000012, 0x00000000, 0x00000025, 0x00000002, 0xFE363C81, 0x00300108, 0x00000013, 0x00000000, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000046, 0x00000001, DoNormalHit, 0x00000023, 0x00000000, 0x00000020, 0x00000000, 0x00000016, 0x00000001, 0x0000000E, 0x00000043, 0x00000002, GetLastElement, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001F, 0x00000001, 0x00000200, 0x00000046, 0x00000001, D_80221DE0_508830, 0x0000001C, 0x00000000, 0x00000043, 0x00000005, SetPartEventBits, 0xFFFFFF81, 0x00000001, 0x00000200, 0x00000001, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00300109, 0x00000025, 0x00000002, 0xFE363C82, 0xFFFFFFFF, 0x00000046, 0x00000001, DoBurnHit, 0x00000012, 0x00000000, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00300108, 0x00000025, 0x00000002, 0xFE363C82, 0xFFFFFFFF, 0x00000046, 0x00000001, DoBurnHit, 0x00000013, 0x00000000, 0x00000043, 0x00000005, SetPartEventBits, 0xFFFFFF81, 0x00000001, 0x00000200, 0x00000000, 0x00000023, 0x00000000, 0x00000016, 0x00000001, 0x00000024, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00300109, 0x00000025, 0x00000002, 0xFE363C82, 0xFFFFFFFF, 0x00000046, 0x00000001, DoBurnHit, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00300109, 0x00000046, 0x00000001, DoDeath, 0x00000012, 0x00000000, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00300108, 0x00000025, 0x00000002, 0xFE363C82, 0xFFFFFFFF, 0x00000046, 0x00000001, DoBurnHit, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00300108, 0x00000046, 0x00000001, DoDeath, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000000B, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00300109, 0x00000012, 0x00000000, 0x00000025, 0x00000002, 0xFE363C81, 0x00300108, 0x00000013, 0x00000000, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000046, 0x00000001, DoSpinSmashHit, 0x00000016, 0x00000001, 0x00000021, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00300109, 0x00000046, 0x00000001, DoSpinSmashHit, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00300109, 0x00000046, 0x00000001, DoDeath, 0x00000012, 0x00000000, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00300108, 0x00000046, 0x00000001, DoSpinSmashHit, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00300108, 0x00000046, 0x00000001, DoDeath, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000002F, 0x00000043, 0x00000005, SetActorRotationOffset, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000003, EnableActorGlow, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000005, SetPartEventBits, 0xFFFFFF81, 0x00000001, 0x00400000, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetIdleAnimations, 0xFFFFFF81, 0x00000001, D_80221CD4_508724, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00300108, 0x00000046, 0x00000001, DoShockHit, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00300108, 0x00000046, 0x00000001, DoJumpBack, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000005, 0x00000000, 0x00000001, 0x00000000, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00300107, 0x00000046, 0x00000001, DoReturnHome, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A80E7, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000005, 0x00000000, 0x00000001, 0x00000000, 0x00000016, 0x00000001, 0x00000026, 0x00000043, 0x00000005, SetActorRotationOffset, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000003, EnableActorGlow, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000005, SetPartEventBits, 0xFFFFFF81, 0x00000001, 0x00400000, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetIdleAnimations, 0xFFFFFF81, 0x00000001, D_80221CD4_508724, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00300108, 0x00000046, 0x00000001, DoShockHit, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00300108, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x00000013, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000002, 0x00000043, 0x00000005, SetActorRotationOffset, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000003, EnableActorGlow, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000005, SetPartEventBits, 0xFFFFFF81, 0x00000001, 0x00400000, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetIdleAnimations, 0xFFFFFF81, 0x00000001, D_80221CD4_508724, 0x00000013, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00300103, 0x00000012, 0x00000000, 0x00000025, 0x00000002, 0xFE363C81, 0x00300102, 0x00000013, 0x00000000, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000046, 0x00000001, DoImmune, 0x00000016, 0x00000001, 0x0000001B, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x0035D000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00300118, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C83, 0x00000010, 0x00000002, 0xFE363C83, 0x00080000, 0x00000027, 0x00000002, 0xFE363C80, 0xFFFFFFFD, 0x00000027, 0x00000002, 0xFE363C81, 0x0000000A, 0x00000012, 0x00000000, 0x00000027, 0x00000002, 0xFE363C80, 0xFFFFFFF8, 0x00000027, 0x00000002, 0xFE363C81, 0x0000001B, 0x00000013, 0x00000000, 0x00000043, 0x0000000F, PlayEffect, 0x0000001A, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000014, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x00000014, 0x0000001D, 0x00000001, 0x00000017, 0x0000001D, 0x00000001, 0x00000019, 0x0000001D, 0x00000001, 0x0000001F, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00300103, 0x00000012, 0x00000000, 0x00000025, 0x00000002, 0xFE363C81, 0x00300102, 0x00000013, 0x00000000, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000046, 0x00000001, DoImmune, 0x00000020, 0x00000000, 0x00000016, 0x00000001, 0x00000020, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00300109, 0x00000046, 0x00000001, DoNormalHit, 0x00000008, 0x00000001, 0x0000000A, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00300109, 0x00000046, 0x00000001, DoDeath, 0x00000012, 0x00000000, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00300108, 0x00000046, 0x00000001, DoNormalHit, 0x00000008, 0x00000001, 0x0000000A, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00300108, 0x00000046, 0x00000001, DoDeath, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x00000031, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000000, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00300102, 0x00000046, 0x00000001, DoRecover, 0x00000013, 0x00000000, 0x00000016, 0x00000001, 0x00000039, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00300103, 0x00000046, 0x00000001, DoImmune, 0x00000012, 0x00000000, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00300107, 0x00000025, 0x00000002, 0xFE363C82, 0x00300108, 0x00000046, 0x00000001, DoScareAway, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000016, 0x00000001, 0x0000003A, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0030010F, 0x00000046, 0x00000001, DoAirLift, 0x00000016, 0x00000001, 0x00000016, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0030010F, 0x00000012, 0x00000000, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00300108, 0x00000013, 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_80222F1C_50996C -.word 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000005, AddActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000002, 0x00000043, 0x00000004, SetAnimationRate, 0xFFFFFF81, 0x00000001, 0xF24A8680, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00300103, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000004, SetAnimationRate, 0xFFFFFF81, 0x00000001, 0xF24A7E80, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00300105, 0x00000043, 0x00000004, RemoveActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000001, 0xFE363C80, 0x0000000D, 0x00000002, 0xFE363C80, 0x00000000, 0x00000028, 0x00000002, 0xFE363C80, 0x00000001, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000001, 0xFE363C80, 0x00000012, 0x00000000, 0x00000043, 0x00000005, SetActorRotationOffset, 0xFFFFFF81, 0x00000000, 0x00000010, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00300103, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000003, 0x00000005, 0x00000001, 0x00000005, 0x00000027, 0x00000002, 0xFE363C80, 0x00000024, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0xFE363C80, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000057, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C81, 0x00000006, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A7FB4, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x0000000A, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000003, dup2_b_area_arn_StartRumbleWithParams, 0x000000C8, 0x0000000A, 0x00000056, 0x00000000, 0x00000043, 0x00000005, ShakeCam, 0x00000001, 0x00000000, 0x00000005, 0xF24A7E80, 0x00000057, 0x00000000, 0x00000043, 0x00000005, SetActorRotationOffset, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000005, SetActorPos, 0xFFFFFF81, 0xFE363C80, 0x00000000, 0xFE363C82, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00300102, 0x00000043, 0x00000004, SetIdleAnimations, 0xFFFFFF81, 0x00000001, D_80221CD4_508724, 0x00000043, 0x00000004, SetDefenseTable, 0xFFFFFF81, 0x00000001, D_80220B40_507590, 0x00000043, 0x00000005, SetTargetOffset, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000016, 0x00000043, 0x00000005, func_8027D4C8, 0xFFFFFF81, 0x00000001, 0x00000000, 0xFFFFFFF6, 0x00000043, 0x00000005, SetPartEventBits, 0xFFFFFF81, 0x00000001, 0x00000010, 0x00000001, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000002, b_area_arn_SetSpinSmashable, 0x00000001, 0x00000043, 0x00000004, SetActorFlagBits, 0xFFFFFF81, 0x00000400, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80223310_509D60 -.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, 0x00000002, MoveBattleCamOver, 0x0000001E, 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, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00300110, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00300111, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, AddGoalPos, 0xFFFFFF81, 0x00000032, 0x00000000, 0xFFFFFFFB, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A8A80, 0x00000043, 0x00000004, RunToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00300100, 0x00000008, 0x00000001, 0x00000008, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000020D1, 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, 0x0000000A, 0x00000002, 0xFE363C8A, 0x00000005, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C80, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000057, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00300111, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x00000064, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A9A80, 0x00000043, 0x00000004, RunToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000006, SetPartRotation, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000000, 0x0000002D, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00300108, 0x00000008, 0x00000001, 0x0000000F, 0x00000008, 0x00000001, 0x00000008, 0x00000043, 0x00000002, ResetAllActorSounds, 0xFFFFFF81, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000001, YieldTurn, 0x00000043, 0x00000006, SetPartRotation, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetActorYaw, 0xFFFFFF81, 0x000000B4, 0x00000043, 0x00000005, AddActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000002, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00300107, 0x00000043, 0x00000002, SetGoalToHome, 0xFFFFFF81, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A9A80, 0x00000043, 0x00000004, RunToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00300102, 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, 0x00300111, 0x00000043, 0x00000005, GetActorPos, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C80, 0x00000014, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A9A80, 0x00000043, 0x00000004, RunToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000002, ResetAllActorSounds, 0xFFFFFF81, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C80, 0x00000000, 0x00000000, 0x00000000, 0x00000003, 0x00000020, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00300102, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000000, 0x0000001D, 0x00000001, 0x00000002, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C80, 0x0000000F, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A841A, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000006, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00300102, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000001, YieldTurn, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00300107, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A9A80, 0x00000043, 0x00000002, SetGoalToHome, 0xFFFFFF81, 0x00000043, 0x00000004, RunToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00300102, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80223B5C_50A5AC -.word 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x00000046, 0x00000001, D_80222F1C_50996C, 0x00000012, 0x00000000, 0x00000046, 0x00000001, D_80223310_509D60, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000 - -dlabel D_80223BC0_50A610 -.word 0x00000001, 0x006C0001, 0x0000000C, 0x006C0000, 0x00000006, 0x006C0004, 0x00000009, 0x006C0001, 0x00000008, 0x006C0000, 0x0000000B, 0x006C0000, 0x00000005, 0x006C0000, 0x00000005, 0x006C0000, 0x00000004, 0x006C000D, 0x00000004, 0x006C000D, 0x00000003, 0x006C000A, 0x00000000 - -dlabel D_80223C1C_50A66C -.word 0x00000001, 0x006C000B, 0x0000000C, 0x006C0000, 0x00000006, 0x006C0004, 0x00000009, 0x006C000B, 0x00000008, 0x006C0000, 0x0000000B, 0x006C0000, 0x00000005, 0x006C0000, 0x00000005, 0x006C0000, 0x00000004, 0x006C000D, 0x00000004, 0x006C000D, 0x00000003, 0x006C000A, 0x00000000 - -dlabel D_80223C78_50A6C8 -.word 0x00000001, 0x00000000, 0x00000000 - -dlabel D_80223C84_50A6D4 -.word 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000006, 0x00000000, 0x00000009, 0x00000000, 0x00000007, 0x00000000, 0x00000004, 0x00000000, 0x00000003, 0x00000000, 0x0000000B, 0x00000000, 0x00000005, 0x00000000, 0x0000000A, 0x0000005A, 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_80223D30_50A780 -.word 0x00020000, 0x01000000, 0x001800FF, D_80223BC0_50A610, D_80223C78_50A6C8, 0x00000000, 0x00000000, 0x00F60000, 0x00000000, 0x80800001, 0x02003600, 0x00E200FF, D_80223BC0_50A610, D_80223C78_50A6C8, 0x00000000, 0x00000000, 0x00F60000, 0x00000000 - -dlabel D_80223D78_50A7C8 -.word 0x00000000, 0x00A50032, 0x00020000, D_80223D30_50A780, D_80223DA0_50A7F0, D_80223C84_50A6D4, 0x00000000, 0x00044B00, 0x1E1E0500, 0xF6140A14 - -dlabel D_80223DA0_50A7F0 -.word 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, 0x00000003, BindTakeTurn, 0xFFFFFF81, D_802245C8_50B018, 0x00000043, 0x00000003, BindIdle, 0xFFFFFF81, D_80223E98_50A8E8, 0x00000043, 0x00000003, BindHandleEvent, 0xFFFFFF81, D_80224038_50AA88, 0x00000043, 0x00000005, SetPartTargetFlagBits, 0xFFFFFF81, 0x00000002, 0x00000002, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80223E98_50A8E8 -.word 0x00000003, 0x00000001, 0x00000000, 0x00000043, 0x00000003, ActorExists, 0xFFFFFF81, 0xFE363C80, 0x0000000B, 0x00000002, 0xFE363C80, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000004, 0xFE363C80, 0x0000000B, 0x00000002, 0xFE363C80, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C84, 0x00000011, 0x00000002, 0xFE363C84, 0x00080000, 0x00000027, 0x00000002, 0xFE363C82, 0x0000000F, 0x00000026, 0x00000002, 0xFE363C84, 0xF24A7E80, 0x00000012, 0x00000000, 0x00000027, 0x00000002, 0xFE363C82, 0x00000006, 0x00000026, 0x00000002, 0xFE363C84, 0xF24A7C1A, 0x00000013, 0x00000000, 0x00000043, 0x00000006, func_80218680_4FF0D0, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0xFE363C84, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000004, 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80223FD8_50AA28 -.word 0x00000024, 0x00000002, 0xFE363C81, 0x006C000E, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000001, 0xFE363C80, 0x0000000B, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x006C000B, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80224038_50AA88 -.word 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000005, SetActorScale, 0xFFFFFF81, 0xF24A7E80, 0xF24A7E80, 0xF24A7E80, 0x00000043, 0x00000003, GetLastEvent, 0xFFFFFF81, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000009, 0x0000001D, 0x00000001, 0x0000000A, 0x00000046, 0x00000001, D_80223FD8_50AA28, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000046, 0x00000001, DoNormalHit, 0x00000020, 0x00000000, 0x00000016, 0x00000001, 0x00000038, 0x0000001D, 0x00000001, 0x0000000E, 0x0000001D, 0x00000001, 0x00000024, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x006C0010, 0x00000025, 0x00000002, 0xFE363C82, 0x006C0011, 0x00000046, 0x00000001, DoBurnHit, 0x00000020, 0x00000000, 0x00000016, 0x00000001, 0x0000000B, 0x00000046, 0x00000001, D_80223FD8_50AA28, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000046, 0x00000001, DoSpinSmashHit, 0x0000001D, 0x00000001, 0x0000002F, 0x0000001D, 0x00000001, 0x00000026, 0x00000046, 0x00000001, D_80223FD8_50AA28, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000046, 0x00000001, DoShockHit, 0x00000046, 0x00000001, D_80223FD8_50AA28, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000046, 0x00000001, DoJumpBack, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x006C0003, 0x00000046, 0x00000001, D_802244DC_50AF2C, 0x00000020, 0x00000000, 0x0000001D, 0x00000001, 0x00000017, 0x0000001D, 0x00000001, 0x00000019, 0x0000001D, 0x00000001, 0x0000001F, 0x00000024, 0x00000002, 0xFE363C81, 0x006C0001, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000001, 0xFE363C80, 0x0000000B, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x006C000B, 0x00000013, 0x00000000, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000046, 0x00000001, DoImmune, 0x00000020, 0x00000000, 0x0000001D, 0x00000001, 0x00000020, 0x00000046, 0x00000001, D_80223FD8_50AA28, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000046, 0x00000001, DoNormalHit, 0x00000020, 0x00000000, 0x00000016, 0x00000001, 0x00000021, 0x00000046, 0x00000001, D_80223FD8_50AA28, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000046, 0x00000001, DoSpinSmashHit, 0x00000016, 0x00000001, 0x0000002A, 0x00000016, 0x00000001, 0x0000002C, 0x00000016, 0x00000001, 0x00000035, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x006C0003, 0x00000046, 0x00000001, D_802244DC_50AF2C, 0x00000043, 0x00000002, HPBarToHome, 0xFFFFFF81, 0x00000016, 0x00000001, 0x00000031, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x006C0001, 0x00000046, 0x00000001, DoRecover, 0x0000001C, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000003, GetActorHP, 0xFFFFFF81, 0xFE363C80, 0x0000000E, 0x00000002, 0xFE363C80, 0x00000005, 0x00000046, 0x00000001, D_80224414_50AE64, 0x00000002, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80224414_50AE64 -.word 0x00000043, 0x00000002, UseBattleCamPreset, 0x0000000E, 0x00000043, 0x00000002, BattleCamTargetActor, 0xFFFFFF81, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000028, 0x00000008, 0x00000001, 0x00000028, 0x00000043, 0x00000006, ActorSpeak, 0x000E00C6, 0xFFFFFF81, 0x00000001, 0x006C000D, 0x006C000D, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000019, 0x00000043, 0x00000004, SetActorFlagBits, 0xFFFFFF81, 0x00400000, 0x00000001, 0x00000043, 0x00000003, SetBattleFlagBits, 0x00060000, 0x00000001, 0x00000043, 0x00000002, func_8026F60C, 0x00000014, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802244DC_50AF2C -.word 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A9280, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A81B4, 0x00000043, 0x00000002, SetGoalToHome, 0xFFFFFF81, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x0000002D, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000046, 0x00000001, D_8029C12C, 0x00000043, 0x00000002, SetGoalToHome, 0xFFFFFF81, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x0000000C, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x006C0001, 0x00000043, 0x00000003, SetActorYaw, 0xFFFFFF81, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802245C8_50B018 -.word 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C80, 0x00000000, 0x00000000, 0x00000001, 0x00000010, 0x0000000B, 0x00000002, 0xFE363C80, 0x00000006, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000002, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00000001, 0x00000043, 0x00000002, GetCurrentPartnerID, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000009, 0x00000043, 0x00000002, func_802535B4, 0x00000000, 0x00000042, 0x00000002, 0xFE363C80, 0x00000003, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000002, 0xFE363C80, 0x00000043, 0x00000002, UseBattleCamPreset, 0x0000000E, 0x00000043, 0x00000002, BattleCamTargetActor, 0xFFFFFF81, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000028, 0x00000008, 0x00000001, 0x00000028, 0x00000043, 0x00000006, ActorSpeak, 0x000E00C3, 0xFFFFFF81, 0x00000001, 0x006C000B, 0x006C0001, 0x00000043, 0x00000002, UseBattleCamPreset, 0x0000000E, 0x00000043, 0x00000002, BattleCamTargetActor, 0x00000100, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000019, 0x00000008, 0x00000001, 0x00000019, 0x00000043, 0x00000003, UseIdleAnimation, 0x00000100, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0x00000100, 0x00000001, 0x000D0004, 0x00000043, 0x00000006, ActorSpeak, 0x000E00C4, 0x00000100, 0x00000001, 0x000D0004, 0x000D0001, 0x00000043, 0x00000004, SetAnimation, 0x00000100, 0x00000001, 0x000D000F, 0x00000043, 0x00000005, EndActorSpeech, 0x00000100, 0x00000001, 0xFFFFFFFF, 0xFFFFFFFF, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000003, UseIdleAnimation, 0x00000100, 0x00000001, 0x00000043, 0x00000002, MoveBattleCamOver, 0x0000001E, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000003, 0xFE363C80, 0x0000000B, 0x00000002, 0xFE363C80, 0x00000000, 0x00000043, 0x00000002, func_802535B4, 0x00000001, 0x00000013, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000002, func_802535B4, 0x00000001, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000003, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000003, 0x00000001, 0x00000043, 0x00000002, UseBattleCamPreset, 0x0000000E, 0x00000043, 0x00000002, BattleCamTargetActor, 0xFFFFFF81, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000028, 0x00000008, 0x00000001, 0x00000028, 0x00000043, 0x00000006, ActorSpeak, 0x000E00C5, 0xFFFFFF81, 0x00000001, 0x006C000B, 0x006C0001, 0x00000013, 0x00000000, 0x00000046, 0x00000001, D_80225258_50BCA8, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000000, 0x00000001, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000002, 0xFE363C80, 0x00000010, 0x00000002, 0xFE363C80, 0x00000002, 0x00000043, 0x00000002, func_802535B4, 0x00000001, 0x00000013, 0x00000000, 0x00000016, 0x00000001, 0x00000001, 0x00000046, 0x00000001, D_802255D8_50C028, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000001, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000005, 0xFE363C81, 0x00000027, 0x00000002, 0xFE363C81, 0x00000001, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000005, 0xFE363C81, 0x0000000F, 0x00000002, 0xFE363C81, 0x00000002, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000000, 0x00000002, 0x00000012, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000016, 0x00000001, 0x00000002, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000046, 0x00000001, D_80224B3C_50B58C, 0x00000023, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000002, 0xFE363C80, 0x00000040, 0x00000002, 0xFE363C80, 0xFFFFFFFD, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000002, 0xFE363C80, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80224B3C_50B58C -.word 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, 0x006C0003, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A81B4, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x0000002D, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x0000000C, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C80, 0x00000028, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A9280, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A81B4, 0x00000046, 0x00000001, D_8029C12C, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x006C0001, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x006C0016, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x006C0015, 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, GetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x0000001E, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A8080, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000008, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x00000014, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A8280, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000006, 0x00000000, 0x00000001, 0x00000000, 0x00000028, 0x00000002, 0xFE363C80, 0x0000000A, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000004, 0x00000000, 0x00000001, 0x00000000, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x0000000A, 0x00000002, 0xFE363C8A, 0x00000005, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C80, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x006C0003, 0x00000046, 0x00000001, D_802244DC_50AF2C, 0x00000002, 0x00000000, 0x00000020, 0x00000000, 0x0000001C, 0x00000000, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A7BB4, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000004, 0x00000000, 0x00000001, 0x00000000, 0x00000023, 0x00000000, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C80, 0x00000000, 0x00000000, 0x00000000, 0x00000006, 0x00000020, 0x00000024, 0x00000002, 0xFE363C8F, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C8F, 0x0000001D, 0x00000001, 0x00000000, 0x0000001D, 0x00000001, 0x00000002, 0x0000001D, 0x00000001, 0x0000000A, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x006C0001, 0x00000043, 0x00000005, SetActorScale, 0xFFFFFF81, 0xF24A7EE7, 0xF24A7DB4, 0xF24A7E80, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000005, SetActorScale, 0xFFFFFF81, 0xF24A7E80, 0xF24A7E80, 0xF24A7E80, 0x00000008, 0x00000001, 0x00000001, 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, 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, 0x00000008, 0x00000001, 0x00000008, 0x0000000A, 0x00000002, 0xFE363C8F, 0x0000000A, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000001, YieldTurn, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x006C0003, 0x00000046, 0x00000001, D_802244DC_50AF2C, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80225258_50BCA8 -.word 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000013, 0x00000043, 0x00000004, SetBattleCamTarget, 0x00000055, 0x00000032, 0x00000000, 0x00000043, 0x00000002, SetBattleCamZoom, 0x00000118, 0x00000043, 0x00000002, SetBattleCamOffsetZ, 0x00000000, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000028, 0x00000008, 0x00000001, 0x00000028, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x006C000B, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C84, 0x00000011, 0x00000002, 0xFE363C84, 0x00080000, 0x00000027, 0x00000002, 0xFE363C81, 0x0000000F, 0x00000026, 0x00000002, 0xFE363C83, 0xF24A7E80, 0x00000012, 0x00000000, 0x00000027, 0x00000002, 0xFE363C81, 0x00000006, 0x00000026, 0x00000002, 0xFE363C83, 0xF24A7C1A, 0x00000013, 0x00000000, 0x00000043, 0x0000000F, PlayEffect, 0x00000047, 0x00000001, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x0000003C, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x0000000F, PlayEffect, 0x0000006B, 0x00000006, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x0000003C, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000020F7, 0x00000008, 0x00000001, 0x0000003C, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000014, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A7E80, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x0000000F, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000001, 0x00000001, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C84, 0x00000011, 0x00000002, 0xFE363C84, 0x00080000, 0x00000027, 0x00000002, 0xFE363C81, 0x0000000F, 0x00000026, 0x00000002, 0xFE363C83, 0xF24A7E80, 0x00000012, 0x00000000, 0x00000027, 0x00000002, 0xFE363C81, 0x00000006, 0x00000026, 0x00000002, 0xFE363C83, 0xF24A7C1A, 0x00000013, 0x00000000, 0x00000043, 0x0000000F, PlayEffect, 0x0000006B, 0x00000003, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000004, 0xFE363C8F, 0x00000043, 0x00000003, EnableActorGlow, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000004, SetIdleAnimations, 0xFFFFFF81, 0x00000001, D_80223C1C_50A66C, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802255D8_50C028 -.word 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000013, 0x00000043, 0x00000004, SetBattleCamTarget, 0x00000055, 0x00000032, 0x00000000, 0x00000043, 0x00000002, SetBattleCamZoom, 0x00000118, 0x00000043, 0x00000002, SetBattleCamOffsetZ, 0x00000000, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000014, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000020D4, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x006C000C, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C83, 0x00000011, 0x00000002, 0xFE363C83, 0x00080000, 0x00000027, 0x00000002, 0xFE363C81, 0x00000010, 0x00000012, 0x00000000, 0x00000027, 0x00000002, 0xFE363C81, 0x00000006, 0x00000013, 0x00000000, 0x00000043, 0x0000000F, PlayEffect, 0x00000013, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A7E80, 0x0000002D, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x0000003C, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000014, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x006C000B, 0x00000056, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A7DB4, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000012, 0x00000000, 0x00000001, 0x00000000, 0x00000057, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000001, 0xFE363C80, 0x00000028, 0x00000002, 0xFE363C80, 0x00000001, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000001, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000000, 0x00000043, 0x00000003, EnableActorGlow, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000004, 0xFE363C80, 0x00000043, 0x00000002, RemoveEffect, 0xFE363C80, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000004, 0x00000000, 0x00000043, 0x00000004, SetIdleAnimations, 0xFFFFFF81, 0x00000001, D_80223BC0_50A610, 0x00000013, 0x00000000, 0x00000043, 0x00000002, PlaySound, 0x000020F9, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C8A, 0x00000000, 0x00000000, 0x00000001, 0x00000010, 0x00000014, 0x00000001, 0xFE363C8A, 0x0000001D, 0x00000001, 0x00000006, 0x0000001D, 0x00000001, 0x00000005, 0x00000043, 0x00000005, GetActorPos, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C81, 0x00000005, 0x00000043, 0x0000000F, PlayEffect, 0x00000066, 0x00000001, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A7E80, 0x000000C8, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x00000091, 0x0000000A, 0x00000002, 0xFE363C8A, 0x00000005, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C80, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000012, 0x00000000, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C81, 0x00000005, 0x00000043, 0x0000000F, PlayEffect, 0x00000066, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A7E80, 0x000000C8, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x000000A0, 0x00000043, 0x00000002, PlaySound, 0x000020FC, 0x00000057, 0x00000000, 0x00000043, 0x00000003, UseIdleAnimation, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0x00000000, 0x00000000, 0x0001002B, 0x00000008, 0x00000001, 0x0000001E, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000013, 0x00000043, 0x00000005, GetActorPos, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000004, SetBattleCamTarget, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000002, SetBattleCamZoom, 0x0000012C, 0x00000043, 0x00000002, SetBattleCamOffsetZ, 0x00000023, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000032, 0x00000008, 0x00000001, 0x00000038, 0x00000043, 0x00000003, PlaySoundAtActor, 0x00000000, 0x000003DB, 0x00000043, 0x00000004, SetAnimation, 0x00000000, 0x00000000, 0x0003000C, 0x00000008, 0x00000001, 0x00000025, 0x00000043, 0x00000003, PlaySoundAtActor, 0x00000000, 0x000003DB, 0x00000008, 0x00000001, 0x00000016, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000002, MoveBattleCamOver, 0x0000000A, 0x00000043, 0x00000003, PlaySoundAtActor, 0x00000000, 0x000020FB, 0x00000043, 0x00000003, UseIdleAnimation, 0x00000000, 0x00000001, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C80, 0x10000000, 0x00000000, 0x00000000, 0x0000000C, 0x00000020, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000 - -dlabel D_80225C40_50C690 -.word 0x00000001, 0x006B0001, 0x0000000C, 0x006B0000, 0x00000006, 0x006B0018, 0x00000009, 0x006B0001, 0x00000008, 0x006B0000, 0x0000000B, 0x006B0000, 0x00000005, 0x006B0000, 0x00000005, 0x006B0000, 0x00000004, 0x006B0018, 0x00000003, 0x006B0000, 0x00000000 - -dlabel D_80225C94_50C6E4 -.word 0x00000001, 0x00000000, 0x00000000 - -dlabel D_80225CA0_50C6F0 -.word 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000006, 0x00000050, 0x00000009, 0x00000000, 0x00000007, 0x00000000, 0x00000004, 0x00000050, 0x00000003, 0x00000000, 0x0000000B, 0x00000000, 0x00000005, 0x00000050, 0x0000000A, 0x0000005A, 0x00000008, 0x00000050, 0x0000001F, 0x00000000, 0x00000020, 0x00000000, 0x00000025, 0x00000000, 0x00000022, 0x00000000, 0x00000024, 0x00000000, 0x00000023, 0x00000000, 0x00000021, 0x00000000, 0x00000026, 0x00000000, 0x00000027, 0x00000000, 0x00000029, 0x00000000, 0x00000000 - -dlabel D_80225D4C_50C79C -.word 0x00800000, 0x01000000, 0xF14B00FF, D_80225C40_50C690, D_80225C94_50C6E4, 0x00000000, 0x00000000, 0x00F60000, 0x00000000 - -dlabel D_80225D70_50C7C0 -.word 0x00000000, 0x00A3460A, 0x00010000, D_80225D4C_50C79C, D_80225D98_50C7E8, D_80225CA0_50C6F0, 0x00000000, 0x00044B00, 0x6E640000, 0xDF4E0A4B - -dlabel D_80225D98_50C7E8 -.word 0x00000043, 0x00000003, BindTakeTurn, 0xFFFFFF81, D_802264AC_50CEFC, 0x00000043, 0x00000003, BindIdle, 0xFFFFFF81, D_80225F58_50C9A8, 0x00000043, 0x00000003, BindHandleEvent, 0xFFFFFF81, D_802260D0_50CB20, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000008, 0x00000000, 0x00000044, 0x00000001, D_80225E08_50C858, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80225E08_50C858 -.word 0x00000003, 0x00000001, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000003, ActorExists, 0xFFFFFF81, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000000, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C80, 0x00000010, 0x00000002, 0xFE363C80, 0x00080000, 0x00000004, 0x00000001, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000004, GetAnimation, 0xFFFFFF81, 0x00000001, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x006B0006, 0x00000004, 0x00000001, 0x00000001, 0x00000013, 0x00000000, 0x0000000A, 0x00000002, 0xFE363C80, 0x006B0007, 0x00000004, 0x00000001, 0x00000001, 0x00000013, 0x00000000, 0x00000004, 0x00000001, 0x00000000, 0x00000003, 0x00000001, 0x00000001, 0x00000043, 0x00000002, StartRumble, 0x00000001, 0x00000043, 0x00000005, ShakeCam, 0x00000001, 0x00000000, 0x00000002, 0xF24A7C80, 0x00000008, 0x00000001, 0x00000001, 0x00000004, 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80225F58_50C9A8 -.word 0x00000003, 0x00000001, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000004, 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80225F8C_50C9DC -.word 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000008, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000000, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80225FD4_50CA24 -.word 0x00000024, 0x00000002, 0xFE363C81, 0x006B0001, 0x00000046, 0x00000001, D_80225F8C_50C9DC, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0xFE363C81, 0x00000043, 0x00000002, SetGoalToHome, 0xFFFFFF81, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A9280, 0x00000024, 0x00000002, 0xFE363C81, 0x006B0006, 0x00000046, 0x00000001, D_80225F8C_50C9DC, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0xFE363C81, 0x00000043, 0x00000004, RunToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x006B0001, 0x00000046, 0x00000001, D_80225F8C_50C9DC, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0xFE363C81, 0x00000043, 0x00000003, SetActorYaw, 0xFFFFFF81, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802260D0_50CB20 -.word 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, GetLastEvent, 0xFFFFFF81, 0xFE363C8A, 0x00000014, 0x00000001, 0xFE363C8A, 0x0000001D, 0x00000001, 0x00000009, 0x0000001D, 0x00000001, 0x0000000A, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x006B0014, 0x00000046, 0x00000001, DoNormalHit, 0x00000020, 0x00000000, 0x00000016, 0x00000001, 0x0000000E, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x006B0014, 0x00000025, 0x00000002, 0xFE363C82, 0xFFFFFFFF, 0x00000046, 0x00000001, DoBurnHit, 0x00000016, 0x00000001, 0x00000024, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x006B0014, 0x00000025, 0x00000002, 0xFE363C82, 0xFFFFFFFF, 0x00000046, 0x00000001, DoBurnHit, 0x00000046, 0x00000001, D_80227878_50E2C8, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000000B, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x006B0014, 0x00000046, 0x00000001, DoSpinSmashHit, 0x00000016, 0x00000001, 0x0000002F, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000014, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x006B0014, 0x00000046, 0x00000001, DoShockHit, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x006B0014, 0x00000046, 0x00000001, DoJumpBack, 0x00000046, 0x00000001, D_80225FD4_50CA24, 0x0000001D, 0x00000001, 0x00000017, 0x0000001D, 0x00000001, 0x00000019, 0x0000001D, 0x00000001, 0x0000001F, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x006B0001, 0x00000046, 0x00000001, DoImmune, 0x00000020, 0x00000000, 0x00000016, 0x00000001, 0x00000026, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000014, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x006B0014, 0x00000046, 0x00000001, DoShockHit, 0x00000046, 0x00000001, D_80227878_50E2C8, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x00000020, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x006B0014, 0x00000046, 0x00000001, DoNormalHit, 0x00000046, 0x00000001, D_80227878_50E2C8, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x00000021, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x006B0014, 0x00000046, 0x00000001, DoSpinSmashHit, 0x00000046, 0x00000001, D_80227878_50E2C8, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x00000031, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x006B0001, 0x00000046, 0x00000001, DoRecover, 0x0000001C, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802264AC_50CEFC -.word 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, RandInt, 0x00000064, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x0000003C, 0x00000046, 0x00000001, D_80226558_50CFA8, 0x00000012, 0x00000000, 0x00000046, 0x00000001, D_80226B88_50D5D8, 0x00000013, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80226558_50CFA8 -.word 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x0000003F, 0x00000043, 0x00000002, SetBattleCamZoom, 0x00000096, 0x00000043, 0x00000002, BattleCamTargetActor, 0xFFFFFF81, 0x00000043, 0x00000004, func_8024ECF8, 0xFFFFFFFF, 0x00000001, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x006B0006, 0x00000046, 0x00000001, D_80225F8C_50C9DC, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0xFE363C81, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C85, 0x00000011, 0x00000002, 0xFE363C85, 0x00080000, 0x00000043, 0x00000005, AddGoalPos, 0xFFFFFF81, 0x00000032, 0x00000000, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000005, AddGoalPos, 0xFFFFFF81, 0x00000014, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A8A80, 0x00000043, 0x00000004, RunToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x006B0015, 0x00000008, 0x00000001, 0x00000008, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x0000035E, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x006B0016, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x006B0017, 0x00000008, 0x00000001, 0x00000003, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00080000, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x0000000F, PlayEffect, 0x00000006, 0x00000004, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000056, 0x00000000, 0x00000043, 0x00000002, StartRumble, 0x00000001, 0x00000043, 0x00000005, ShakeCam, 0x00000001, 0x00000000, 0x00000005, 0xF24AB680, 0x00000057, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000020EA, 0x00000013, 0x00000000, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C8A, 0x00000000, 0x00000000, 0x00000001, 0x00000010, 0x00000014, 0x00000001, 0xFE363C8A, 0x0000001D, 0x00000001, 0x00000006, 0x0000001D, 0x00000001, 0x00000005, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x0000000F, PlayEffect, 0x00000025, 0x00000000, 0xFE363C80, 0x00000000, 0xFE363C82, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x0000001E, 0x00000024, 0x00000002, 0xFE363C81, 0x006B0001, 0x00000046, 0x00000001, D_80225F8C_50C9DC, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0xFE363C81, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000014, 0x0000000A, 0x00000002, 0xFE363C8A, 0x00000005, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C80, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000046, 0x00000001, D_80225FD4_50CA24, 0x00000002, 0x00000000, 0x00000020, 0x00000000, 0x0000001C, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C85, 0x00000011, 0x00000002, 0xFE363C85, 0x00080000, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x0000000F, PlayEffect, 0x00000025, 0x00000001, 0xFE363C80, 0x00000000, 0xFE363C82, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000011, 0x00000002, 0xFE363C85, 0x00080000, 0x00000043, 0x00000002, func_80269EAC, 0x00000017, 0x00000013, 0x00000000, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C8F, 0x00000000, 0x00000000, 0x00000000, 0x00000004, 0x00000020, 0x00000043, 0x00000002, UseBattleCamPreset, 0x0000003F, 0x00000043, 0x00000002, SetBattleCamZoom, 0x000000C8, 0x00000043, 0x00000002, BattleCamTargetActor, 0xFFFFFF81, 0x00000043, 0x00000004, func_8024ECF8, 0xFFFFFFFF, 0x00000001, 0x00000000, 0x00000043, 0x00000002, MoveBattleCamOver, 0x0000001E, 0x00000014, 0x00000001, 0xFE363C8F, 0x0000001D, 0x00000001, 0x00000000, 0x0000001D, 0x00000001, 0x00000002, 0x00000008, 0x00000001, 0x0000001E, 0x00000024, 0x00000002, 0xFE363C81, 0x006B0001, 0x00000046, 0x00000001, D_80225F8C_50C9DC, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0xFE363C81, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000014, 0x00000043, 0x00000001, YieldTurn, 0x00000046, 0x00000001, D_80225FD4_50CA24, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80226B88_50D5D8 -.word 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x0000003F, 0x00000043, 0x00000002, SetBattleCamZoom, 0x00000096, 0x00000043, 0x00000002, BattleCamTargetActor, 0xFFFFFF81, 0x00000043, 0x00000004, func_8024ECF8, 0xFFFFFFFF, 0x00000001, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x006B0006, 0x00000046, 0x00000001, D_80225F8C_50C9DC, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0xFE363C81, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, AddGoalPos, 0xFFFFFF81, 0x00000046, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A8A80, 0x00000043, 0x00000004, RunToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x006B000A, 0x00000008, 0x00000001, 0x00000008, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x006B000B, 0x00000043, 0x00000005, SetActorSounds, 0xFFFFFF81, 0x00000002, 0x000003E7, 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, 0x0000000C, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x006B000C, 0x00000057, 0x00000000, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x0000000F, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000027, 0x00000002, 0xFE363C82, 0x00000005, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A7E80, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000017, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000020EA, 0x00000043, 0x0000000F, PlayEffect, 0x00000025, 0x00000000, 0xFE363C80, 0x00000000, 0xFE363C82, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x006B000D, 0x00000056, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x0000000F, PlayEffect, 0x0000001D, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x0000003C, 0x00000008, 0x0000000A, 0x00000014, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000057, 0x00000000, 0x00000056, 0x00000000, 0x00000043, 0x00000002, StartRumble, 0x00000001, 0x00000043, 0x00000005, ShakeCam, 0x00000001, 0x00000000, 0x00000005, 0xF24A8680, 0x00000057, 0x00000000, 0x00000043, 0x00000003, ResetActorSounds, 0xFFFFFF81, 0x00000002, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x00000014, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000027, 0x00000002, 0xFE363C82, 0x00000005, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A7E80, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x0000000A, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000002, StartRumble, 0x00000001, 0x00000043, 0x00000005, ShakeCam, 0x00000001, 0x00000000, 0x00000005, 0xF24A8680, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x0000000F, PlayEffect, 0x0000001D, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x0000003C, 0x00000008, 0x0000000A, 0x00000014, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x0000000A, 0x00000002, 0xFE363C8A, 0x00000005, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C80, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000014, 0x00000008, 0x00000001, 0x00000008, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x006B000E, 0x00000008, 0x00000001, 0x00000004, 0x00000046, 0x00000001, D_80225FD4_50CA24, 0x00000002, 0x00000000, 0x00000020, 0x00000000, 0x0000001C, 0x00000000, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000009, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x006B000C, 0x00000057, 0x00000000, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A7E80, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000010, 0x00000000, 0x00000001, 0x00000000, 0x00000023, 0x00000000, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C85, 0x00000011, 0x00000002, 0xFE363C85, 0x00080000, 0x00000043, 0x00000002, func_80269EAC, 0x00000018, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000020EA, 0x00000013, 0x00000000, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C8F, 0x00000000, 0x00000000, 0x00000000, 0x00000006, 0x00000020, 0x00000043, 0x00000002, UseBattleCamPreset, 0x0000003F, 0x00000043, 0x00000002, SetBattleCamZoom, 0x000000C8, 0x00000043, 0x00000002, BattleCamTargetActor, 0xFFFFFF81, 0x00000043, 0x00000004, func_8024ECF8, 0xFFFFFFFF, 0x00000001, 0x00000000, 0x00000043, 0x00000002, MoveBattleCamOver, 0x0000001E, 0x00000014, 0x00000001, 0xFE363C8F, 0x0000001D, 0x00000001, 0x00000000, 0x0000001D, 0x00000001, 0x00000002, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C85, 0x00000010, 0x00000002, 0xFE363C85, 0x00080000, 0x00000004, 0x00000001, 0x00000001, 0x00000013, 0x00000000, 0x00000043, 0x00000002, GetBattleFlags, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x80000000, 0x00000043, 0x00000003, GetStatusFlags, 0x00000000, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00100000, 0x00000043, 0x00000002, LandJump, 0xFFFFFF81, 0x00000012, 0x00000000, 0x00000004, 0x00000001, 0x00000001, 0x00000013, 0x00000000, 0x00000012, 0x00000000, 0x00000004, 0x00000001, 0x00000001, 0x00000013, 0x00000000, 0x00000003, 0x00000001, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x0000000F, PlayEffect, 0x00000025, 0x00000000, 0xFE363C80, 0x00000000, 0xFE363C82, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x006B000D, 0x00000056, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x0000000F, PlayEffect, 0x0000001D, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x0000003C, 0x00000008, 0x0000000A, 0x00000014, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000057, 0x00000000, 0x00000056, 0x00000000, 0x00000043, 0x00000002, StartRumble, 0x00000001, 0x00000043, 0x00000005, ShakeCam, 0x00000001, 0x00000000, 0x00000005, 0xF24A8680, 0x00000057, 0x00000000, 0x00000043, 0x00000003, ResetActorSounds, 0xFFFFFF81, 0x00000002, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x00000014, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000027, 0x00000002, 0xFE363C82, 0x00000005, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A7E80, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x0000000A, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000002, StartRumble, 0x00000001, 0x00000043, 0x00000005, ShakeCam, 0x00000001, 0x00000000, 0x00000005, 0xF24A8680, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x0000000F, PlayEffect, 0x0000001D, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x0000003C, 0x00000008, 0x0000000A, 0x00000014, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000004, 0x00000001, 0x00000002, 0x00000003, 0x00000001, 0x00000001, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C85, 0x00000011, 0x00000002, 0xFE363C85, 0x00080000, 0x00000008, 0x00000001, 0x00000003, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x0000000F, PlayEffect, 0x00000025, 0x00000001, 0xFE363C80, 0x00000000, 0xFE363C82, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000002, StartRumble, 0x00000001, 0x00000043, 0x00000005, ShakeCam, 0x00000001, 0x00000000, 0x00000005, 0xF24A8680, 0x00000013, 0x00000000, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C80, 0x00000028, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A81B4, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000008, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x006B000E, 0x00000057, 0x00000000, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x0000000A, 0x00000000, 0x00000001, 0x00000000, 0x00000011, 0x00000002, 0xFE363C85, 0x00080000, 0x00000043, 0x00000002, StartRumble, 0x00000001, 0x00000043, 0x00000005, ShakeCam, 0x00000001, 0x00000000, 0x00000005, 0xF24A8680, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x0000000F, PlayEffect, 0x0000001D, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x0000003C, 0x00000008, 0x0000000A, 0x00000014, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x00000008, 0x00000013, 0x00000000, 0x00000003, 0x00000001, 0x00000002, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000014, 0x00000043, 0x00000001, YieldTurn, 0x00000046, 0x00000001, D_80225FD4_50CA24, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80227878_50E2C8 -.word 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x006B0014, 0x00000043, 0x00000006, ActorSpeak, 0x000E00C9, 0xFFFFFF81, 0x00000001, 0x006B0014, 0x006B0014, 0x00000024, 0x00000002, 0xFE363C80, 0x00000001, 0x00000024, 0x00000002, 0xFE363C81, 0x006B0014, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000 - -dlabel D_802278F0_50E340 -.word 0x00000043, 0x00000002, SetSpriteShading, 0xFFFFFFFF, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80227910_50E360 -.word 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80227920_50E370 -.word 0xFFFFFFFF, 0x0000001F, 0x00000000 - -dlabel D_8022792C_50E37C -.word D_802282D8_50ED28, D_802282C8_50ED18, D_802282B8_50ED08, D_802278F0_50E340, D_80227910_50E360, D_802282B0_50ED00, D_80227920_50E370, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_80227960_50E3B0 -.word 0x00000024, 0x00000002, 0xFE363C8A, 0xFE363C80, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000003, 0x00000001, 0x00000000, 0x00000027, 0x00000002, 0xFE363C80, 0x00000001, 0x0000000D, 0x00000002, 0xFE363C80, 0x00000167, 0x00000028, 0x00000002, 0xFE363C80, 0x00000168, 0x00000013, 0x00000000, 0x00000043, 0x00000006, RotateModel, 0xFE363C8A, 0xFE363C80, 0x00000000, 0x00000000, 0x00000001, 0x00000008, 0x00000001, 0x00000001, 0x00000004, 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80227A0C_50E45C -.word 0x00000043, 0x00000002, SetSpriteShading, 0xFFFFFFFF, 0x00000024, 0x00000002, 0xFE363C80, 0x00000008, 0x00000046, 0x00000001, D_80227960_50E3B0, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80227A48_50E498 -.word 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80227A58_50E4A8 -.word 0xFFFFFFFF, 0x00000019, 0x00000000 - -dlabel D_80227A64_50E4B4 -.word D_80228308_50ED58, D_802282F8_50ED48, D_802282E8_50ED38, D_80227A0C_50E45C, D_80227A48_50E498, D_802282E0_50ED30, D_80227A58_50E4A8, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_80227A90_50E4E0 -.word 0x00000043, 0x00000002, SetSpriteShading, 0xFFFFFFFF, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80227AB0_50E500 -.word 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80227AC0_50E510 -.word 0xFFFFFFFF, 0x0000001A, 0x00000000 - -dlabel D_80227ACC_50E51C -.word D_80228338_50ED88, D_80228328_50ED78, D_80228318_50ED68, D_80227A90_50E4E0, D_80227AB0_50E500, D_80228310_50ED60, D_80227AC0_50E510, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_80227B00_50E550 -.word 0x00000043, 0x00000002, SetSpriteShading, 0xFFFFFFFF, 0x00000043, 0x00000005, SetCamBGColor, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80227B3C_50E58C -.word 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80227B4C_50E59C -.word 0x00000014, 0x00000000 - -dlabel D_80227B54_50E5A4 -.word D_80228360_50EDB0, D_80228350_50EDA0, D_80228340_50ED90, D_80227B00_50E550, D_80227B3C_50E58C, 0x00000000, D_80227B4C_50E59C, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_80227B80_50E5D0 -.word 0x00000043, 0x00000002, SetSpriteShading, 0xFFFFFFFF, 0x00000043, 0x00000005, SetCamBGColor, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80227BBC_50E60C -.word 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80227BCC_50E61C -.word 0x00000010, 0x00000000 - -dlabel D_80227BD4_50E624 -.word D_80228388_50EDD8, D_80228378_50EDC8, D_80228368_50EDB8, D_80227B80_50E5D0, D_80227BBC_50E60C, 0x00000000, D_80227BCC_50E61C, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_80227C00_50E650 -.word 0x00000043, 0x00000002, SetSpriteShading, 0xFFFFFFFF, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80227C20_50E670 -.word 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80227C30_50E680 -.word 0x0000000C, 0x00000000 - -dlabel D_80227C38_50E688 -.word D_802283B0_50EE00, D_802283A0_50EDF0, D_80228390_50EDE0, D_80227C00_50E650, D_80227C20_50E670, 0x00000000, D_80227C30_50E680, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_80227C60_50E6B0 -.word D_8021884C_4FF29C, 0x00000001, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_80227C7C_50E6CC -.word D_8021884C_4FF29C, 0x00000001, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021884C_4FF29C, 0x00000002, 0x00000009, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_80227CB4_50E704 -.word D_8021884C_4FF29C, 0x00000000, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021884C_4FF29C, 0x00000001, 0x00000009, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021884C_4FF29C, 0x00000002, 0x00000008, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_80227D08_50E758 -.word D_8021884C_4FF29C, 0x00000000, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021884C_4FF29C, 0x00000001, 0x00000009, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021B4F0_501F40, 0x00000006, 0x00000008, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_80227D5C_50E7AC -.word D_8021884C_4FF29C, 0x00000000, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021884C_4FF29C, 0x00000001, 0x00000009, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021884C_4FF29C, 0x00000002, 0x00000008, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021B4F0_501F40, 0x00000007, 0x00000007, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_80227DCC_50E81C -.word D_8021884C_4FF29C, 0x00000000, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021884C_4FF29C, 0x00000001, 0x00000009, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021B4F0_501F40, 0x00000006, 0x00000008, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021884C_4FF29C, 0x00000003, 0x00000007, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_80227E3C_50E88C -.word D_8021B4F0_501F40, 0x00000005, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_80227E58_50E8A8 -.word D_8021B4F0_501F40, 0x00000005, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021B4F0_501F40, 0x00000006, 0x00000009, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_80227E90_50E8E0 -.word D_8021B4F0_501F40, 0x00000004, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021B4F0_501F40, 0x00000005, 0x00000009, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021B4F0_501F40, 0x00000006, 0x00000008, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_80227EE4_50E934 -.word D_8021B4F0_501F40, 0x00000004, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021B4F0_501F40, 0x00000005, 0x00000009, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021B4F0_501F40, 0x00000006, 0x00000008, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021B4F0_501F40, 0x00000007, 0x00000007, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_80227F54_50E9A4 -.word D_80220C38_507688, 0x00000001, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_80227F70_50E9C0 -.word D_80220C38_507688, 0x00000001, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_80220C38_507688, 0x00000002, 0x00000009, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_80227FA8_50E9F8 -.word D_80220C38_507688, 0x00000000, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_80220C38_507688, 0x00000001, 0x00000009, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_80220C38_507688, 0x00000002, 0x00000008, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_80227FFC_50EA4C -.word D_80220C38_507688, 0x00000000, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021884C_4FF29C, 0x00000001, 0x00000009, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021884C_4FF29C, 0x00000002, 0x00000008, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_80228050_50EAA0 -.word D_80220C38_507688, 0x00000000, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_80220C38_507688, 0x00000001, 0x00000009, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021884C_4FF29C, 0x00000002, 0x00000008, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021884C_4FF29C, 0x00000003, 0x00000007, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_802280C0_50EB10 -.word 0x0000005A, 0x00000014, 0x00000000 - -dlabel D_802280CC_50EB1C -.word D_80223D78_50A7C8, D_802280C0_50EB10, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_802280E8_50EB38 -.word 0x0000004B, 0x00000000, 0x0000000A - -dlabel D_802280F4_50EB44 -.word D_80225D70_50C7C0, D_802280E8_50EB38, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_80228580_50EFD0, 0x00000001, D_80227C60_50E6B0, D_8022792C_50E37C, 0x00000000, D_8022856C_50EFBC, 0x00000002, D_80227C7C_50E6CC, D_8022792C_50E37C, 0x00000000, D_80228558_50EFA8, 0x00000003, D_80227CB4_50E704, D_8022792C_50E37C, 0x00000000, D_80228530_50EF80, 0x00000003, D_80227D08_50E758, D_8022792C_50E37C, 0x00000000, D_80228508_50EF58, 0x00000004, D_80227D5C_50E7AC, D_8022792C_50E37C, 0x00000000, D_802284CC_50EF1C, 0x00000004, D_80227DCC_50E81C, D_8022792C_50E37C, 0x00000000, D_802284B4_50EF04, 0x00000001, D_80227E3C_50E88C, D_8022792C_50E37C, 0x00000000, D_8022849C_50EEEC, 0x00000002, D_80227E58_50E8A8, D_8022792C_50E37C, 0x00000000, D_80228484_50EED4, 0x00000003, D_80227E90_50E8E0, D_8022792C_50E37C, 0x00000000, D_8022846C_50EEBC, 0x00000004, D_80227EE4_50E934, D_8022792C_50E37C, 0x00000000, D_80228458_50EEA8, 0x00000001, D_80227F54_50E9A4, D_8022792C_50E37C, 0x00000000, D_80228440_50EE90, 0x00000002, D_80227F70_50E9C0, D_8022792C_50E37C, 0x00000000, D_80228428_50EE78, 0x00000003, D_80227FA8_50E9F8, D_8022792C_50E37C, 0x00000000, D_80228400_50EE50, 0x00000003, D_80227FFC_50EA4C, D_8022792C_50E37C, 0x00000000, D_802283D8_50EE28, 0x00000004, D_80228050_50EAA0, D_8022792C_50E37C, 0x00000000, D_802283C4_50EE14, 0x00000001, D_802280CC_50EB1C, D_80227C38_50E688, 0x00000000, D_802283B8_50EE08, 0x00000001, D_802280F4_50EB44, D_8022792C_50E37C, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_802285BC_50F00C, D_8022792C_50E37C, D_802285B4_50F004, D_80227A64_50E4B4, D_802285AC_50EFFC, D_80227ACC_50E51C, D_802285A4_50EFF4, D_80227B54_50E5A4, D_8022859C_50EFEC, D_80227BD4_50E624, D_80228594_50EFE4, D_80227C38_50E688, 0x00000000, 0x00000000 - -dlabel D_802282B0_50ED00 -.word 0x61726E5F, 0x62670000 - -dlabel D_802282B8_50ED08 -.word 0x61726E5F, 0x62743031, 0x5F686974, 0x00000000 - -dlabel D_802282C8_50ED18 -.word 0x61726E5F, 0x62743031, 0x5F736861, 0x70650000 - -dlabel D_802282D8_50ED28 -.word 0x61726E5F, 0x74657800 - -dlabel D_802282E0_50ED30 -.word 0x61726E5F, 0x62670000 - -dlabel D_802282E8_50ED38 -.word 0x61726E5F, 0x62743032, 0x5F686974, 0x00000000 - -dlabel D_802282F8_50ED48 -.word 0x61726E5F, 0x62743032, 0x5F736861, 0x70650000 - -dlabel D_80228308_50ED58 -.word 0x61726E5F, 0x74657800 - -dlabel D_80228310_50ED60 -.word 0x61726E5F, 0x62670000 - -dlabel D_80228318_50ED68 -.word 0x61726E5F, 0x62743033, 0x5F686974, 0x00000000 - -dlabel D_80228328_50ED78 -.word 0x61726E5F, 0x62743033, 0x5F736861, 0x70650000 - -dlabel D_80228338_50ED88 -.word 0x61726E5F, 0x74657800 - -dlabel D_80228340_50ED90 -.word 0x61726E5F, 0x62743034, 0x5F686974, 0x00000000 - -dlabel D_80228350_50EDA0 -.word 0x61726E5F, 0x62743034, 0x5F736861, 0x70650000 - -dlabel D_80228360_50EDB0 -.word 0x61726E5F, 0x74657800 - -dlabel D_80228368_50EDB8 -.word 0x61726E5F, 0x62743035, 0x5F686974, 0x00000000 - -dlabel D_80228378_50EDC8 -.word 0x61726E5F, 0x62743035, 0x5F736861, 0x70650000 - -dlabel D_80228388_50EDD8 -.word 0x61726E5F, 0x74657800 - -dlabel D_80228390_50EDE0 -.word 0x61726E5F, 0x62743036, 0x5F686974, 0x00000000 - -dlabel D_802283A0_50EDF0 -.word 0x61726E5F, 0x62743036, 0x5F736861, 0x70650000 - -dlabel D_802283B0_50EE00 -.word 0x61726E5F, 0x74657800 - -dlabel D_802283B8_50EE08 -.word 0x8368834B, 0x837B8393, 0x00000000 - -dlabel D_802283C4_50EE14 -.word 0x8368834B, 0x837B8393, 0x82B582F1, 0x82BC82A4, 0x00000000 - -dlabel D_802283D8_50EE28 -.word 0x836E8343, 0x8370815B, 0x83568393, 0x83478382, 0x83937832, 0x2C836E83, 0x43837081, 0x5B834E83, 0x8A837B81, 0x5B783200 - -dlabel D_80228400_50EE50 -.word 0x836E8343, 0x8370815B, 0x83568393, 0x83478382, 0x83932C83, 0x6E834383, 0x70815B83, 0x4E838A83, 0x7B815B78, 0x32000000 - -dlabel D_80228428_50EE78 -.word 0x836E8343, 0x8370815B, 0x83568393, 0x83478382, 0x83937833, 0x00000000 - -dlabel D_80228440_50EE90 -.word 0x836E8343, 0x8370815B, 0x83568393, 0x83478382, 0x83937832, 0x00000000 - -dlabel D_80228458_50EEA8 -.word 0x836E8343, 0x8370815B, 0x83568393, 0x83478382, 0x83930000 - -dlabel D_8022846C_50EEBC -.word 0x836E8343, 0x8370815B, 0x8370835E, 0x834E838A, 0x837B815B, 0x78340000 - -dlabel D_80228484_50EED4 -.word 0x836E8343, 0x8370815B, 0x8370835E, 0x834E838A, 0x837B815B, 0x78330000 - -dlabel D_8022849C_50EEEC -.word 0x836E8343, 0x8370815B, 0x8370835E, 0x834E838A, 0x837B815B, 0x78320000 - -dlabel D_802284B4_50EF04 -.word 0x836E8343, 0x8370815B, 0x8370835E, 0x834E838A, 0x837B815B, 0x00000000 - -dlabel D_802284CC_50EF1C -.word 0x836E8343, 0x8370815B, 0x834E838A, 0x837B815B, 0x78322C83, 0x6E834383, 0x70815B83, 0x70835E83, 0x4E838A83, 0x7B815B2C, 0x836E8343, 0x8370815B, 0x834E838A, 0x837B815B, 0x00000000 - -dlabel D_80228508_50EF58 -.word 0x836E8343, 0x8370815B, 0x834E838A, 0x837B815B, 0x78332C83, 0x6E834383, 0x70815B83, 0x70835E83, 0x4E838A83, 0x7B815B00 - -dlabel D_80228530_50EF80 -.word 0x836E8343, 0x8370815B, 0x834E838A, 0x837B815B, 0x78322C83, 0x6E834383, 0x70815B83, 0x70835E83, 0x4E838A83, 0x7B815B00 - -dlabel D_80228558_50EFA8 -.word 0x836E8343, 0x8370815B, 0x834E838A, 0x837B815B, 0x78825200 - -dlabel D_8022856C_50EFBC -.word 0x836E8343, 0x8370815B, 0x834E838A, 0x837B815B, 0x78825100 - -dlabel D_80228580_50EFD0 -.word 0x836E8343, 0x8370815B, 0x834E838A, 0x837B815B, 0x00000000 - -dlabel D_80228594_50EFE4 -.word 0x61726E5F, 0x30360000 - -dlabel D_8022859C_50EFEC -.word 0x61726E5F, 0x30350000 - -dlabel D_802285A4_50EFF4 -.word 0x61726E5F, 0x30340000 - -dlabel D_802285AC_50EFFC -.word 0x61726E5F, 0x30330000 - -dlabel D_802285B4_50F004 -.word 0x61726E5F, 0x30320000 - -dlabel D_802285BC_50F00C -.word 0x61726E5F, 0x30310000, 0x00000000, 0x00000000, 0x00000000 diff --git a/ver/us/asm/data/battle/area_isk_part_2/4EFFE0.data.s b/ver/us/asm/data/battle/area_isk_part_2/4EFFE0.data.s deleted file mode 100644 index 7b024111c1..0000000000 --- a/ver/us/asm/data/battle/area_isk_part_2/4EFFE0.data.s +++ /dev/null @@ -1,414 +0,0 @@ -.include "macro.inc" - -.section .data - -dlabel D_80218B40_4EFFE0 -.word 0x00000001, 0x00690001, 0x0000000C, 0x00690000, 0x00000006, 0x00690007, 0x00000009, 0x00690001, 0x00000008, 0x00690000, 0x0000000B, 0x00690000, 0x00000005, 0x00690000, 0x00000004, 0x00690008, 0x00000000 - -dlabel D_80218B84_4F0024 -.word 0x00000001, 0x00690003, 0x00000009, 0x00690003, 0x00000008, 0x00690000, 0x0000000C, 0x00690000, 0x00000006, 0x00690007, 0x0000000B, 0x00690000, 0x00000005, 0x00690000, 0x00000004, 0x00690008, 0x00000000 - -dlabel D_80218BC8_4F0068 -.word 0x00000001, 0x00690004, 0x00000009, 0x00690004, 0x00000008, 0x00690000, 0x0000000C, 0x00690000, 0x00000006, 0x00690007, 0x0000000B, 0x00690000, 0x00000005, 0x00690000, 0x00000004, 0x00690008, 0x00000000 - -dlabel D_80218C0C_4F00AC -.word 0x00000001, 0x00690005, 0x00000009, 0x00690005, 0x00000008, 0x00690000, 0x0000000C, 0x00690000, 0x00000006, 0x00690007, 0x0000000B, 0x00690000, 0x00000005, 0x00690000, 0x00000004, 0x00690008, 0x00000000 - -dlabel D_80218C50_4F00F0 -.word 0x00000001, 0x00690002, 0x00000000 - -dlabel D_80218C5C_4F00FC -.word 0x00000001, 0x00000003, 0x0000000C, 0x00000003, 0x00000002, 0x00000063, 0x00000004, 0x00000063, 0x00000007, 0x00000063, 0x00000000 - -dlabel D_80218C88_4F0128 -.word 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000006, 0x00000000, 0x00000009, 0x00000000, 0x00000007, 0x00000000, 0x00000004, 0x0000004B, 0x00000003, 0x00000000, 0x0000000B, 0x00000000, 0x00000005, 0x00000000, 0x0000000A, 0x0000004B, 0x00000008, 0x0000004B, 0x0000001F, 0x00000000, 0x00000020, 0xFFFFFFFF, 0x00000025, 0x00000000, 0x00000022, 0x00000000, 0x00000024, 0xFFFFFFFF, 0x00000023, 0x00000000, 0x00000021, 0x00000000, 0x00000026, 0x00000000, 0x00000027, 0x00000000, 0x00000029, 0xFFFFFFFF, 0x00000000 - -dlabel D_80218D34_4F01D4 -.word 0x00020000, 0x01000000, 0x001800FF, D_80218B40_4EFFE0, D_80218C5C_4F00FC, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00900001, 0x02000000, 0xF32800FF, D_80218B40_4EFFE0, D_80218C5C_4F00FC, 0x00000000, 0x00000000, 0x00F00000, 0x00000000, 0x00124002, 0x03000000, 0x000C00FF, D_80218C50_4F00F0, D_80218C5C_4F00FC, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00124002, 0x04000000, 0x000C00FF, D_80218C50_4F00F0, D_80218C5C_4F00FC, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00124002, 0x05000000, 0x000C00FF, D_80218C50_4F00F0, D_80218C5C_4F00FC, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00124002, 0x06000000, 0x000C00FF, D_80218C50_4F00F0, D_80218C5C_4F00FC, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00124002, 0x07000000, 0x000C00FF, D_80218C50_4F00F0, D_80218C5C_4F00FC, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00124002, 0x08000000, 0x000C00FF, D_80218C50_4F00F0, D_80218C5C_4F00FC, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00124002, 0x09000000, 0x000C00FF, D_80218C50_4F00F0, D_80218C5C_4F00FC, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00124002, 0x0A000000, 0x000C00FF, D_80218C50_4F00F0, D_80218C5C_4F00FC, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_80218E9C_4F033C -.word 0x00000000, 0x00A20E04, 0x000A0000, D_80218D34_4F01D4, D_80218EC4_4F0364, D_80218C88_4F0128, 0x00000000, 0x00005F00, 0x38280000, 0xF6140A14 - -dlabel D_80218EC4_4F0364 -.word 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000008, 0x00000000, 0x00000043, 0x00000003, BindTakeTurn, 0xFFFFFF81, D_8021A7C4_4F1C64, 0x00000043, 0x00000003, BindIdle, 0xFFFFFF81, D_80219108_4F05A8, 0x00000043, 0x00000003, BindHandleEvent, 0xFFFFFF81, D_802197C4_4F0C64, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, SetPartPos, 0xFFFFFF81, 0x00000002, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000024, 0x00000002, 0xFE363C80, 0x00000003, 0x00000005, 0x00000001, 0x00000008, 0x00000043, 0x00000005, SetPartSize, 0xFFFFFF81, 0xFE363C80, 0x00000010, 0x00000010, 0x00000027, 0x00000002, 0xFE363C80, 0x00000001, 0x00000006, 0x00000000, 0x00000043, 0x00000001, b_area_isk_part_2_ChompChainInit, 0x00000044, 0x00000001, D_8021972C_4F0BCC, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80218FCC_4F046C -.word 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C80, 0x00000010, 0x00000002, 0xFE363C80, 0x0035D000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, SetPartPos, 0xFFFFFF81, 0x00000002, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000005, SetTargetOffset, 0xFFFFFF81, 0x00000002, 0x00000000, 0x00000018, 0x00000043, 0x00000005, func_8027D4C8, 0xFFFFFF81, 0x00000002, 0x00000000, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000002, SetIdleGoalToHome, 0xFFFFFF81, 0x00000043, 0x00000005, GetIdleGoal, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, SetPartPos, 0xFFFFFF81, 0x00000002, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000005, SetTargetOffset, 0xFFFFFF81, 0x00000002, 0xFFFFFFF3, 0x00000028, 0x00000043, 0x00000005, func_8027D4C8, 0xFFFFFF81, 0x00000002, 0x00000000, 0xFFFFFFF2, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80219108_4F05A8 -.word 0x00000003, 0x00000001, 0x00000000, 0x00000005, 0x00000001, 0x00000000, 0x00000046, 0x00000001, D_80218FCC_4F046C, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x0035D000, 0x00000007, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000043, 0x00000004, SetIdleAnimations, 0xFFFFFF81, 0x00000001, D_80218C0C_4F00AC, 0x00000043, 0x00000003, SetActorIdleJumpGravity, 0xFFFFFF81, 0xF24A7E80, 0x00000043, 0x00000002, SetIdleGoalToHome, 0xFFFFFF81, 0x00000043, 0x00000005, GetIdleGoal, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C80, 0x0000000A, 0x00000043, 0x00000003, SetActorIdleJumpGravity, 0xFFFFFF81, 0xF24A7DB4, 0x00000043, 0x00000005, SetIdleGoal, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000004, IdleJumpToGoal, 0xFFFFFF81, 0x0000000B, 0x00000001, 0x00000005, 0x00000001, 0x00000000, 0x00000046, 0x00000001, D_80218FCC_4F046C, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x0035D000, 0x00000007, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000043, 0x00000003, SetActorIdleJumpGravity, 0xFFFFFF81, 0xF24A7E80, 0x00000043, 0x00000002, SetIdleGoalToHome, 0xFFFFFF81, 0x00000043, 0x00000005, GetIdleGoal, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000005, SetIdleGoal, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000004, IdleJumpToGoal, 0xFFFFFF81, 0x00000006, 0x00000001, 0x00000043, 0x00000003, RandInt, 0x0000000A, 0xFE363C80, 0x00000027, 0x00000002, 0xFE363C80, 0x00000001, 0x00000008, 0x00000001, 0xFE363C80, 0x00000005, 0x00000001, 0x00000000, 0x00000046, 0x00000001, D_80218FCC_4F046C, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x0035D000, 0x00000007, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000043, 0x00000004, SetIdleAnimations, 0xFFFFFF81, 0x00000001, D_80218BC8_4F0068, 0x00000043, 0x00000003, SetActorIdleJumpGravity, 0xFFFFFF81, 0xF24A7DB4, 0x00000043, 0x00000002, SetIdleGoalToHome, 0xFFFFFF81, 0x00000043, 0x00000005, GetIdleGoal, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000005, SetIdleGoal, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000004, IdleJumpToGoal, 0xFFFFFF81, 0x0000000F, 0x00000001, 0x00000005, 0x00000001, 0x00000000, 0x00000046, 0x00000001, D_80218FCC_4F046C, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x0035D000, 0x00000007, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000043, 0x00000004, SetIdleAnimations, 0xFFFFFF81, 0x00000001, D_80218C0C_4F00AC, 0x00000043, 0x00000003, SetActorIdleJumpGravity, 0xFFFFFF81, 0xF24A7DB4, 0x00000043, 0x00000002, SetIdleGoalToHome, 0xFFFFFF81, 0x00000043, 0x00000005, GetIdleGoal, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x00000014, 0x00000043, 0x00000005, SetIdleGoal, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000004, IdleJumpToGoal, 0xFFFFFF81, 0x0000000C, 0x00000001, 0x00000005, 0x00000001, 0x00000000, 0x00000046, 0x00000001, D_80218FCC_4F046C, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x0035D000, 0x00000007, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000043, 0x00000003, SetActorIdleJumpGravity, 0xFFFFFF81, 0xF24A7DB4, 0x00000043, 0x00000002, SetIdleGoalToHome, 0xFFFFFF81, 0x00000043, 0x00000005, GetIdleGoal, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x0000000A, 0x00000043, 0x00000005, SetIdleGoal, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000004, IdleJumpToGoal, 0xFFFFFF81, 0x00000009, 0x00000001, 0x00000005, 0x00000001, 0x00000000, 0x00000046, 0x00000001, D_80218FCC_4F046C, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x0035D000, 0x00000007, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000043, 0x00000004, SetIdleAnimations, 0xFFFFFF81, 0x00000001, D_80218B84_4F0024, 0x00000043, 0x00000003, SetActorIdleJumpGravity, 0xFFFFFF81, 0xF24A7DB4, 0x00000043, 0x00000002, SetIdleGoalToHome, 0xFFFFFF81, 0x00000043, 0x00000005, GetIdleGoal, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000005, SetIdleGoal, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000004, IdleJumpToGoal, 0xFFFFFF81, 0x00000006, 0x00000001, 0x00000043, 0x00000003, RandInt, 0x0000000A, 0xFE363C80, 0x00000027, 0x00000002, 0xFE363C80, 0x0000000A, 0x00000008, 0x00000001, 0xFE363C80, 0x00000004, 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021972C_4F0BCC -.word 0x00000003, 0x00000001, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000003, ActorExists, 0x00000201, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000002, b_area_isk_part_2_ChompChainUpdate, 0xFE363C82, 0x00000004, 0x00000001, 0x00000000, 0x00000013, 0x00000000, 0x00000003, 0x00000001, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802197C4_4F0C64 -.word 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000005, SetActorScale, 0xFFFFFF81, 0xF24A7E80, 0xF24A7E80, 0xF24A7E80, 0x00000043, 0x00000003, GetLastEvent, 0xFFFFFF81, 0xFE363C80, 0x00000024, 0x00000002, 0xFE363C8F, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000009, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00690006, 0x00000046, 0x00000001, DoNormalHit, 0x00000016, 0x00000001, 0x0000000A, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00690006, 0x00000046, 0x00000001, DoNormalHit, 0x00000016, 0x00000001, 0x00000038, 0x00000016, 0x00000001, 0x0000000E, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00690006, 0x00000025, 0x00000002, 0xFE363C82, 0xFFFFFFFF, 0x00000046, 0x00000001, DoBurnHit, 0x00000016, 0x00000001, 0x00000024, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00690006, 0x00000025, 0x00000002, 0xFE363C82, 0xFFFFFFFF, 0x00000046, 0x00000001, DoBurnHit, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000004, SetActorVar, 0x00000200, 0x0000000C, 0x00000002, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00690006, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000000B, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00690006, 0x00000046, 0x00000001, D_8021A200_4F16A0, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0xFFFFFFFF, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000002F, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00690006, 0x00000046, 0x00000001, DoShockHit, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00690006, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A801A, 0x00000043, 0x00000005, AddGoalPos, 0xFFFFFF81, 0x0000001E, 0x00000000, 0x00000000, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x0000000F, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x00002062, 0x00000043, 0x00000005, AddGoalPos, 0xFFFFFF81, 0x0000000F, 0x00000000, 0x00000000, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000008, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x00002062, 0x00000043, 0x00000005, AddGoalPos, 0xFFFFFF81, 0x00000005, 0x00000000, 0x00000000, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000005, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x00002062, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000005, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x00002062, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00690005, 0x00000046, 0x00000001, D_8021B41C_4F28BC, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A80E7, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000005, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x00002062, 0x00000056, 0x00000000, 0x00000043, 0x00000005, ShakeCam, 0x00000001, 0x00000000, 0x00000001, 0xF24A7C80, 0x00000057, 0x00000000, 0x00000043, 0x00000002, SetGoalToHome, 0xFFFFFF81, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, SetPartPos, 0xFFFFFF81, 0x00000002, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000008, 0x00000000, 0x00000016, 0x00000001, 0x0000003A, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x0035D000, 0x00000043, 0x00000002, SetGoalToHome, 0xFFFFFF81, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x00000010, 0x00000002, 0xFE363C80, 0x00080000, 0x00000028, 0x00000002, 0xFE363C81, 0x0000000A, 0x00000027, 0x00000002, 0xFE363C82, 0x00000004, 0x00000012, 0x00000000, 0x00000028, 0x00000002, 0xFE363C81, 0x00000005, 0x00000027, 0x00000002, 0xFE363C82, 0x0000000B, 0x00000013, 0x00000000, 0x00000043, 0x00000005, SetActorPos, 0xFFFFFF81, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x00000013, 0x00000000, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00690006, 0x00000046, 0x00000001, DoAirLift, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0xFFFFFFFF, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x00000016, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00690006, 0x00000046, 0x00000001, DoBlowAway, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000001F, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00690001, 0x00000046, 0x00000001, DoImmune, 0x00000043, 0x00000004, SetAnimationRate, 0xFFFFFF81, 0x00000001, 0xF24A7E80, 0x0000001D, 0x00000001, 0x00000017, 0x0000001D, 0x00000001, 0x00000019, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00690001, 0x00000046, 0x00000001, DoImmune, 0x00000020, 0x00000000, 0x00000016, 0x00000001, 0x00000026, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00690006, 0x00000046, 0x00000001, DoShockHit, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000008, 0x00000000, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000004, SetActorVar, 0x00000200, 0x0000000C, 0x00000002, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00690006, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x00000020, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00690006, 0x00000046, 0x00000001, DoNormalHit, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000004, SetActorVar, 0x00000200, 0x0000000C, 0x00000002, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00690006, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x00000021, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00690006, 0x00000046, 0x00000001, D_8021A200_4F16A0, 0x00000043, 0x00000004, SetActorVar, 0x00000200, 0x0000000C, 0x00000002, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00690006, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x00000031, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00690001, 0x00000046, 0x00000001, DoRecover, 0x0000001C, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C80, 0x00000010, 0x00000002, 0xFE363C80, 0x00151000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x0000000B, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A7DB4, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0x00000000, 0xFE363C82, 0x00000043, 0x00000003, FallToGoal, 0xFFFFFF81, 0x0000000B, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0xFFFFFFFF, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021A200_4F16A0 -.word 0x00000043, 0x00000003, ActorExists, 0x00000200, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000000, 0x00000004, 0x00000001, 0x00000001, 0x00000013, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0x00000200, 0x00000008, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000000, 0x00000004, 0x00000001, 0x00000001, 0x00000013, 0x00000000, 0x00000003, 0x00000001, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00690006, 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000200, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0x00000014, 0xFE363C82, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A7AE7, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A9680, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000001, 0x00000000, 0x00000056, 0x00000000, 0x00000043, 0x00000005, ShakeCam, 0x00000001, 0x00000000, 0x00000002, 0xF24A7E80, 0x00000057, 0x00000000, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C80, 0x08000000, 0x00000000, 0x00000000, 0x00000001, 0x00000020, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A7AE7, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A9280, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0x00000096, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000001, 0x00000000, 0x00000056, 0x00000000, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00080000, 0x00000043, 0x00000005, ShakeCam, 0x00000001, 0x00000000, 0x00000001, 0xF24A7C80, 0x00000013, 0x00000000, 0x00000057, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A7E80, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A9280, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0x00000082, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x0000000A, 0x00000000, 0x00000001, 0x00000000, 0x00000056, 0x00000000, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00080000, 0x00000043, 0x00000005, ShakeCam, 0x00000001, 0x00000000, 0x00000001, 0xF24A7C80, 0x00000013, 0x00000000, 0x00000057, 0x00000000, 0x00000043, 0x00000005, SetActorDispOffset, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x0000000F, 0x00000004, 0x00000001, 0x0000000A, 0x00000003, 0x00000001, 0x00000001, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00690006, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A7AE7, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A9280, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0x00000087, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000001, 0x00000000, 0x00000056, 0x00000000, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00080000, 0x00000043, 0x00000005, ShakeCam, 0x00000001, 0x00000000, 0x00000001, 0xF24A7C80, 0x00000013, 0x00000000, 0x00000057, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A7E80, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A9280, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0x00000069, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x0000000A, 0x00000000, 0x00000001, 0x00000000, 0x00000056, 0x00000000, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00080000, 0x00000043, 0x00000005, ShakeCam, 0x00000001, 0x00000000, 0x00000001, 0xF24A7C80, 0x00000013, 0x00000000, 0x00000057, 0x00000000, 0x00000043, 0x00000005, SetActorDispOffset, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x0000000F, 0x00000003, 0x00000001, 0x0000000A, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00690001, 0x00000046, 0x00000001, D_8021B41C_4F28BC, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00680001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021A7C4_4F1C64 -.word 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000008, 0x00000001, 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, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A7C80, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000027, 0x00000002, 0xFE363C80, 0x0000002D, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x0000000F, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x00002062, 0x00000056, 0x00000000, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00080000, 0x00000043, 0x00000005, ShakeCam, 0x00000001, 0x00000000, 0x00000001, 0xF24A7C80, 0x00000013, 0x00000000, 0x00000057, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00690005, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x0000010F, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C80, 0x00000000, 0x00000000, 0x00000001, 0x00000010, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000006, 0x0000001D, 0x00000001, 0x00000005, 0x00000024, 0x00000002, 0xFE363C8A, 0xFE363C80, 0x00000043, 0x00000002, PlaySound, 0x0000010F, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00690001, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x00000014, 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, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x00002062, 0x00000056, 0x00000000, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00080000, 0x00000043, 0x00000005, ShakeCam, 0x00000001, 0x00000000, 0x00000001, 0xF24A7C80, 0x00000013, 0x00000000, 0x00000057, 0x00000000, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A81B4, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x00000019, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000006, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x00002062, 0x00000056, 0x00000000, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00080000, 0x00000043, 0x00000005, ShakeCam, 0x00000001, 0x00000000, 0x00000001, 0xF24A7C80, 0x00000013, 0x00000000, 0x00000057, 0x00000000, 0x00000028, 0x00000002, 0xFE363C80, 0x0000000F, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000004, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x00002062, 0x00000056, 0x00000000, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00080000, 0x00000043, 0x00000005, ShakeCam, 0x00000001, 0x00000000, 0x00000001, 0xF24A7C80, 0x00000013, 0x00000000, 0x00000057, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00690004, 0x00000008, 0x00000001, 0x00000014, 0x0000000A, 0x00000002, 0xFE363C8A, 0x00000005, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C80, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000014, 0x00000043, 0x00000003, SetActorYaw, 0xFFFFFF81, 0x000000B4, 0x00000043, 0x00000005, AddActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000002, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00690001, 0x00000046, 0x00000001, D_8021B41C_4F28BC, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00690001, 0x00000043, 0x00000002, HPBarToHome, 0xFFFFFF81, 0x00000043, 0x00000004, RemoveActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000043, 0x00000003, SetActorYaw, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000008, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0xFFFFFFFF, 0x00000002, 0x00000000, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00690001, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C8A, 0x00000010, 0x00000002, 0xFE363C8A, 0x00080000, 0x00000027, 0x00000002, 0xFE363C80, 0x00000004, 0x00000012, 0x00000000, 0x00000027, 0x00000002, 0xFE363C80, 0x0000000A, 0x00000013, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x0000001B, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A7B4D, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000005, 0x00000000, 0x00000001, 0x00000000, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, SetPartPos, 0xFFFFFF81, 0x00000002, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C8F, 0x00000000, 0x00000000, 0x00000000, 0x00000003, 0x00000020, 0x00000014, 0x00000001, 0xFE363C8F, 0x0000001C, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000014, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00690004, 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, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x00002062, 0x00000056, 0x00000000, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00080000, 0x00000043, 0x00000005, ShakeCam, 0x00000001, 0x00000000, 0x00000001, 0xF24A7C80, 0x00000013, 0x00000000, 0x00000057, 0x00000000, 0x00000027, 0x00000002, 0xFE363C80, 0x0000001E, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000008, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x00002062, 0x00000056, 0x00000000, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00080000, 0x00000043, 0x00000005, ShakeCam, 0x00000001, 0x00000000, 0x00000001, 0xF24A7C80, 0x00000013, 0x00000000, 0x00000057, 0x00000000, 0x00000027, 0x00000002, 0xFE363C80, 0x00000014, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000006, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x00002062, 0x00000056, 0x00000000, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00080000, 0x00000043, 0x00000005, ShakeCam, 0x00000001, 0x00000000, 0x00000001, 0xF24A7C80, 0x00000013, 0x00000000, 0x00000057, 0x00000000, 0x00000028, 0x00000002, 0xFE363C80, 0x0000000A, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000004, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x00002062, 0x00000056, 0x00000000, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00080000, 0x00000043, 0x00000005, ShakeCam, 0x00000001, 0x00000000, 0x00000001, 0xF24A7C80, 0x00000013, 0x00000000, 0x00000057, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00690001, 0x00000008, 0x00000001, 0x00000008, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x0000000A, 0x00000002, 0xFE363C8F, 0x0000000A, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, SetPartPos, 0xFFFFFF81, 0x00000002, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000001, YieldTurn, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00690001, 0x00000046, 0x00000001, D_8021B41C_4F28BC, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00690001, 0x00000023, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000008, 0x00000000, 0x00000043, 0x00000002, HPBarToHome, 0xFFFFFF81, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0xFFFFFFFF, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021B41C_4F28BC -.word 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00690004, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A8A80, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A81B4, 0x00000043, 0x00000002, SetGoalToHome, 0xFFFFFF81, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000046, 0x00000001, D_8021B50C_4F29AC, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, SetPartPos, 0xFFFFFF81, 0x00000002, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, SetActorYaw, 0xFFFFFF81, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021B50C_4F29AC -.word 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x0000000C, 0x00000002, 0xFE363C83, 0xFE363C80, 0x00000043, 0x00000003, SetActorYaw, 0xFFFFFF81, 0x000000B4, 0x00000012, 0x00000000, 0x00000043, 0x00000003, SetActorYaw, 0xFFFFFF81, 0x00000000, 0x00000013, 0x00000000, 0x00000003, 0x00000001, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x0000000A, 0x00000002, 0xFE363C83, 0xFE363C80, 0x00000004, 0x00000001, 0x0000000A, 0x00000013, 0x00000000, 0x0000000C, 0x00000002, 0xFE363C83, 0xFE363C80, 0x00000024, 0x00000002, 0xFE363C84, 0xFE363C80, 0x00000028, 0x00000002, 0xFE363C84, 0xFE363C83, 0x0000000C, 0x00000002, 0xFE363C84, 0x0000001E, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000006, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x00002062, 0x00000056, 0x00000000, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00080000, 0x00000043, 0x00000005, ShakeCam, 0x00000001, 0x00000000, 0x00000001, 0xF24A7C80, 0x00000013, 0x00000000, 0x00000057, 0x00000000, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C84, 0xFE363C83, 0x00000027, 0x00000002, 0xFE363C83, 0x0000001E, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C83, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000006, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x00002062, 0x00000056, 0x00000000, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00080000, 0x00000043, 0x00000005, ShakeCam, 0x00000001, 0x00000000, 0x00000001, 0xF24A7C80, 0x00000013, 0x00000000, 0x00000057, 0x00000000, 0x00000013, 0x00000000, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C84, 0xFE363C83, 0x00000028, 0x00000002, 0xFE363C84, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C84, 0x0000001E, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000006, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x00002062, 0x00000056, 0x00000000, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00080000, 0x00000043, 0x00000005, ShakeCam, 0x00000001, 0x00000000, 0x00000001, 0xF24A7C80, 0x00000013, 0x00000000, 0x00000057, 0x00000000, 0x00000012, 0x00000000, 0x00000028, 0x00000002, 0xFE363C83, 0x0000001E, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C83, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000006, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x00002062, 0x00000056, 0x00000000, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00080000, 0x00000043, 0x00000005, ShakeCam, 0x00000001, 0x00000000, 0x00000001, 0xF24A7C80, 0x00000013, 0x00000000, 0x00000057, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000004, 0x00000001, 0x00000000, 0x00000003, 0x00000001, 0x0000000A, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_8021B960_4F2E00 -.word 0x00000001, 0x00680001, 0x0000000C, 0x00680000, 0x00000006, 0x0068000C, 0x00000009, 0x00680001, 0x00000008, 0x00680000, 0x0000000B, 0x00680000, 0x00000005, 0x00680000, 0x00000005, 0x00680000, 0x00000004, 0x0068000A, 0x00000000 - -dlabel D_8021B9AC_4F2E4C -.word 0x00000001, 0x0068000A, 0x0000000C, 0x00680007, 0x00000006, 0x0068000D, 0x00000009, 0x0068000A, 0x00000008, 0x00680007, 0x0000000B, 0x0068000A, 0x00000005, 0x0068000A, 0x00000005, 0x0068000A, 0x00000004, 0x0068000A, 0x00000000 - -dlabel D_8021B9F8_4F2E98 -.word 0x00000001, 0x00330006, 0x00000000 - -dlabel D_8021BA04_4F2EA4 -.word 0x00000001, 0x00680016, 0x00000000 - -dlabel D_8021BA10_4F2EB0 -.word 0x00000001, 0x00680016, 0x00000000 - -dlabel D_8021BA1C_4F2EBC -.word 0x00000001, 0x00000000, 0x00000000 - -dlabel D_8021BA28_4F2EC8 -.word 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000006, 0x00000014, 0x00000009, 0x00000000, 0x00000007, 0x00000000, 0x00000004, 0x0000001E, 0x00000003, 0x00000000, 0x0000000B, 0x00000000, 0x00000005, 0x0000001E, 0x0000000A, 0x0000003C, 0x00000008, 0x00000028, 0x0000001F, 0x00000000, 0x00000020, 0xFFFFFFFF, 0x00000025, 0x00000000, 0x00000022, 0x00000000, 0x00000024, 0xFFFFFFFF, 0x00000023, 0x00000000, 0x00000021, 0x00000000, 0x00000026, 0xFFFFFFFF, 0x00000027, 0xFFFFFFFF, 0x00000029, 0xFFFFFFFE, 0x00000000 - -dlabel D_8021BAD4_4F2F74 -.word 0x00020000, 0x01000000, 0x002800FF, D_8021B960_4F2E00, D_8021BA1C_4F2EBC, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00800001, 0x02000000, 0x002700FF, D_8021B960_4F2E00, D_8021BA1C_4F2EBC, 0x00000000, 0x00000000, 0xFBF10000, 0x00000000, 0x40120000, 0x03000000, 0x000000FF, D_8021B9F8_4F2E98, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x40120000, 0x04000000, 0x000000FF, D_8021B9F8_4F2E98, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x40120000, 0x05000000, 0x000000FF, D_8021B9F8_4F2E98, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00120001, 0x06000000, 0x000000FF, D_8021BA04_4F2EA4, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00120001, 0x07000000, 0x000000FF, D_8021BA04_4F2EA4, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00120001, 0x08000000, 0x000000FF, D_8021BA10_4F2EB0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_8021BBF4_4F3094 -.word 0x00000000, 0x00A1371E, 0x00080000, D_8021BAD4_4F2F74, D_8021BC1C_4F30BC, D_8021BA28_4F2EC8, 0x00000000, 0x00044600, 0x382D0000, 0xF6230A23 - -dlabel D_8021BC1C_4F30BC -.word 0x00000043, 0x00000003, BindTakeTurn, 0xFFFFFF81, D_8021CCD4_4F4174, 0x00000043, 0x00000003, BindIdle, 0xFFFFFF81, D_8021BE28_4F32C8, 0x00000043, 0x00000003, BindHandleEvent, 0xFFFFFF81, D_8021BFD0_4F3470, 0x00000043, 0x00000003, BindNextTurn, 0xFFFFFF81, D_8021F9C4_4F6E64, 0x00000043, 0x00000002, HPBarToHome, 0xFFFFFF81, 0x00000043, 0x00000005, ForceHomePos, 0xFFFFFF81, 0x00000061, 0x00000046, 0x0000000F, 0x00000043, 0x00000006, SetPartPos, 0xFFFFFF81, 0x00000003, 0x00000046, 0x00000046, 0x00000003, 0x00000043, 0x00000006, SetPartPos, 0xFFFFFF81, 0x00000004, 0x00000050, 0x00000046, 0xFFFFFFF9, 0x00000043, 0x00000006, SetPartPos, 0xFFFFFF81, 0x00000005, 0x0000003C, 0x00000046, 0xFFFFFFF9, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000008, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000003, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000004, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000002, 0x00000003, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000006, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000007, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x0000000A, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x0000000B, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x0000000C, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x0000000D, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021BE28_4F32C8 -.word 0x00000003, 0x00000001, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000008, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C80, 0x00000010, 0x00000002, 0xFE363C80, 0x00040000, 0x00000043, 0x00000005, SetTargetOffset, 0xFFFFFF81, 0x00000002, 0xFFFFFFF6, 0x00000016, 0x00000043, 0x00000005, func_8027D4C8, 0xFFFFFF81, 0x00000002, 0x00000002, 0xFFFFFFF8, 0x00000043, 0x00000005, b_area_isk_part_2_UnkBattleFunc1, 0xFFFFFFE7, 0x0000000F, 0x00000000, 0x00000014, 0x00000012, 0x00000000, 0x00000043, 0x00000005, SetTargetOffset, 0xFFFFFF81, 0x00000002, 0x00000000, 0x00000027, 0x00000043, 0x00000005, func_8027D4C8, 0xFFFFFF81, 0x00000002, 0xFFFFFFFB, 0xFFFFFFF1, 0x00000043, 0x00000005, b_area_isk_part_2_UnkBattleFunc1, 0xFFFFFFEF, 0x00000017, 0x0000000B, 0x00000020, 0x00000013, 0x00000000, 0x00000016, 0x00000001, 0x00000001, 0x00000043, 0x00000005, SetTargetOffset, 0xFFFFFF81, 0x00000002, 0xFFFFFFF6, 0x00000016, 0x00000043, 0x00000005, func_8027D4C8, 0xFFFFFF81, 0x00000002, 0x00000002, 0xFFFFFFF8, 0x00000043, 0x00000005, b_area_isk_part_2_UnkBattleFunc1, 0xFFFFFFE7, 0x0000000F, 0x00000000, 0x00000014, 0x00000023, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000004, 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021BFD0_4F3470 -.word 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000005, SetActorScale, 0xFFFFFF81, 0xF24A7E80, 0xF24A7E80, 0xF24A7E80, 0x00000043, 0x00000002, GetLastElement, 0xFE363C8E, 0x00000043, 0x00000003, GetLastEvent, 0xFFFFFF81, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000009, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00680006, 0x00000046, 0x00000001, DoNormalHit, 0x00000016, 0x00000001, 0x0000000A, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00680006, 0x00000046, 0x00000001, DoNormalHit, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x0000000D, 0xFE363C82, 0x0000000B, 0x00000002, 0xFE363C82, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x0000000D, 0x00000000, 0x00000046, 0x00000001, D_8021C974_4F3E14, 0x00000013, 0x00000000, 0x00000016, 0x00000001, 0x00000038, 0x00000016, 0x00000001, 0x0000000E, 0x00000024, 0x00000002, 0xFE363C80, 0x00000001, 0x00000024, 0x00000002, 0xFE363C81, 0x00680012, 0x00000024, 0x00000002, 0xFE363C82, 0x00680013, 0x00000046, 0x00000001, DoBurnHit, 0x00000016, 0x00000001, 0x00000024, 0x00000024, 0x00000002, 0xFE363C80, 0x00000001, 0x00000024, 0x00000002, 0xFE363C81, 0x00680012, 0x00000024, 0x00000002, 0xFE363C82, 0x00680013, 0x00000046, 0x00000001, DoBurnHit, 0x00000008, 0x00000001, 0x0000000A, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00680013, 0x00000046, 0x00000001, D_8021FA54_4F6EF4, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000000B, 0x00000046, 0x00000001, D_8021C748_4F3BE8, 0x00000016, 0x00000001, 0x0000002F, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0068000E, 0x00000046, 0x00000001, DoShockHit, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00680006, 0x00000046, 0x00000001, DoJumpBack, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000005, 0x00000000, 0x00000001, 0x00000000, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00680002, 0x00000046, 0x00000001, DoReturnHome, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A80E7, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000005, 0x00000000, 0x00000001, 0x00000000, 0x0000001D, 0x00000001, 0x00000017, 0x0000001D, 0x00000001, 0x00000019, 0x0000001D, 0x00000001, 0x0000001F, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000008, 0xFE363C81, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000001, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000001, 0xFE363C81, 0x0000000B, 0x00000002, 0xFE363C81, 0x00000000, 0x00000025, 0x00000002, 0xFE363C81, 0x0068000A, 0x00000012, 0x00000000, 0x00000025, 0x00000002, 0xFE363C81, 0x00680001, 0x00000013, 0x00000000, 0x00000012, 0x00000000, 0x00000025, 0x00000002, 0xFE363C81, 0x00680001, 0x00000013, 0x00000000, 0x00000046, 0x00000001, DoImmune, 0x00000020, 0x00000000, 0x00000016, 0x00000001, 0x0000001B, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000001, 0xFE363C81, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000000, 0x00000010, 0x00000002, 0xFE363C8E, 0x00000080, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x0000000B, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x0000000B, 0x00000001, 0x00000008, 0x00000001, 0x0000003C, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x0000001D, 0x00000001, 0x00000026, 0x0000001D, 0x00000001, 0x00000020, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00680006, 0x00000046, 0x00000001, DoNormalHit, 0x00000008, 0x00000001, 0x0000000A, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00680006, 0x00000046, 0x00000001, D_8021FA54_4F6EF4, 0x00000002, 0x00000000, 0x00000020, 0x00000000, 0x00000016, 0x00000001, 0x00000021, 0x00000046, 0x00000001, D_8021C748_4F3BE8, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00680006, 0x00000046, 0x00000001, D_8021FA54_4F6EF4, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000002A, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00680006, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00680002, 0x00000043, 0x00000002, SetGoalToHome, 0xFFFFFF81, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A9280, 0x00000043, 0x00000004, RunToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00680001, 0x00000016, 0x00000001, 0x0000002C, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00680006, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00680002, 0x00000043, 0x00000002, SetGoalToHome, 0xFFFFFF81, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A9280, 0x00000043, 0x00000004, RunToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00680001, 0x00000016, 0x00000001, 0x00000035, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00680001, 0x00000046, 0x00000001, DoReturnHome, 0x00000043, 0x00000002, HPBarToHome, 0xFFFFFF81, 0x00000016, 0x00000001, 0x00000031, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00680001, 0x00000046, 0x00000001, DoRecover, 0x0000001C, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021C748_4F3BE8 -.word 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00680006, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A7AE7, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A9280, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C81, 0x00000014, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0x00000096, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000001, 0x00000000, 0x00000028, 0x00000002, 0xFE363C81, 0x00000014, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A7AE7, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A9280, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0x00000082, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000005, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00680007, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00680008, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A7E80, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000008, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000002, SetGoalToHome, 0xFFFFFF81, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00680002, 0x00000043, 0x00000004, RunToGoal, 0xFFFFFF81, 0x0000000A, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00680001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021C974_4F3E14 -.word 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000008, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000002, func_8027D32C, 0xFFFFFF81, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000020E3, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00680006, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A7E1A, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C80, 0x0000000A, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000027, 0x00000002, 0xFE363C82, 0x00000018, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000010, 0x00000000, 0x00000001, 0x00000000, 0x00000056, 0x00000000, 0x00000043, 0x00000006, SetPartScale, 0xFFFFFF81, 0x00000001, 0xF24A7EE7, 0xF24A7C80, 0xF24A7E80, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000006, SetPartScale, 0xFFFFFF81, 0x00000001, 0xF24A7E80, 0xF24A7D4D, 0xF24A7E80, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000006, SetPartScale, 0xFFFFFF81, 0x00000001, 0xF24A7E80, 0xF24A7E80, 0xF24A7E80, 0x00000057, 0x00000000, 0x00000043, 0x00000002, StartRumble, 0x00000001, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000020E4, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00680007, 0x00000043, 0x00000005, ShakeCam, 0x00000001, 0x00000000, 0x00000005, 0xF24A8680, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C81, 0x00000028, 0x00000043, 0x0000000F, PlayEffect, 0x0000002F, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000014, 0x00000004, 0xFE363C8F, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x0068000A, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000020E5, 0x00000008, 0x00000001, 0x0000001E, 0x00000043, 0x00000002, RemoveEffect, 0xFE363C8F, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000008, 0x00000001, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000007, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000043, 0x00000004, SetIdleAnimations, 0xFFFFFF81, 0x00000001, D_8021B9AC_4F2E4C, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000005, ForceHomePos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000002, HPBarToHome, 0xFFFFFF81, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021CCD4_4F4174 -.word 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000000, 0x00000003, 0x00000001, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000008, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000000, 0x00000043, 0x00000003, ActorExists, 0x00000201, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x0000000C, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000000, 0x00000046, 0x00000001, D_8021E9C8_4F5E68, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000012, 0x00000000, 0x00000028, 0x00000002, 0xFE363C80, 0x00000001, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x0000000C, 0xFE363C80, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C80, 0x00000010, 0x00000002, 0xFE363C80, 0x00080000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000000, 0x00000001, 0x00000013, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000002, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000000, 0x00000046, 0x00000001, D_8021D81C_4F4CBC, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000000, 0x00000001, 0x00000012, 0x00000000, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00080000, 0x00000046, 0x00000001, D_8021D04C_4F44EC, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000000, 0x00000001, 0x00000012, 0x00000000, 0x00000046, 0x00000001, D_8021D81C_4F4CBC, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x0000001C, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000046, 0x00000001, D_8021D81C_4F4CBC, 0x00000023, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000007, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000046, 0x00000001, D_8021F80C_4F6CAC, 0x00000046, 0x00000001, D_8021F5E8_4F6A88, 0x00000004, 0x00000001, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021D04C_4F44EC -.word 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000002, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000001, 0x00000024, 0x00000002, 0xFE363C89, 0x00000005, 0x00000016, 0x00000001, 0x00000002, 0x00000024, 0x00000002, 0xFE363C89, 0x00000004, 0x00000016, 0x00000001, 0x00000003, 0x00000024, 0x00000002, 0xFE363C89, 0x00000003, 0x0000001C, 0x00000000, 0x00000002, 0x00000000, 0x00000023, 0x00000000, 0x00000028, 0x00000002, 0xFE363C80, 0x00000001, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000002, 0xFE363C80, 0x00000043, 0x00000002, UseBattleCamPreset, 0x0000000F, 0x00000043, 0x00000002, SetBattleCamZoom, 0x00000140, 0x00000043, 0x00000002, SetBattleCamOffsetZ, 0x00000000, 0x00000043, 0x00000003, func_8024EB84, 0xFFFFFF81, 0xFE363C89, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00680002, 0x00000043, 0x00000006, GetPartOffset, 0xFFFFFF81, 0xFE363C89, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C80, 0x00000014, 0x00000028, 0x00000002, 0xFE363C82, 0x00000003, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000004, RunToGoal, 0xFFFFFF81, 0x0000000A, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00680001, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00680004, 0x00000008, 0x00000001, 0x00000007, 0x00000043, 0x00000006, GetPartOffset, 0xFFFFFF81, 0xFE363C89, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C80, 0x00000014, 0x00000027, 0x00000002, 0xFE363C81, 0x00000028, 0x00000043, 0x00000004, SetPartJumpGravity, 0xFFFFFF81, 0xFE363C89, 0xF24A7DB4, 0x00000043, 0x00000008, JumpPartTo, 0xFFFFFF81, 0xFE363C89, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000005, 0x00000001, 0x00000008, 0x00000001, 0x00000008, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0xFE363C89, 0x00330005, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000002F9, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C8A, 0x00000000, 0x00000000, 0x00000001, 0x00000010, 0x00000014, 0x00000001, 0xFE363C8A, 0x0000001D, 0x00000001, 0x00000006, 0x0000001D, 0x00000001, 0x00000005, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00680005, 0x00000043, 0x00000004, SetPartMoveSpeed, 0xFFFFFF81, 0xFE363C89, 0xF24AB280, 0x00000043, 0x00000004, SetPartJumpGravity, 0xFFFFFF81, 0xFE363C89, 0xF24A7B4D, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x00000032, 0x00000024, 0x00000002, 0xFE363C81, 0xFFFFFFFB, 0x00000043, 0x00000009, FlyPartTo, 0xFFFFFF81, 0xFE363C89, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000000, 0x0000001E, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000005, GetActorPos, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x00000041, 0x00000024, 0x00000002, 0xFE363C81, 0xFFFFFFFB, 0x00000043, 0x00000004, SetPartMoveSpeed, 0xFFFFFF81, 0xFE363C89, 0xF24A9280, 0x00000043, 0x00000004, SetPartJumpGravity, 0xFFFFFF81, 0xFE363C89, 0xF24A7AE7, 0x00000043, 0x00000009, FlyPartTo, 0xFFFFFF81, 0xFE363C89, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000000, 0x0000000F, 0x00000000, 0x00000043, 0x00000005, SetPartFlagBits, 0xFFFFFF81, 0xFE363C89, 0x00000001, 0x00000001, 0x0000000A, 0x00000002, 0xFE363C8A, 0x00000005, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C80, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000002, SetGoalToHome, 0xFFFFFF81, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00680002, 0x00000043, 0x00000004, RunToGoal, 0xFFFFFF81, 0x0000000A, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00680001, 0x00000002, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00680005, 0x00000043, 0x00000004, SetPartMoveSpeed, 0xFFFFFF81, 0xFE363C89, 0xF24AB280, 0x00000043, 0x00000004, SetPartJumpGravity, 0xFFFFFF81, 0xFE363C89, 0xF24A7B4D, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000004, SetPartJumpGravity, 0xFFFFFF81, 0xFE363C89, 0xF24A7B4D, 0x00000043, 0x00000009, FlyPartTo, 0xFFFFFF81, 0xFE363C89, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000000, 0x0000001E, 0x00000000, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C88, 0x10000000, 0x00000000, 0x00000000, 0x00000003, 0x00000020, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000005, GetActorPos, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x00000037, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x00000004, SetPartMoveSpeed, 0xFFFFFF81, 0xFE363C89, 0xF24A9280, 0x00000043, 0x00000004, SetPartJumpGravity, 0xFFFFFF81, 0xFE363C89, 0xF24A7AE7, 0x00000043, 0x00000009, FlyPartTo, 0xFFFFFF81, 0xFE363C89, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000000, 0x00000019, 0x00000000, 0x00000043, 0x00000004, SetPartMoveSpeed, 0xFFFFFF81, 0xFE363C89, 0xF24A8A80, 0x00000028, 0x00000002, 0xFE363C80, 0x00000014, 0x00000043, 0x00000009, FlyPartTo, 0xFFFFFF81, 0xFE363C89, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000000, 0x00000015, 0x00000000, 0x00000043, 0x00000005, SetPartFlagBits, 0xFFFFFF81, 0xFE363C89, 0x00000001, 0x00000001, 0x00000008, 0x00000001, 0x00000013, 0x0000000A, 0x00000002, 0xFE363C88, 0x0000000A, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000001, YieldTurn, 0x00000043, 0x00000002, SetGoalToHome, 0xFFFFFF81, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00680002, 0x00000043, 0x00000004, RunToGoal, 0xFFFFFF81, 0x0000000A, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00680001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021D81C_4F4CBC -.word 0x00000043, 0x00000002, UseBattleCamPreset, 0x0000000F, 0x00000043, 0x00000002, SetBattleCamZoom, 0x0000015E, 0x00000043, 0x00000002, SetBattleCamOffsetZ, 0x00000000, 0x00000043, 0x00000002, BattleCamTargetActor, 0xFFFFFF81, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000028, 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000006, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x0000000D, 0x00000043, 0x00000002, BattleCamTargetActor, 0xFFFFFF81, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000014, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000006, ActorSpeak, 0x000D00E5, 0xFFFFFF81, 0x00000001, 0x00680003, 0x00680003, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000013, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000020E1, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00680003, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C81, 0x00000014, 0x00000043, 0x0000000F, PlayEffect, 0x00000071, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A7E80, 0x0000002D, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x0000001E, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000046, 0x00000043, 0x00000002, PlaySound, 0x000020E7, 0x00000043, 0x0000000F, PlayEffect, 0x0000004D, 0x00000000, 0x00000000, 0x0000003C, 0x00000000, 0xF24A7B4D, 0x00000000, 0xF24A801A, 0x000000FF, 0xF24A7AE7, 0x00000096, 0x00000000, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000003, GetStatusFlags, 0x00000000, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x0435D000, 0x00000043, 0x00000003, UseIdleAnimation, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0x00000000, 0x00000000, 0x0001002B, 0x00000008, 0x00000001, 0x00000031, 0x00000043, 0x00000002, PlaySound, 0x000020E9, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00680005, 0x00000008, 0x00000001, 0x00000008, 0x00000043, 0x00000004, SetAnimation, 0x00000000, 0x00000000, 0x00010014, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000002, StartRumble, 0x0000000A, 0x00000043, 0x00000002, PlaySound, 0x000020EA, 0x00000043, 0x00000005, ShakeCam, 0x00000001, 0x00000000, 0x00000005, 0xF24A8A80, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000004, SetAnimation, 0x00000000, 0x00000000, 0x00010028, 0x00000043, 0x00000005, GetActorPos, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C81, 0x00000014, 0x00000043, 0x0000000F, PlayEffect, 0x00000010, 0x00000002, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000014, 0x0000013B, 0x0000001E, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000002, PlaySound, 0x000020E8, 0x00000012, 0x00000000, 0x00000008, 0x00000001, 0x00000032, 0x00000043, 0x00000002, PlaySound, 0x000020E9, 0x00000008, 0x00000001, 0x00000012, 0x00000043, 0x00000002, StartRumble, 0x0000000A, 0x00000043, 0x00000002, PlaySound, 0x000020EA, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000002, PlaySound, 0x000020E8, 0x00000013, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000006, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000006, 0x00000001, 0x00000046, 0x00000001, D_8021E008_4F54A8, 0x00000016, 0x00000001, 0x00000001, 0x00000043, 0x00000003, GetActorHP, 0xFFFFFF81, 0xFE363C80, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000006, 0x00000002, 0x0000000D, 0x00000002, 0xFE363C80, 0x00000002, 0x00000046, 0x00000001, D_8021DDE8_4F5288, 0x00000012, 0x00000000, 0x00000046, 0x00000001, D_8021E008_4F54A8, 0x00000013, 0x00000000, 0x0000001C, 0x00000000, 0x00000043, 0x00000003, RandInt, 0x00000002, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000000, 0x00000043, 0x00000003, GetActorHP, 0xFFFFFF81, 0xFE363C80, 0x0000000D, 0x00000002, 0xFE363C80, 0x00000002, 0x00000046, 0x00000001, D_8021DDE8_4F5288, 0x00000012, 0x00000000, 0x00000046, 0x00000001, D_8021E008_4F54A8, 0x00000013, 0x00000000, 0x00000012, 0x00000000, 0x00000046, 0x00000001, D_8021E008_4F54A8, 0x00000013, 0x00000000, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021DDE8_4F5288 -.word 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000200, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000024, 0x00000002, 0xFE363C83, 0x000000AA, 0x00000043, 0x00000006, SetPartPos, 0xFFFFFF81, 0x00000008, 0xFE363C80, 0xFE363C83, 0xFE363C82, 0x00000043, 0x00000005, SetPartFlagBits, 0xFFFFFF81, 0x00000008, 0x00000001, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000008, 0x00680016, 0x00000043, 0x00000002, PlaySound, 0x000020EB, 0x00000043, 0x00000004, SetPartMoveSpeed, 0xFFFFFF81, 0x00000008, 0xF24A9A80, 0x00000043, 0x00000004, SetPartJumpGravity, 0xFFFFFF81, 0x00000008, 0xF24A7BB4, 0x00000043, 0x00000007, FallPartTo, 0xFFFFFF81, 0x00000008, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000014, 0x00000056, 0x00000000, 0x00000005, 0x00000001, 0x00000014, 0x00000043, 0x00000005, SetPartFlagBits, 0xFFFFFF81, 0x00000008, 0x00000001, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000005, SetPartFlagBits, 0xFFFFFF81, 0x00000008, 0x00000001, 0x00000001, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000057, 0x00000000, 0x00000043, 0x00000003, GetStatusFlags, 0x00000000, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x0035D000, 0x00000043, 0x00000004, SetAnimation, 0x00000000, 0x00000000, 0x00010032, 0x00000013, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x0000000D, 0x00000001, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C80, 0x08000000, 0x00000000, 0x00000000, 0x00000002, 0x00000020, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021E008_4F54A8 -.word 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C8A, 0x00000000, 0x00000000, 0x00000001, 0x00000010, 0x00000014, 0x00000001, 0xFE363C8A, 0x0000001D, 0x00000001, 0x00000006, 0x0000001D, 0x00000001, 0x00000005, 0x00000056, 0x00000000, 0x00000005, 0x00000001, 0x00000006, 0x00000043, 0x00000003, RandInt, 0x00000078, 0xFE363C80, 0x00000028, 0x00000002, 0xFE363C80, 0x00000096, 0x00000043, 0x00000003, RandInt, 0x0000005A, 0xFE363C81, 0x00000028, 0x00000002, 0xFE363C80, 0x00000028, 0x00000043, 0x00000002, PlaySound, 0x000020EB, 0x00000043, 0x00000004, func_8021875C_4EFBFC, 0xFE363C80, 0x00000000, 0xFE363C81, 0x00000043, 0x00000003, RandInt, 0x00000005, 0xFE363C80, 0x00000027, 0x00000002, 0xFE363C80, 0x00000005, 0x00000008, 0x00000001, 0xFE363C80, 0x00000006, 0x00000000, 0x00000057, 0x00000000, 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000100, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C8B, 0x00000000, 0x00000000, 0x00000001, 0x00000010, 0x00000014, 0x00000001, 0xFE363C8B, 0x00000016, 0x00000001, 0x00000006, 0x00000002, 0x00000000, 0x0000001C, 0x00000000, 0x00000043, 0x00000002, func_8026BF48, 0x00000001, 0x00000056, 0x00000000, 0x00000043, 0x00000002, PlaySound, 0x000020EB, 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x00000005, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000024, 0x00000002, 0xFE363C83, 0x000000AA, 0x00000043, 0x00000006, SetPartPos, 0xFFFFFF81, 0x00000006, 0xFE363C80, 0xFE363C83, 0xFE363C82, 0x00000043, 0x00000005, SetPartFlagBits, 0xFFFFFF81, 0x00000006, 0x00000001, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000006, 0x00680016, 0x00000043, 0x00000004, SetPartMoveSpeed, 0xFFFFFF81, 0x00000006, 0xF24A9A80, 0x00000043, 0x00000004, SetPartJumpGravity, 0xFFFFFF81, 0x00000006, 0xF24A7BB4, 0x00000043, 0x00000007, FallPartTo, 0xFFFFFF81, 0x00000006, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000014, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000006, 0x00680017, 0x0000000A, 0x00000002, 0xFE363C8A, 0x00000005, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C80, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000057, 0x00000000, 0x00000008, 0x00000001, 0x00000019, 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000100, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C84, 0xFE363C85, 0xFE363C86, 0x00000028, 0x00000002, 0xFE363C84, 0x00000005, 0x00000027, 0x00000002, 0xFE363C85, 0x00000005, 0x00000024, 0x00000002, 0xFE363C87, 0x000000AA, 0x00000043, 0x00000006, SetPartPos, 0xFFFFFF81, 0x00000007, 0xFE363C84, 0xFE363C87, 0xFE363C86, 0x00000043, 0x00000005, SetPartFlagBits, 0xFFFFFF81, 0x00000007, 0x00000001, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000007, 0x00680016, 0x00000043, 0x00000002, PlaySound, 0x000020EB, 0x00000043, 0x00000004, SetPartMoveSpeed, 0xFFFFFF81, 0x00000007, 0xF24A9A80, 0x00000043, 0x00000004, SetPartJumpGravity, 0xFFFFFF81, 0x00000007, 0xF24A7BB4, 0x00000043, 0x00000007, FallPartTo, 0xFFFFFF81, 0x00000007, 0xFE363C84, 0xFE363C85, 0xFE363C86, 0x00000014, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000006, 0x00680017, 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000100, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C80, 0x10000000, 0x00000000, 0x00000000, 0x00000002, 0x00000020, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000005, SetPartFlagBits, 0xFFFFFF81, 0x00000007, 0x00000001, 0x00000001, 0x00000043, 0x00000002, func_8026BF48, 0x00000000, 0x00000002, 0x00000000, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x00000056, 0x00000000, 0x00000005, 0x00000001, 0x00000006, 0x00000043, 0x00000003, RandInt, 0x00000078, 0xFE363C80, 0x00000028, 0x00000002, 0xFE363C80, 0x00000096, 0x00000043, 0x00000003, RandInt, 0x0000005A, 0xFE363C81, 0x00000028, 0x00000002, 0xFE363C80, 0x00000028, 0x00000043, 0x00000002, PlaySound, 0x000020EB, 0x00000043, 0x00000004, func_8021875C_4EFBFC, 0xFE363C80, 0x00000000, 0xFE363C81, 0x00000043, 0x00000003, RandInt, 0x00000005, 0xFE363C80, 0x00000027, 0x00000002, 0xFE363C80, 0x00000005, 0x00000008, 0x00000001, 0xFE363C80, 0x00000006, 0x00000000, 0x00000057, 0x00000000, 0x00000043, 0x00000002, func_8026BF48, 0x00000001, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000019, 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000100, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C84, 0xFE363C85, 0xFE363C86, 0x00000028, 0x00000002, 0xFE363C84, 0x00000005, 0x00000027, 0x00000002, 0xFE363C85, 0x00000005, 0x00000024, 0x00000002, 0xFE363C87, 0x000000AA, 0x00000043, 0x00000006, SetPartPos, 0xFFFFFF81, 0x00000007, 0xFE363C84, 0xFE363C87, 0xFE363C86, 0x00000043, 0x00000005, SetPartFlagBits, 0xFFFFFF81, 0x00000007, 0x00000001, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000007, 0x00680016, 0x00000043, 0x00000002, PlaySound, 0x000020EB, 0x00000043, 0x00000004, SetPartMoveSpeed, 0xFFFFFF81, 0x00000007, 0xF24A9A80, 0x00000043, 0x00000004, SetPartJumpGravity, 0xFFFFFF81, 0x00000007, 0xF24A7BB4, 0x00000043, 0x00000007, FallPartTo, 0xFFFFFF81, 0x00000007, 0xFE363C84, 0xFE363C85, 0xFE363C86, 0x00000014, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000006, 0x00680017, 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000100, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C80, 0x10000000, 0x00000000, 0x00000000, 0x00000002, 0x00000020, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000005, SetPartFlagBits, 0xFFFFFF81, 0x00000007, 0x00000001, 0x00000001, 0x00000043, 0x00000002, func_8026BF48, 0x00000000, 0x00000057, 0x00000000, 0x00000043, 0x00000002, PlaySound, 0x000020EB, 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x00000005, 0x00000027, 0x00000002, 0xFE363C81, 0x00000005, 0x00000024, 0x00000002, 0xFE363C83, 0x000000AA, 0x00000043, 0x00000006, SetPartPos, 0xFFFFFF81, 0x00000006, 0xFE363C80, 0xFE363C83, 0xFE363C82, 0x00000043, 0x00000005, SetPartFlagBits, 0xFFFFFF81, 0x00000006, 0x00000001, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000006, 0x00680016, 0x00000043, 0x00000004, SetPartMoveSpeed, 0xFFFFFF81, 0x00000006, 0xF24A9A80, 0x00000043, 0x00000004, SetPartJumpGravity, 0xFFFFFF81, 0x00000006, 0xF24A7BB4, 0x00000043, 0x00000007, FallPartTo, 0xFFFFFF81, 0x00000006, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000014, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000006, 0x00680017, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C80, 0x10000000, 0x00000000, 0x00000000, 0x00000002, 0x00000020, 0x00000008, 0x00000001, 0x00000013, 0x00000043, 0x00000005, SetPartFlagBits, 0xFFFFFF81, 0x00000006, 0x00000001, 0x00000001, 0x0000000A, 0x00000002, 0xFE363C80, 0x0000000A, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021E9A0_4F5E40 -.word 0x000000BE, 0x00000000, 0x00000000 - -dlabel D_8021E9AC_4F5E4C -.word D_80218E9C_4F033C, D_8021E9A0_4F5E40, 0x00000064, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_8021E9C8_4F5E68 -.word 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C80, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000003, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x0000000D, 0x00000043, 0x00000002, BattleCamTargetActor, 0xFFFFFF81, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000014, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00680003, 0x00000043, 0x00000006, ActorSpeak, 0x000D00E6, 0xFFFFFF81, 0x00000001, 0x00680003, 0x00680003, 0x00000012, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x0000000D, 0x00000043, 0x00000002, BattleCamTargetActor, 0xFFFFFF81, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000014, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00680003, 0x00000043, 0x00000006, ActorSpeak, 0x000D00E7, 0xFFFFFF81, 0x00000001, 0x00680003, 0x00680003, 0x00000013, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00680001, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000008, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x0000000D, 0x00000043, 0x00000004, func_8024ECF8, 0xFFFFFFFF, 0x00000001, 0x00000000, 0x00000043, 0x00000002, SetBattleCamZoom, 0x000000E1, 0x00000043, 0x00000002, SetBattleCamOffsetZ, 0xFFFFFFE2, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000028, 0x00000012, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x0000000D, 0x00000043, 0x00000004, func_8024ECF8, 0xFFFFFFFF, 0x00000001, 0x00000000, 0x00000043, 0x00000002, SetBattleCamZoom, 0x000000C8, 0x00000043, 0x00000002, SetBattleCamOffsetZ, 0x00000023, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000028, 0x00000013, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000005, 0x00000000, 0x00000056, 0x00000000, 0x00000003, 0x00000001, 0x00000000, 0x00000043, 0x00000002, StartRumble, 0x00000001, 0x00000043, 0x00000005, ShakeCam, 0x00000001, 0x00000000, 0x00000002, 0xF24A7C80, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000005, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x0000003C, 0x00000004, 0x00000001, 0x00000000, 0x00000013, 0x00000000, 0x00000057, 0x00000000, 0x00000043, 0x00000002, PlaySound, 0x0000026B, 0x00000003, 0x00000001, 0x0000000A, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000005, 0xFE363C8D, 0x00000043, 0x00000005, TranslateModel, 0x0000001F, 0x00000000, 0xFE363C8D, 0x00000000, 0x00000027, 0x00000002, 0xFE363C8D, 0x00000001, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000005, 0xFE363C8D, 0x00000008, 0x00000001, 0x00000001, 0x0000000C, 0x00000002, 0xFE363C8D, 0x0000003C, 0x00000004, 0x00000001, 0x0000000A, 0x00000013, 0x00000000, 0x00000043, 0x00000002, StopSound, 0x0000026B, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000003, SummonEnemy, D_8021E9AC_4F5E4C, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8B, 0xFE363C80, 0x00000024, 0x00000002, 0xFE363C80, 0x000000A5, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, 0xFFFFFFE2, 0x00000043, 0x00000005, SetActorPos, 0xFE363C8B, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000005, SetActorDispOffset, 0xFE363C8B, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000003, UseIdleAnimation, 0xFE363C8B, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFE363C8B, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFE363C8B, 0x00000001, 0x00690005, 0x00000043, 0x00000003, SetActorSpeed, 0xFE363C8B, 0xF24A9280, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFE363C8B, 0xF24A7DB4, 0x00000024, 0x00000002, 0xFE363C80, 0x0000005A, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, 0xFFFFFFE2, 0x00000024, 0x00000002, 0xFE363C83, 0x00000008, 0x00000024, 0x00000002, 0xFE363C84, 0x0000001E, 0x00000046, 0x00000001, D_8021F42C_4F68CC, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000003, 0xFE363C85, 0x0000000A, 0x00000002, 0xFE363C85, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000013, 0x00000043, 0x00000002, SetBattleCamZoom, 0x000000A0, 0x00000043, 0x00000005, GetActorPos, 0xFE363C8B, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000024, 0x00000002, 0xFE363C81, 0x0000003C, 0x00000043, 0x00000004, SetBattleCamTarget, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000008, 0x00000005, 0x00000001, 0x00000003, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000013, 0x00000043, 0x00000002, SetBattleCamZoom, 0x00000096, 0x00000043, 0x00000004, SetBattleCamTarget, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000005, 0x00000008, 0x00000001, 0x00000004, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x00002061, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000013, 0x00000043, 0x00000002, SetBattleCamZoom, 0x000000C8, 0x00000043, 0x00000004, SetBattleCamTarget, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000005, 0x00000008, 0x00000001, 0x00000004, 0x00000006, 0x00000000, 0x00000012, 0x00000000, 0x00000008, 0x00000001, 0x00000008, 0x00000043, 0x00000005, SetGoalPos, 0xFE363C8B, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFE363C8B, 0x00000008, 0x00000000, 0x00000001, 0x00000000, 0x00000056, 0x00000000, 0x00000043, 0x00000005, ShakeCam, 0x00000001, 0x00000000, 0x00000001, 0xF24A7C80, 0x00000057, 0x00000000, 0x00000043, 0x00000005, SetGoalPos, 0xFE363C8B, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFE363C8B, 0x00000008, 0x00000000, 0x00000001, 0x00000000, 0x00000056, 0x00000000, 0x00000043, 0x00000005, ShakeCam, 0x00000001, 0x00000000, 0x00000001, 0xF24A7C80, 0x00000057, 0x00000000, 0x00000008, 0x00000001, 0x00000008, 0x00000013, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000002, MoveBattleCamOver, 0x0000001E, 0x00000043, 0x00000003, SetActorSpeed, 0xFE363C8B, 0xF24A8680, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFE363C8B, 0xF24A7DB4, 0x00000024, 0x00000002, 0xFE363C80, 0x00000014, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, 0x00000014, 0x00000024, 0x00000002, 0xFE363C83, 0x00000008, 0x00000024, 0x00000002, 0xFE363C84, 0x00000014, 0x00000046, 0x00000001, D_8021F42C_4F68CC, 0x00000043, 0x00000005, GetActorPos, 0xFE363C8B, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000005, ForceHomePos, 0xFE363C8B, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, SetPartPos, 0xFE363C8B, 0x00000002, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000002, HPBarToHome, 0xFE363C8B, 0x00000043, 0x00000003, SetActorSpeed, 0xFE363C8B, 0xF24A9280, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFE363C8B, 0xF24A7DB4, 0x00000043, 0x00000003, EnableIdleScript, 0xFE363C8B, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFE363C8B, 0x00000001, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000005, 0x0000003C, 0x00000056, 0x00000000, 0x00000003, 0x00000001, 0x00000028, 0x00000043, 0x00000002, StartRumble, 0x00000001, 0x00000043, 0x00000005, ShakeCam, 0x00000001, 0x00000000, 0x00000002, 0xF24A7C80, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000005, 0xFE363C80, 0x0000000B, 0x00000002, 0xFE363C80, 0x00000000, 0x00000004, 0x00000001, 0x00000028, 0x00000013, 0x00000000, 0x00000057, 0x00000000, 0x00000043, 0x00000002, PlaySound, 0x0000026B, 0x00000003, 0x00000001, 0x00000032, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000005, 0xFE363C8D, 0x00000043, 0x00000005, TranslateModel, 0x0000001F, 0x00000000, 0xFE363C8D, 0x00000000, 0x00000028, 0x00000002, 0xFE363C8D, 0x00000001, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000005, 0xFE363C8D, 0x00000008, 0x00000001, 0x00000001, 0x0000000D, 0x00000002, 0xFE363C8D, 0x00000000, 0x00000004, 0x00000001, 0x00000032, 0x00000013, 0x00000000, 0x00000043, 0x00000002, StopSound, 0x0000026B, 0x00000043, 0x00000002, PlaySound, 0x0000026C, 0x00000043, 0x00000005, ShakeCam, 0x00000001, 0x00000000, 0x00000004, 0xF24A7C80, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000003, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021F42C_4F68CC -.word 0x00000003, 0x00000001, 0x00000014, 0x00000043, 0x00000005, GetActorPos, 0xFE363C8B, 0xFE363C85, 0xFE363C86, 0xFE363C87, 0x0000000A, 0x00000002, 0xFE363C85, 0xFE363C80, 0x00000004, 0x00000001, 0x0000001E, 0x00000013, 0x00000000, 0x00000024, 0x00000002, 0xFE363C86, 0xFE363C85, 0x00000028, 0x00000002, 0xFE363C86, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C86, 0xFE363C84, 0x00000043, 0x00000005, SetGoalPos, 0xFE363C8B, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFE363C8B, 0xFE363C83, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x00002062, 0x00000056, 0x00000000, 0x00000043, 0x00000005, ShakeCam, 0x00000001, 0x00000000, 0x00000001, 0xF24A7C80, 0x00000057, 0x00000000, 0x00000012, 0x00000000, 0x00000028, 0x00000002, 0xFE363C85, 0xFE363C84, 0x00000043, 0x00000005, SetGoalPos, 0xFE363C8B, 0xFE363C85, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFE363C8B, 0xFE363C83, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x00002062, 0x00000056, 0x00000000, 0x00000043, 0x00000005, ShakeCam, 0x00000001, 0x00000000, 0x00000001, 0xF24A7C80, 0x00000057, 0x00000000, 0x00000013, 0x00000000, 0x00000004, 0x00000001, 0x00000014, 0x00000003, 0x00000001, 0x0000001E, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021F5E8_4F6A88 -.word 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000007, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x0000000D, 0x00000043, 0x00000002, BattleCamTargetActor, 0xFFFFFF81, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000020E1, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00680008, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C81, 0x00000014, 0x00000043, 0x0000000F, PlayEffect, 0x00000071, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A7E80, 0x0000002D, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x0000002D, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000002, MoveBattleCamOver, 0x0000003C, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000020E6, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A7AE7, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0x00000061, 0x00000046, 0x0000000F, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x0000002D, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000020BA, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000003B4, 0x00000057, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000008, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000005, ForceHomePos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000002, HPBarToHome, 0xFFFFFF81, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021F80C_4F6CAC -.word 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00680008, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A7E80, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000008, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000020BA, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000003B4, 0x00000057, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00680001, 0x00000043, 0x00000004, SetIdleAnimations, 0xFFFFFF81, 0x00000001, D_8021B960_4F2E00, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000004, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x0000000D, 0x00000043, 0x00000002, BattleCamTargetActor, 0xFFFFFF81, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000014, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000006, ActorSpeak, 0x000D00E4, 0xFFFFFF81, 0x00000001, 0x0068000B, 0x00680001, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000004, 0x00000001, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021F9C4_4F6E64 -.word 0x00000043, 0x00000002, GetBattlePhase, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x0000000A, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x0000000A, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x0000000A, 0x00000001, 0x00000023, 0x00000000, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021FA54_4F6EF4 -.word 0x00000043, 0x00000003, ActorExists, 0x00000201, 0xFE363C82, 0x0000000B, 0x00000002, 0xFE363C82, 0x00000000, 0x00000043, 0x00000003, GetActorHP, 0x00000201, 0xFE363C82, 0x0000000B, 0x00000002, 0xFE363C82, 0x00000000, 0x00000056, 0x00000000, 0x00000043, 0x00000002, func_8027D32C, 0x00000201, 0x00000043, 0x00000003, EnableIdleScript, 0x00000201, 0x00000000, 0x00000043, 0x00000003, UseIdleAnimation, 0x00000201, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0x00000201, 0x00000001, 0x00690006, 0x00000008, 0x00000001, 0x0000000A, 0x00000024, 0x00000002, 0xFE363C82, 0x00000000, 0x00000005, 0x00000001, 0x00000018, 0x00000043, 0x00000003, SetActorYaw, 0x00000201, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C82, 0x0000001E, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000043, 0x00000003, SetActorYaw, 0x00000201, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0x00000201, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C81, 0x0000000A, 0x00000043, 0x0000000F, PlayEffect, 0x00000001, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0x00000201, 0x000003E5, 0x00000024, 0x00000002, 0xFE363C83, 0x00000000, 0x00000005, 0x00000001, 0x0000000C, 0x00000043, 0x00000005, SetActorRotation, 0x00000201, 0xFE363C83, 0x00000000, 0x00000000, 0x00000027, 0x00000002, 0xFE363C83, 0x00000008, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000043, 0x00000002, RemoveActor, 0x00000201, 0x00000057, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000046, 0x00000001, D_8029AF08, 0x00000003, 0x00000001, 0x00000000, 0x00000043, 0x00000003, ActorExists, 0x00000201, 0xFE363C80, 0x0000000B, 0x00000002, 0xFE363C80, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000004, 0x00000001, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000002, RemoveActor, 0xFFFFFF81, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000 - -dlabel D_8021FCF0_4F7190 -.word 0x00000043, 0x00000002, SetSpriteShading, 0xFFFFFFFF, 0x00000043, 0x00000005, SetCamBGColor, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021FD2C_4F71CC -.word 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021FD3C_4F71DC -.word D_80220500_4F79A0, D_802204F0_4F7990, 0x00000000, D_8021FCF0_4F7190, D_8021FD2C_4F71CC, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_8021FD70_4F7210 -.word 0x00000043, 0x00000002, SetSpriteShading, 0xFFFFFFFF, 0x00000043, 0x00000005, SetCamBGColor, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021FDAC_4F724C -.word 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021FDBC_4F725C -.word D_80220528_4F79C8, D_80220518_4F79B8, D_80220508_4F79A8, D_8021FD70_4F7210, D_8021FDAC_4F724C, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_8021FDF0_4F7290 -.word 0x00000043, 0x00000002, SetSpriteShading, 0x000C0000, 0x00000043, 0x00000005, SetCamBGColor, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021FE2C_4F72CC -.word 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021FE3C_4F72DC -.word 0x0000001F, 0x0000001E, 0x00000021, 0x00000000 - -dlabel D_8021FE4C_4F72EC -.word D_80220550_4F79F0, D_80220540_4F79E0, D_80220530_4F79D0, D_8021FDF0_4F7290, D_8021FE2C_4F72CC, 0x00000000, D_8021FE3C_4F72DC, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_8021FE80_4F7320 -.word 0x00000043, 0x00000002, SetSpriteShading, 0xFFFFFFFF, 0x00000043, 0x00000005, SetCamBGColor, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x00000007, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x00000008, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x00000009, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x0000000F, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x00000010, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x00000011, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021FF34_4F73D4 -.word 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021FF44_4F73E4 -.word 0x0000001F, 0x0000001E, 0x00000021, 0x00000000 - -dlabel D_8021FF54_4F73F4 -.word D_80220578_4F7A18, D_80220568_4F7A08, D_80220558_4F79F8, D_8021FE80_4F7320, D_8021FF34_4F73D4, 0x00000000, D_8021FF44_4F73E4, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_8021FF80_4F7420 -.word 0x00000043, 0x00000002, SetSpriteShading, 0xFFFFFFFF, 0x00000043, 0x00000005, SetCamBGColor, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x0000000E, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x0000000B, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021FFE4_4F7484 -.word 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021FFF4_4F7494 -.word 0x0000001F, 0x0000001E, 0x00000021, 0x00000000 - -dlabel D_80220004_4F74A4 -.word D_802205A0_4F7A40, D_80220590_4F7A30, D_80220580_4F7A20, D_8021FF80_4F7420, D_8021FFE4_4F7484, 0x00000000, D_8021FFF4_4F7494, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_80220030_4F74D0 -.word 0x00000043, 0x00000002, SetSpriteShading, 0xFFFFFFFF, 0x00000043, 0x00000005, SetCamBGColor, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8022006C_4F750C -.word 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8022007C_4F751C -.word D_802205D0_4F7A70, D_802205C0_4F7A60, D_802205B0_4F7A50, D_80220030_4F74D0, D_8022006C_4F750C, D_802205A8_4F7A48, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_802200B0_4F7550 -.word 0x00000043, 0x00000002, SetSpriteShading, 0xFFFFFFFF, 0x00000043, 0x00000005, SetCamBGColor, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802200EC_4F758C -.word 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802200FC_4F759C -.word D_802205F8_4F7A98, D_802205E8_4F7A88, D_802205D8_4F7A78, D_802200B0_4F7550, D_802200EC_4F758C, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_80220130_4F75D0 -.word 0x00000043, 0x00000002, SetSpriteShading, 0xFFFFFFFF, 0x00000043, 0x00000005, SetCamBGColor, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000001, func_80218850_4EFCF0, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80220178_4F7618 -.word 0x00000043, 0x00000001, func_802188E4_4EFD84, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80220194_4F7634 -.word 0x00000033, 0x00000034, 0x00000000 - -dlabel D_802201A0_4F7640 -.word D_80220620_4F7AC0, D_80220610_4F7AB0, D_80220600_4F7AA0, D_80220130_4F75D0, D_80220178_4F7618, 0x00000000, D_80220194_4F7634, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_802201D0_4F7670 -.word 0x00000043, 0x00000002, SetSpriteShading, 0xFFFFFFFF, 0x00000043, 0x00000005, SetCamBGColor, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000001, func_80218920_4EFDC0, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80220218_4F76B8 -.word 0x00000043, 0x00000001, func_802189B0_4EFE50, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80220234_4F76D4 -.word D_80220648_4F7AE8, D_80220638_4F7AD8, D_80220628_4F7AC8, D_802201D0_4F7670, D_80220218_4F76B8, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_80220260_4F7700 -.word 0x00000043, 0x00000002, SetSpriteShading, 0xFFFFFFFF, 0x00000043, 0x00000005, SetCamBGColor, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000001, func_802189F0_4EFE90, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802202A8_4F7748 -.word 0x00000043, 0x00000001, func_80218A38_4EFED8, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802202C4_4F7764 -.word D_80220670_4F7B10, D_80220660_4F7B00, D_80220650_4F7AF0, D_80220260_4F7700, D_802202A8_4F7748, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_802202F0_4F7790 -.word 0x00000043, 0x00000002, SetSpriteShading, 0xFFFFFFFF, 0x00000043, 0x00000005, SetCamBGColor, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000001, func_80218A60_4EFF00, 0x00000043, 0x00000003, EnableModel, 0x00000017, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8022034C_4F77EC -.word 0x00000043, 0x00000001, func_80218AA8_4EFF48, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80220368_4F7808 -.word D_80220698_4F7B38, D_80220688_4F7B28, D_80220678_4F7B18, D_802202F0_4F7790, D_8022034C_4F77EC, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_80220390_4F7830 -.word 0x00000043, 0x00000002, SetSpriteShading, 0xFFFFFFFF, 0x00000043, 0x00000005, SetCamBGColor, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000001, func_80218AD0_4EFF70, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802203D8_4F7878 -.word 0x00000043, 0x00000001, func_80218B18_4EFFB8, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802203F4_4F7894 -.word D_802206C0_4F7B60, D_802206B0_4F7B50, D_802206A0_4F7B40, D_80220390_4F7830, D_802203D8_4F7878, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_80220420_4F78C0 -.word 0x00000061, 0x00000046, 0x00000011 - -dlabel D_8022042C_4F78CC -.word D_8021BBF4_4F3094, D_80220420_4F78C0, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_802206C8_4F7B68, 0x00000001, D_8022042C_4F78CC, D_8021FDBC_4F725C, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_80220734_4F7BD4, D_8021FD3C_4F71DC, D_8022072C_4F7BCC, D_8021FDBC_4F725C, D_80220724_4F7BC4, D_8021FE4C_4F72EC, D_8022071C_4F7BBC, D_8021FF54_4F73F4, D_80220714_4F7BB4, D_80220004_4F74A4, D_8022070C_4F7BAC, D_8022007C_4F751C, D_80220704_4F7BA4, D_802200FC_4F759C, D_802206FC_4F7B9C, D_802201A0_4F7640, D_802206F4_4F7B94, D_80220234_4F76D4, D_802206EC_4F7B8C, D_802202C4_4F7764, D_802206E4_4F7B84, D_80220368_4F7808, D_802206DC_4F7B7C, D_802203F4_4F7894, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_802204E0_4F7980 -.double 0.2, 0.0 - -dlabel D_802204F0_4F7990 -.word 0x69736B5F, 0x62743030, 0x5F736861, 0x70650000 - -dlabel D_80220500_4F79A0 -.word 0x69736B5F, 0x74657800 - -dlabel D_80220508_4F79A8 -.word 0x69736B5F, 0x62743031, 0x5F686974, 0x00000000 - -dlabel D_80220518_4F79B8 -.word 0x69736B5F, 0x62743031, 0x5F736861, 0x70650000 - -dlabel D_80220528_4F79C8 -.word 0x69736B5F, 0x74657800 - -dlabel D_80220530_4F79D0 -.word 0x69736B5F, 0x62743032, 0x5F686974, 0x00000000 - -dlabel D_80220540_4F79E0 -.word 0x69736B5F, 0x62743032, 0x5F736861, 0x70650000 - -dlabel D_80220550_4F79F0 -.word 0x69736B5F, 0x74657800 - -dlabel D_80220558_4F79F8 -.word 0x69736B5F, 0x62743032, 0x5F686974, 0x00000000 - -dlabel D_80220568_4F7A08 -.word 0x69736B5F, 0x62743032, 0x5F736861, 0x70650000 - -dlabel D_80220578_4F7A18 -.word 0x69736B5F, 0x74657800 - -dlabel D_80220580_4F7A20 -.word 0x69736B5F, 0x62743032, 0x5F686974, 0x00000000 - -dlabel D_80220590_4F7A30 -.word 0x69736B5F, 0x62743032, 0x5F736861, 0x70650000 - -dlabel D_802205A0_4F7A40 -.word 0x69736B5F, 0x74657800 - -dlabel D_802205A8_4F7A48 -.word 0x73626B33, 0x5F626700 - -dlabel D_802205B0_4F7A50 -.word 0x69736B5F, 0x62743033, 0x5F686974, 0x00000000 - -dlabel D_802205C0_4F7A60 -.word 0x69736B5F, 0x62743033, 0x5F736861, 0x70650000 - -dlabel D_802205D0_4F7A70 -.word 0x69736B5F, 0x74657800 - -dlabel D_802205D8_4F7A78 -.word 0x69736B5F, 0x62743033, 0x5F686974, 0x00000000 - -dlabel D_802205E8_4F7A88 -.word 0x69736B5F, 0x62743033, 0x5F736861, 0x70650000 - -dlabel D_802205F8_4F7A98 -.word 0x69736B5F, 0x74657800 - -dlabel D_80220600_4F7AA0 -.word 0x69736B5F, 0x62743034, 0x5F686974, 0x00000000 - -dlabel D_80220610_4F7AB0 -.word 0x69736B5F, 0x62743034, 0x5F736861, 0x70650000 - -dlabel D_80220620_4F7AC0 -.word 0x69736B5F, 0x74657800 - -dlabel D_80220628_4F7AC8 -.word 0x69736B5F, 0x62743035, 0x5F686974, 0x00000000 - -dlabel D_80220638_4F7AD8 -.word 0x69736B5F, 0x62743035, 0x5F736861, 0x70650000 - -dlabel D_80220648_4F7AE8 -.word 0x69736B5F, 0x74657800 - -dlabel D_80220650_4F7AF0 -.word 0x69736B5F, 0x62743036, 0x5F686974, 0x00000000 - -dlabel D_80220660_4F7B00 -.word 0x69736B5F, 0x62743036, 0x5F736861, 0x70650000 - -dlabel D_80220670_4F7B10 -.word 0x69736B5F, 0x74657800 - -dlabel D_80220678_4F7B18 -.word 0x69736B5F, 0x62743036, 0x5F686974, 0x00000000 - -dlabel D_80220688_4F7B28 -.word 0x69736B5F, 0x62743036, 0x5F736861, 0x70650000 - -dlabel D_80220698_4F7B38 -.word 0x69736B5F, 0x74657800 - -dlabel D_802206A0_4F7B40 -.word 0x69736B5F, 0x62743037, 0x5F686974, 0x00000000 - -dlabel D_802206B0_4F7B50 -.word 0x69736B5F, 0x62743037, 0x5F736861, 0x70650000 - -dlabel D_802206C0_4F7B60 -.word 0x69736B5F, 0x74657800 - -dlabel D_802206C8_4F7B68 -.word 0x834A815B, 0x83818393, 0x8140838F, 0x8393838F, 0x83930000 - -dlabel D_802206DC_4F7B7C -.word 0x69736B5F, 0x30370000 - -dlabel D_802206E4_4F7B84 -.word 0x69736B5F, 0x30366200 - -dlabel D_802206EC_4F7B8C -.word 0x69736B5F, 0x30360000 - -dlabel D_802206F4_4F7B94 -.word 0x69736B5F, 0x30350000 - -dlabel D_802206FC_4F7B9C -.word 0x69736B5F, 0x30340000 - -dlabel D_80220704_4F7BA4 -.word 0x69736B5F, 0x30336200 - -dlabel D_8022070C_4F7BAC -.word 0x69736B5F, 0x30330000 - -dlabel D_80220714_4F7BB4 -.word 0x69736B5F, 0x30326300 - -dlabel D_8022071C_4F7BBC -.word 0x69736B5F, 0x30326200 - -dlabel D_80220724_4F7BC4 -.word 0x69736B5F, 0x30320000 - -dlabel D_8022072C_4F7BCC -.word 0x69736B5F, 0x30310000 - -dlabel D_80220734_4F7BD4 -.word 0x69736B5F, 0x30300000, 0x00000000 diff --git a/ver/us/asm/data/battle/area_mim/4F7FA0.data.s b/ver/us/asm/data/battle/area_mim/4F7FA0.data.s deleted file mode 100644 index 94380c0b96..0000000000 --- a/ver/us/asm/data/battle/area_mim/4F7FA0.data.s +++ /dev/null @@ -1,246 +0,0 @@ -.include "macro.inc" - -.section .data - -dlabel D_802183C0_4F7FA0 -.word 0x00000001, 0x00000000, 0x00000000 - -dlabel D_802183CC_4F7FAC -.word 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000006, 0x0000005F, 0x00000009, 0x0000005A, 0x00000007, 0x00000000, 0x00000004, 0x0000005A, 0x00000003, 0x00000000, 0x0000000B, 0x00000046, 0x00000005, 0x0000004B, 0x0000000A, 0x0000004B, 0x00000008, 0x0000005A, 0x0000001F, 0x00000000, 0x00000020, 0xFFFFFFFF, 0x00000025, 0x00000000, 0x00000022, 0x00000000, 0x00000024, 0x00000000, 0x00000023, 0x00000000, 0x00000021, 0x00000000, 0x00000026, 0x00000000, 0x00000027, 0x00000000, 0x00000029, 0x00000000, 0x00000000 - -dlabel D_80218478_4F8058 -.word 0x00800000, 0x01000000, 0x001400FF, D_802184C4_4F80A4, D_802183C0_4F7FA0, 0x00000000, 0x00000000, 0x00F60000, 0x00000000 - -dlabel D_8021849C_4F807C -.word 0x00000000, 0x001A0B06, 0x00010000, D_80218478_4F8058, D_80218510_4F80F0, D_802183CC_4F7FAC, 0x285A5A55, 0x5F006401, 0x211C0000, 0xF6140A14 - -dlabel D_802184C4_4F80A4 -.word 0x00000001, 0x002B0101, 0x0000000C, 0x002B0100, 0x00000006, 0x002B010E, 0x00000009, 0x002B0101, 0x00000008, 0x002B0100, 0x0000000B, 0x002B0101, 0x00000005, 0x002B0100, 0x00000004, 0x002B010F, 0x00000003, 0x002B010F, 0x00000000 - -dlabel D_80218510_4F80F0 -.word 0x00000043, 0x00000003, BindTakeTurn, 0xFFFFFF81, D_8021A61C_4FA1FC, 0x00000043, 0x00000003, BindIdle, 0xFFFFFF81, D_80218574_4F8154, 0x00000043, 0x00000003, BindHandleEvent, 0xFFFFFF81, D_80218584_4F8164, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80218574_4F8154 -.word 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80218584_4F8164 -.word 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000005, SetActorScale, 0xFFFFFF81, 0xF24A7E80, 0xF24A7E80, 0xF24A7E80, 0x00000043, 0x00000005, SetActorDispOffset, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000003, GetLastEvent, 0xFFFFFF81, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000009, 0x0000001D, 0x00000001, 0x0000000A, 0x00000043, 0x00000002, GetLastElement, 0xFE363C80, 0x00000010, 0x00000002, 0xFE363C80, 0x00000020, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x002B0113, 0x00000012, 0x00000000, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x002B0108, 0x00000013, 0x00000000, 0x00000046, 0x00000001, DoNormalHit, 0x00000020, 0x00000000, 0x00000016, 0x00000001, 0x0000000E, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x002B0110, 0x00000025, 0x00000002, 0xFE363C82, 0x002B0112, 0x00000046, 0x00000001, DoBurnHit, 0x00000016, 0x00000001, 0x00000024, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x002B0110, 0x00000025, 0x00000002, 0xFE363C82, 0x002B0112, 0x00000046, 0x00000001, DoBurnHit, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x002B0112, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000000B, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x002B0108, 0x00000046, 0x00000001, DoSpinSmashHit, 0x00000016, 0x00000001, 0x00000021, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x002B0108, 0x00000046, 0x00000001, DoSpinSmashHit, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x002B0108, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000002F, 0x00000043, 0x00000001, func_80269470, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x002B0113, 0x00000046, 0x00000001, DoShockHit, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x002B0113, 0x00000046, 0x00000001, DoJumpBack, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000005, 0x00000000, 0x00000001, 0x00000000, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x002B0103, 0x00000046, 0x00000001, D_8029C0A4, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A80E7, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000005, 0x00000000, 0x00000001, 0x00000000, 0x00000016, 0x00000001, 0x00000026, 0x00000043, 0x00000001, func_80269470, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x002B0113, 0x00000046, 0x00000001, DoShockHit, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x002B0113, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x0000001D, 0x00000001, 0x00000017, 0x0000001D, 0x00000001, 0x00000019, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x002B0101, 0x00000046, 0x00000001, DoImmune, 0x00000020, 0x00000000, 0x00000016, 0x00000001, 0x00000020, 0x00000043, 0x00000002, GetLastElement, 0xFE363C80, 0x00000010, 0x00000002, 0xFE363C80, 0x00000020, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x002B0113, 0x00000046, 0x00000001, DoNormalHit, 0x00000008, 0x00000001, 0x0000000A, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x002B0113, 0x00000046, 0x00000001, DoDeath, 0x00000012, 0x00000000, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x002B0108, 0x00000046, 0x00000001, DoNormalHit, 0x00000008, 0x00000001, 0x0000000A, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x002B0108, 0x00000046, 0x00000001, DoDeath, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x00000031, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x002B0101, 0x00000046, 0x00000001, DoRecover, 0x00000016, 0x00000001, 0x00000039, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x002B0103, 0x00000025, 0x00000002, 0xFE363C82, 0x002B0109, 0x00000046, 0x00000001, DoScareAway, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000003A, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x002B0103, 0x00000046, 0x00000001, DoAirLift, 0x00000016, 0x00000001, 0x00000016, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x002B0103, 0x00000046, 0x00000001, DoBlowAway, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000001F, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x002B0101, 0x00000046, 0x00000001, DoImmune, 0x0000001C, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80218C48_4F8828 -.word 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000013, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000004, SetBattleCamTarget, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000002, SetBattleCamZoom, 0x0000014A, 0x00000043, 0x00000002, SetBattleCamOffsetZ, 0x0000001E, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000014, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000005, SetActorDispOffset, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000001, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x0000001E, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x0000206E, 0x00000008, 0x00000001, 0x0000001E, 0x00000005, 0x00000001, 0x00000004, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x0000206F, 0x00000008, 0x00000001, 0x0000000B, 0x00000006, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x00002070, 0x00000057, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x002B010D, 0x00000008, 0x00000001, 0x00000082, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x002B0102, 0x00000043, 0x00000003, SummonEnemy, D_8021A800_4FA3E0, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x00000043, 0x00000005, SetActorPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x00000043, 0x00000003, SetGoalToIndex, 0xFE363C80, 0xFE363C8A, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000014, 0x00000056, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x002B0102, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A801A, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x0000000E, 0x00000000, 0x00000001, 0x00000000, 0x00000057, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000004, SetAnimation, 0xFE363C80, 0x00000001, 0x002B0102, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFE363C80, 0xF24A801A, 0x00000043, 0x00000006, JumpToGoal, 0xFE363C80, 0x0000000E, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x00000043, 0x00000005, ForceHomePos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x00000043, 0x00000002, HPBarToHome, 0xFE363C80, 0x00000043, 0x00000004, SetAnimation, 0xFE363C80, 0x00000001, 0x002B0101, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C81, 0x00000014, 0x00000001, 0xFE363C81, 0x00000016, 0x00000001, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFE363C80, 0x00000000, 0x00000001, 0x00000016, 0x00000001, 0x00000001, 0x00000043, 0x00000004, SetActorVar, 0xFE363C80, 0x00000000, 0x00000002, 0x00000023, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80219054_4F8C34 -.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, 0x00000002, GetBattlePhase, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C80, 0x00000032, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x00000005, SetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000004, 0x00000001, 0x00000064, 0x00000013, 0x00000000, 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x002B0103, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C80, 0x00000032, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A9280, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A81B4, 0x00000046, 0x00000001, D_8029C12C, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x002B0101, 0x00000003, 0x00000001, 0x00000064, 0x00000043, 0x00000005, SetActorDispOffset, 0xFFFFFF81, 0x00000000, 0x0000000A, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x002B0104, 0x00000043, 0x00000005, SetActorDispOffset, 0xFFFFFF81, 0x00000000, 0x00000009, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000005, SetActorDispOffset, 0xFFFFFF81, 0x00000000, 0x00000008, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C80, 0x08000000, 0x00000000, 0x00000001, 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, 0x00000005, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000028, 0x00000002, 0xFE363C82, 0x00000005, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A8680, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x002B0105, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x0000000B, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000005, SetActorDispOffset, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x002B0109, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x00000014, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A8680, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000006, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x0000000F, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A8680, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000005, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000004, 0x00000008, 0x00000001, 0x00000005, 0x0000000A, 0x00000002, 0xFE363C8A, 0x00000005, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C80, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000001, YieldTurn, 0x00000043, 0x00000003, SetActorYaw, 0xFFFFFF81, 0x000000B4, 0x00000043, 0x00000005, AddActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000002, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x002B0103, 0x00000043, 0x00000002, SetGoalToHome, 0xFFFFFF81, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A9A80, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A81B4, 0x00000046, 0x00000001, D_8029C12C, 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, 0x00000016, 0x00000001, 0x00000007, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C80, 0x00000010, 0x00000002, 0xFE363C80, 0x00002000, 0x00000024, 0x00000002, 0xFBD3E280, 0x00000000, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFBD3E280, 0x00000001, 0x00000013, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, AddGoalPos, 0xFFFFFF81, 0xFFFFFFFD, 0xFFFFFFF4, 0xFFFFFFF1, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A8680, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x002B0105, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000008, 0x00000000, 0x00000001, 0x00000000, 0x0000000A, 0x00000002, 0xFBD3E280, 0x00000001, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C80, 0x08000000, 0x00000000, 0x00000000, 0x00000000, 0x00000020, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000003, UseIdleAnimation, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0x00000000, 0x00000000, 0x0003000C, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000003E0, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x002B0107, 0x00000008, 0x00000001, 0x00000015, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x002B0100, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0x0000014A, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000003E0, 0x00000043, 0x00000005, SetActorDispOffset, 0xFFFFFF81, 0xFFFFFFFD, 0xFFFFFFFE, 0x00000000, 0x00000043, 0x00000005, SetActorScale, 0xFFFFFF81, 0xF24A7E80, 0xF24A7E80, 0xF24A7E80, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000005, SetActorScale, 0xFFFFFF81, 0xF24A7E1A, 0xF24A7F4D, 0xF24A7E80, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000005, SetActorScale, 0xFFFFFF81, 0xF24A7DB4, 0xF24A7FB4, 0xF24A7E80, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000005, SetActorScale, 0xFFFFFF81, 0xF24A7D4D, 0xF24A801A, 0xF24A7E80, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000005, SetActorScale, 0xFFFFFF81, 0xF24A7D4D, 0xF24A8080, 0xF24A7E80, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000005, SetActorScale, 0xFFFFFF81, 0xF24A7CE7, 0xF24A80E7, 0xF24A7E80, 0x00000008, 0x00000001, 0x0000000A, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000003, UseIdleAnimation, 0x00000000, 0x00000001, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C8A, 0x08000000, 0x00000000, 0x00000000, 0x00000001, 0x00000020, 0x00000043, 0x00000005, SetActorDispOffset, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x002B0101, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000003, GetLastDamage, 0x00000000, 0xFE363C83, 0x0000000B, 0x00000002, 0xFE363C83, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x0000206D, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x00000214, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C81, 0x0000000A, 0x00000043, 0x00000005, b_area_mim_UnkBattleFunc2, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x0000025C, 0x00000043, 0x00000005, b_area_mim_UnkBattleFunc2_2, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x00000057, 0x00000000, 0x00000027, 0x00000002, 0xFE363C80, 0x00000014, 0x00000027, 0x00000002, 0xFE363C81, 0x00000014, 0x00000043, 0x0000000F, PlayEffect, 0x00000040, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000003, GetActorHP, 0xFFFFFF81, 0xFE363C80, 0x00000027, 0x00000002, 0xFE363C80, 0xFE363C83, 0x00000043, 0x00000003, SetEnemyHP, 0xFFFFFF81, 0xFE363C80, 0x00000013, 0x00000000, 0x00000056, 0x00000000, 0x00000043, 0x00000005, SetActorScale, 0xFFFFFF81, 0xF24A80E7, 0xF24A7CE7, 0xF24A7E80, 0x00000043, 0x00000005, SetActorRotationOffset, 0xFFFFFF81, 0x00000000, 0x0000000A, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0x0000014A, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000005, SetActorScale, 0xFFFFFF81, 0xF24A7D4D, 0xF24A8080, 0xF24A7E80, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0x0000012C, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0x0000010E, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000005, SetActorScale, 0xFFFFFF81, 0xF24A7E80, 0xF24A7D4D, 0xF24A7E80, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0x000000F0, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0x000000D2, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000005, SetActorScale, 0xFFFFFF81, 0xF24A7D4D, 0xF24A801A, 0xF24A7E80, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0x000000B4, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000005, SetActorScale, 0xFFFFFF81, 0xF24A7E80, 0xF24A7D4D, 0xF24A7E80, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000005, SetActorScale, 0xFFFFFF81, 0xF24A7F4D, 0xF24A7C80, 0xF24A7E80, 0x00000057, 0x00000000, 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, 0x00000043, 0x00000005, SetActorScale, 0xFFFFFF81, 0xF24A801A, 0xF24A7B4D, 0xF24A7E80, 0x00000008, 0x00000001, 0x00000001, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000005, SetActorScale, 0xFFFFFF81, 0xF24A7F4D, 0xF24A7C80, 0xF24A7E80, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000096, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000005, SetActorScale, 0xFFFFFF81, 0xF24A7E80, 0xF24A7E80, 0xF24A7E80, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000078, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0x0000005A, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0x0000003C, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0x0000001E, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000005, SetActorRotationOffset, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000057, 0x00000000, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C80, 0x0000001E, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000008, 0x00000000, 0x00000001, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000001, YieldTurn, 0x00000043, 0x00000005, SetActorDispOffset, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x002B0103, 0x00000043, 0x00000002, SetGoalToHome, 0xFFFFFF81, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A9A80, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A81B4, 0x00000046, 0x00000001, D_8029C12C, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x002B0101, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021A0D4_4F9CB4 -.word 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, 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, 0x00000024, 0x00000002, 0xFE363C8A, 0xFFFFFFFF, 0x00000024, 0x00000002, 0xFE363C8B, 0xFFFFFFFF, 0x00000043, 0x00000003, GetIndexFromHome, 0xFFFFFF81, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x0000000A, 0x00000002, 0xFBD3E282, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8A, 0x00000001, 0x00000013, 0x00000000, 0x00000016, 0x00000001, 0x00000001, 0x0000000A, 0x00000002, 0xFBD3E281, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8A, 0x00000000, 0x00000013, 0x00000000, 0x0000000A, 0x00000002, 0xFBD3E283, 0x00000000, 0x0000000A, 0x00000002, 0xFE363C8A, 0xFFFFFFFF, 0x00000024, 0x00000002, 0xFE363C8A, 0x00000002, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8B, 0x00000002, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000016, 0x00000001, 0x00000002, 0x0000000A, 0x00000002, 0xFBD3E282, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8A, 0x00000001, 0x00000013, 0x00000000, 0x0000000A, 0x00000002, 0xFBD3E284, 0x00000000, 0x0000000A, 0x00000002, 0xFE363C8A, 0xFFFFFFFF, 0x00000024, 0x00000002, 0xFE363C8A, 0x00000003, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8B, 0x00000003, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000016, 0x00000001, 0x00000003, 0x0000000A, 0x00000002, 0xFBD3E283, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8A, 0x00000002, 0x00000013, 0x00000000, 0x00000023, 0x00000000, 0x0000000B, 0x00000002, 0xFE363C8B, 0xFFFFFFFF, 0x00000043, 0x00000003, RandInt, 0x000003E8, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x000001F4, 0x00000024, 0x00000002, 0xFE363C8A, 0xFE363C8B, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021A45C_4FA03C -.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, 0x0000001D, 0x00000001, 0x0000001A, 0x0000001D, 0x00000001, 0x00000029, 0x00000043, 0x00000003, GetStatusFlags, 0xFE363C80, 0xFE363C83, 0x00000011, 0x00000002, 0xFE363C83, 0x0035D000, 0x00000043, 0x00000004, GetActorVar, 0xFE363C80, 0x00000000, 0xFE363C83, 0x0000000B, 0x00000002, 0xFE363C83, 0x00000002, 0x00000027, 0x00000002, 0xFE363C89, 0x00000001, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000020, 0x00000000, 0x00000016, 0x00000001, 0x0000002A, 0x00000043, 0x00000003, GetStatusFlags, 0xFE363C80, 0xFE363C83, 0x00000011, 0x00000002, 0xFE363C83, 0x0035D000, 0x00000043, 0x00000004, GetActorVar, 0xFE363C80, 0x00000001, 0xFE363C83, 0x0000000C, 0x00000002, 0xFE363C83, 0x00000002, 0x00000027, 0x00000002, 0xFE363C89, 0x00000001, 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_8021A61C_4FA1FC -.word 0x00000043, 0x00000002, GetBattlePhase, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x00000046, 0x00000001, D_80219054_4F8C34, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000002, 0x00000046, 0x00000001, D_80219054_4F8C34, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000046, 0x00000001, D_8021A0D4_4F9CB4, 0x0000000A, 0x00000002, 0xFE363C8A, 0xFFFFFFFF, 0x00000046, 0x00000001, D_80219054_4F8C34, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000046, 0x00000001, D_8021A45C_4FA03C, 0x00000014, 0x00000001, 0xFE363C89, 0x00000016, 0x00000001, 0x00000001, 0x00000043, 0x00000003, RandInt, 0x000003E8, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x0000012C, 0x00000046, 0x00000001, D_80218C48_4F8828, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000016, 0x00000001, 0x00000002, 0x00000043, 0x00000003, RandInt, 0x000003E8, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x00000096, 0x00000046, 0x00000001, D_80218C48_4F8828, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000016, 0x00000001, 0x00000003, 0x00000043, 0x00000003, RandInt, 0x000003E8, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x00000064, 0x00000046, 0x00000001, D_80218C48_4F8828, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000023, 0x00000000, 0x00000046, 0x00000001, D_80219054_4F8C34, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021A7F4_4FA3D4 -.word 0x00000000, 0xFFFFFC18, 0x00000000 - -dlabel D_8021A800_4FA3E0 -.word D_8021849C_4F807C, D_8021A7F4_4FA3D4, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_8021A820_4FA400 -.word 0x00000001, 0x004B0001, 0x0000000C, 0x004B0000, 0x00000006, 0x004B0009, 0x00000009, 0x004B0001, 0x00000008, 0x004B0000, 0x0000000B, 0x004B0001, 0x00000005, 0x004B0000, 0x00000004, 0x004B000A, 0x00000003, 0x004B000A, 0x00000000 - -dlabel D_8021A86C_4FA44C -.word 0x00000001, 0x00000000, 0x00000000 - -dlabel D_8021A878_4FA458 -.word 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000006, 0x0000003C, 0x00000009, 0x00000032, 0x00000007, 0x00000000, 0x00000004, 0x00000064, 0x00000003, 0x00000000, 0x0000000B, 0x00000000, 0x00000005, 0x0000005A, 0x0000000A, 0x0000004B, 0x00000008, 0x0000005A, 0x0000001F, 0x00000000, 0x00000020, 0x00000000, 0x00000025, 0x00000000, 0x00000022, 0x00000000, 0x00000024, 0x00000001, 0x00000023, 0x00000000, 0x00000021, 0x00000000, 0x00000026, 0x00000000, 0x00000027, 0x00000000, 0x00000029, 0x00000000, 0x00000000 - -dlabel D_8021A924_4FA504 -.word 0x00800000, 0x01000000, 0xF92100FF, D_8021A820_4FA400, D_8021A86C_4FA44C, 0x00000000, 0x00000000, 0x02F60000, 0x00000000, 0x00120001, 0x02000000, 0x001800FF, D_8021A820_4FA400, D_8021A86C_4FA44C, 0x00000000, 0x00000000, 0xFFFB0000, 0x00000000, 0x00120001, 0x03000000, 0x001800FF, D_8021A820_4FA400, D_8021A86C_4FA44C, 0x00000000, 0x00000000, 0xFFFB0000, 0x00000000, 0x00120001, 0x04000000, 0x001800FF, D_8021A820_4FA400, D_8021A86C_4FA44C, 0x00000000, 0x00000000, 0xFFFB0000, 0x00000000, 0x00120001, 0x05000000, 0x001800FF, D_8021A820_4FA400, D_8021A86C_4FA44C, 0x00000000, 0x00000000, 0xFFFB0000, 0x00000000, 0x00120001, 0x06000000, 0x001800FF, D_8021A820_4FA400, D_8021A86C_4FA44C, 0x00000000, 0x00000000, 0xFFFB0000, 0x00000000 - -dlabel D_8021A9FC_4FA5DC -.word 0x00000200, 0x00311303, 0x00060000, D_8021A924_4FA504, D_8021AA24_4FA604, D_8021A878_4FA458, 0x285F5F46, 0x5F005A01, 0x26260000, 0xF6140A14 - -dlabel D_8021AA24_4FA604 -.word 0x00000043, 0x00000003, BindTakeTurn, 0xFFFFFF81, D_8021D28C_4FCE6C, 0x00000043, 0x00000003, BindIdle, 0xFFFFFF81, D_8021AB10_4FA6F0, 0x00000043, 0x00000003, BindHandleEvent, 0xFFFFFF81, D_8021ACA8_4FA888, 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, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021AB10_4FA6F0 -.word 0x00000003, 0x00000001, 0x00000000, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C8A, 0x00000010, 0x00000002, 0xFE363C8A, 0x00041000, 0x00000043, 0x00000005, SetTargetOffset, 0xFFFFFF81, 0x00000001, 0xFFFFFFF9, 0x00000013, 0x00000043, 0x00000005, func_8027D4C8, 0xFFFFFF81, 0x00000001, 0x00000002, 0xFFFFFFFA, 0x00000043, 0x00000005, b_area_mim_UnkBattleFunc1, 0xFFFFFFEC, 0x00000014, 0x0000000A, 0x0000001B, 0x00000012, 0x00000000, 0x00000043, 0x00000005, SetTargetOffset, 0xFFFFFF81, 0x00000001, 0xFFFFFFF9, 0x00000021, 0x00000043, 0x00000005, func_8027D4C8, 0xFFFFFF81, 0x00000001, 0x00000002, 0xFFFFFFF6, 0x00000043, 0x00000005, b_area_mim_UnkBattleFunc1, 0xFFFFFFF0, 0x00000016, 0x00000004, 0x00000016, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000004, 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021AC20_4FA800 -.word 0x00000043, 0x00000006, SetPartRotation, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x004B0003, 0x00000043, 0x00000002, SetGoalToHome, 0xFFFFFF81, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A9A80, 0x00000043, 0x00000005, FlyToGoal, 0xFFFFFF81, 0x00000000, 0x00000001, 0x0000000B, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021ACA8_4FA888 -.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, 0x004B0006, 0x00000046, 0x00000001, DoNormalHit, 0x00000020, 0x00000000, 0x00000016, 0x00000001, 0x0000000E, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x004B0007, 0x00000025, 0x00000002, 0xFE363C82, 0x004B0008, 0x00000046, 0x00000001, DoBurnHit, 0x00000016, 0x00000001, 0x00000024, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x004B0007, 0x00000025, 0x00000002, 0xFE363C82, 0x004B0008, 0x00000046, 0x00000001, DoBurnHit, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x004B0008, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000000B, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x004B0006, 0x00000046, 0x00000001, DoSpinSmashHit, 0x00000016, 0x00000001, 0x00000021, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x004B0006, 0x00000046, 0x00000001, DoSpinSmashHit, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x004B000B, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000002F, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x004B0006, 0x00000046, 0x00000001, DoShockHit, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x004B0006, 0x00000046, 0x00000001, DoJumpBack, 0x00000046, 0x00000001, D_8021AC20_4FA800, 0x00000016, 0x00000001, 0x00000026, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x004B0006, 0x00000046, 0x00000001, DoShockHit, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x004B000B, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x0000001D, 0x00000001, 0x00000017, 0x0000001D, 0x00000001, 0x00000019, 0x0000001D, 0x00000001, 0x0000001F, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x004B0001, 0x00000046, 0x00000001, DoImmune, 0x00000020, 0x00000000, 0x00000016, 0x00000001, 0x00000020, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x004B0006, 0x00000046, 0x00000001, DoNormalHit, 0x00000008, 0x00000001, 0x0000000A, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x004B000B, 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_8021AC20_4FA800, 0x00000043, 0x00000002, HPBarToHome, 0xFFFFFF81, 0x00000016, 0x00000001, 0x00000031, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x004B0001, 0x00000046, 0x00000001, DoRecover, 0x00000016, 0x00000001, 0x00000039, 0x00000043, 0x00000004, SetActorFlagBits, 0xFFFFFF81, 0x00000200, 0x00000000, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x004B0003, 0x00000025, 0x00000002, 0xFE363C82, 0x004B0006, 0x00000046, 0x00000001, DoScareAway, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000003A, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x004B0001, 0x00000046, 0x00000001, DoAirLift, 0x00000016, 0x00000001, 0x00000016, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x0035D000, 0x00000010, 0x00000002, 0xFE363C80, 0x00080000, 0x00000043, 0x00000005, SetActorDispOffset, 0xFFFFFF81, 0x00000000, 0x00000003, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000005, SetActorDispOffset, 0xFFFFFF81, 0x00000000, 0x00000009, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x004B0006, 0x00000046, 0x00000001, DoBlowAway, 0x0000001C, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021B28C_4FAE6C -.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, 0x004B0003, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, AddGoalPos, 0xFFFFFF81, 0x00000034, 0x0000000A, 0x00000000, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A9280, 0x00000043, 0x00000005, FlyToGoal, 0xFFFFFF81, 0x00000000, 0xFFFFFFFC, 0x0000000C, 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, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C80, 0x00000014, 0x00000027, 0x00000002, 0xFE363C82, 0x00000001, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A9A80, 0x00000043, 0x00000005, FlyToGoal, 0xFFFFFF81, 0x00000000, 0xFFFFFFF6, 0x00000004, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000020CA, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x004B0004, 0x00000008, 0x00000001, 0x0000000A, 0x0000000A, 0x00000002, 0xFE363C8A, 0x00000005, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C80, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000001, YieldTurn, 0x00000043, 0x00000003, SetActorYaw, 0xFFFFFF81, 0x000000B4, 0x00000043, 0x00000005, AddActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000002, 0x00000046, 0x00000001, D_8021AC20_4FA800, 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, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C80, 0x00000014, 0x00000027, 0x00000002, 0xFE363C82, 0x00000001, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A8E80, 0x00000043, 0x00000005, FlyToGoal, 0xFFFFFF81, 0x00000000, 0xFFFFFFF6, 0x00000004, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000020CA, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x004B0004, 0x00000008, 0x00000001, 0x00000006, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C80, 0x00000000, 0x00000000, 0x80020328, 0x00000006, 0x00000020, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000000, 0x0000001D, 0x00000001, 0x00000002, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000001, YieldTurn, 0x00000046, 0x00000001, D_8021AC20_4FA800, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021B77C_4FB35C -.word 0x00000024, 0x00000002, 0xFE363C89, 0xFE363C80, 0x00000043, 0x00000004, SetPartYaw, 0xFFFFFF81, 0xFE363C89, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C8A, 0xFE363C8B, 0xFE363C8C, 0x00000027, 0x00000002, 0xFE363C8A, 0x000000C8, 0x00000027, 0x00000002, 0xFE363C8B, 0x00000064, 0x00000043, 0x00000006, SetPartPos, 0xFFFFFF81, 0xFE363C89, 0xFE363C8A, 0xFE363C8B, 0xFE363C8C, 0x00000043, 0x00000005, SetPartFlagBits, 0xFFFFFF81, 0xFE363C89, 0x00000001, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0xFE363C89, 0x004B0003, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C8A, 0xFE363C8B, 0xFE363C8C, 0x00000027, 0x00000002, 0xFE363C8B, 0x00000032, 0x00000028, 0x00000002, 0xFE363C8C, 0x0000001E, 0x00000043, 0x00000004, SetPartMoveSpeed, 0xFFFFFF81, 0xFE363C89, 0xF24A9280, 0x00000043, 0x00000004, SetPartJumpGravity, 0xFFFFFF81, 0xFE363C89, 0xF24A7E80, 0x00000043, 0x00000009, FlyPartTo, 0xFFFFFF81, 0xFE363C89, 0xFE363C8A, 0xFE363C8B, 0xFE363C8C, 0x00000000, 0xFFFFFFF6, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x00000043, 0x00000006, GetPartOffset, 0xFFFFFF81, 0xFE363C89, 0xFE363C86, 0xFE363C87, 0xFE363C88, 0x00000043, 0x00000005, MakeLerp, 0x0000005A, 0x000001C2, 0x00000032, 0x00000000, 0x00000003, 0x00000001, 0x00000000, 0x00000043, 0x00000001, UpdateLerp, 0x00000043, 0x00000007, b_area_mim_UnkFloatFunc4, 0xFE363C83, 0xFE363C85, 0x0000001E, 0xFE363C80, 0xFE363C86, 0xFE363C88, 0x00000043, 0x00000006, SetPartPos, 0xFFFFFF81, 0xFE363C89, 0xFE363C86, 0xFE363C87, 0xFE363C88, 0x0000000D, 0x00000002, 0xFE363C83, 0xFE363C86, 0x00000043, 0x00000004, SetPartYaw, 0xFFFFFF81, 0xFE363C89, 0x000000B4, 0x00000012, 0x00000000, 0x00000043, 0x00000004, SetPartYaw, 0xFFFFFF81, 0xFE363C89, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000001, 0x00000004, 0x00000001, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000004, SetPartYaw, 0xFFFFFF81, 0xFE363C89, 0x00000000, 0x0000000A, 0x00000002, 0xFE363C89, 0x00000002, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000008, 0x00000043, 0x00000002, SetBattleCamZoom, 0x00000190, 0x00000043, 0x00000002, SetBattleCamOffsetZ, 0x0000001E, 0x00000043, 0x00000002, BattleCamTargetActor, 0x00000000, 0x00000043, 0x00000002, MoveBattleCamOver, 0x0000003C, 0x00000013, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0xFE363C89, 0x004B0003, 0x00000043, 0x00000005, GetActorPos, 0x00000000, 0xFE363C8A, 0xFE363C8B, 0xFE363C8C, 0x00000027, 0x00000002, 0xFE363C8B, 0x0000001E, 0x00000027, 0x00000002, 0xFE363C8C, 0x0000001E, 0x00000043, 0x00000004, SetPartMoveSpeed, 0xFFFFFF81, 0xFE363C89, 0xF24A9280, 0x00000043, 0x00000004, SetPartJumpGravity, 0xFFFFFF81, 0xFE363C89, 0xF24A7E80, 0x00000043, 0x00000009, FlyPartTo, 0xFFFFFF81, 0xFE363C89, 0xFE363C8A, 0xFE363C8B, 0xFE363C8C, 0x00000000, 0xFFFFFFF6, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0x00000000, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x00000043, 0x00000006, GetPartOffset, 0xFFFFFF81, 0xFE363C89, 0xFE363C86, 0xFE363C87, 0xFE363C88, 0x00000043, 0x00000005, MakeLerp, 0xFFFFFFA6, 0xFFFFFD30, 0x00000064, 0x00000000, 0x00000003, 0x00000001, 0x00000001, 0x00000043, 0x00000001, UpdateLerp, 0x00000043, 0x00000007, b_area_mim_UnkFloatFunc4, 0xFE363C83, 0xFE363C85, 0x0000001E, 0xFE363C80, 0xFE363C86, 0xFE363C88, 0x00000043, 0x00000006, SetPartPos, 0xFFFFFF81, 0xFE363C89, 0xFE363C86, 0xFE363C87, 0xFE363C88, 0x0000000D, 0x00000002, 0xFE363C83, 0xFE363C86, 0x00000043, 0x00000004, SetPartYaw, 0xFFFFFF81, 0xFE363C89, 0x000000B4, 0x00000012, 0x00000000, 0x00000043, 0x00000004, SetPartYaw, 0xFFFFFF81, 0xFE363C89, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000001, 0x00000004, 0x00000001, 0x00000001, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021BC74_4FB854 -.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, 0x00000006, SetPartSounds, 0xFFFFFF81, 0x00000002, 0x00000001, 0x00000000, 0x00000000, 0x00000043, 0x00000006, SetPartSounds, 0xFFFFFF81, 0x00000003, 0x00000001, 0x00000000, 0x00000000, 0x00000043, 0x00000006, SetPartSounds, 0xFFFFFF81, 0x00000004, 0x00000001, 0x00000000, 0x00000000, 0x00000043, 0x00000006, SetPartSounds, 0xFFFFFF81, 0x00000005, 0x00000001, 0x00000000, 0x00000000, 0x00000043, 0x00000006, SetPartSounds, 0xFFFFFF81, 0x00000006, 0x00000001, 0x00000000, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000020CC, 0x00000043, 0x00000003, SetActorYaw, 0xFFFFFF81, 0x000000B4, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x004B0005, 0x00000008, 0x00000001, 0x00000028, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x004B0001, 0x00000043, 0x00000003, SetActorYaw, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000002, PlaySound, 0x00000358, 0x00000024, 0x00000002, 0xFE363C80, 0x00000002, 0x00000045, 0x00000002, D_8021B77C_4FB35C, 0xFE363C8A, 0x00000008, 0x00000001, 0x0000000B, 0x00000024, 0x00000002, 0xFE363C80, 0x00000003, 0x00000044, 0x00000001, D_8021B77C_4FB35C, 0x00000008, 0x00000001, 0x0000000B, 0x00000024, 0x00000002, 0xFE363C80, 0x00000004, 0x00000044, 0x00000001, D_8021B77C_4FB35C, 0x00000008, 0x00000001, 0x0000000B, 0x00000024, 0x00000002, 0xFE363C80, 0x00000005, 0x00000044, 0x00000001, D_8021B77C_4FB35C, 0x00000008, 0x00000001, 0x0000000B, 0x00000024, 0x00000002, 0xFE363C80, 0x00000006, 0x00000044, 0x00000001, D_8021B77C_4FB35C, 0x00000003, 0x00000001, 0x00000000, 0x00000055, 0x00000002, 0xFE363C8A, 0xFE363C80, 0x00000008, 0x00000001, 0x00000001, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x00000004, 0x00000001, 0x00000000, 0x00000013, 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, 0x00000004, PlaySoundAtPart, 0xFFFFFF81, 0x00000002, 0x000020CB, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000002, 0x004B0004, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, AddGoalPos, 0xFFFFFF81, 0xFFFFFFE2, 0xFFFFFFEC, 0x00000001, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000004, SetPartMoveSpeed, 0xFFFFFF81, 0x00000002, 0xF24A8680, 0x00000043, 0x00000009, FlyPartTo, 0xFFFFFF81, 0x00000002, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000000, 0xFFFFFFF6, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000002, 0x004B0003, 0x00000043, 0x00000004, SetPartYaw, 0xFFFFFF81, 0x00000002, 0x000000B4, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C81, 0x00000064, 0x00000027, 0x00000002, 0xFE363C82, 0x00000064, 0x00000043, 0x00000005, AddActorDecoration, 0xFFFFFF81, 0x00000002, 0x00000000, 0x00000002, 0x00000043, 0x00000009, FlyPartTo, 0xFFFFFF81, 0x00000002, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000000, 0x0000000A, 0x00000000, 0x00000043, 0x00000004, RemoveActorDecoration, 0xFFFFFF81, 0x00000002, 0x00000000, 0x00000043, 0x00000005, SetPartFlagBits, 0xFFFFFF81, 0x00000002, 0x00000001, 0x00000001, 0x00000057, 0x00000000, 0x00000008, 0x00000001, 0x0000000B, 0x00000056, 0x00000000, 0x00000043, 0x00000004, PlaySoundAtPart, 0xFFFFFF81, 0x00000003, 0x000020CB, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000003, 0x004B0004, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, AddGoalPos, 0xFFFFFF81, 0xFFFFFFE2, 0xFFFFFFEC, 0x00000001, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000004, SetPartMoveSpeed, 0xFFFFFF81, 0x00000003, 0xF24A8680, 0x00000043, 0x00000009, FlyPartTo, 0xFFFFFF81, 0x00000003, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000000, 0xFFFFFFF6, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000003, 0x004B0003, 0x00000043, 0x00000004, SetPartYaw, 0xFFFFFF81, 0x00000003, 0x000000B4, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C81, 0x00000064, 0x00000027, 0x00000002, 0xFE363C82, 0x00000064, 0x00000043, 0x00000005, AddActorDecoration, 0xFFFFFF81, 0x00000003, 0x00000000, 0x00000002, 0x00000043, 0x00000009, FlyPartTo, 0xFFFFFF81, 0x00000003, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000000, 0x0000000A, 0x00000000, 0x00000043, 0x00000004, RemoveActorDecoration, 0xFFFFFF81, 0x00000003, 0x00000000, 0x00000043, 0x00000005, SetPartFlagBits, 0xFFFFFF81, 0x00000003, 0x00000001, 0x00000001, 0x00000057, 0x00000000, 0x00000008, 0x00000001, 0x0000000B, 0x00000056, 0x00000000, 0x00000043, 0x00000004, PlaySoundAtPart, 0xFFFFFF81, 0x00000004, 0x000020CB, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000004, 0x004B0004, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, AddGoalPos, 0xFFFFFF81, 0xFFFFFFE2, 0xFFFFFFEC, 0x00000001, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000004, SetPartMoveSpeed, 0xFFFFFF81, 0x00000004, 0xF24A8680, 0x00000043, 0x00000009, FlyPartTo, 0xFFFFFF81, 0x00000004, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000000, 0xFFFFFFF6, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000004, 0x004B0003, 0x00000043, 0x00000004, SetPartYaw, 0xFFFFFF81, 0x00000004, 0x000000B4, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C81, 0x00000064, 0x00000027, 0x00000002, 0xFE363C82, 0x00000064, 0x00000043, 0x00000005, AddActorDecoration, 0xFFFFFF81, 0x00000004, 0x00000000, 0x00000002, 0x00000043, 0x00000009, FlyPartTo, 0xFFFFFF81, 0x00000004, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000000, 0x0000000A, 0x00000000, 0x00000043, 0x00000004, RemoveActorDecoration, 0xFFFFFF81, 0x00000004, 0x00000000, 0x00000043, 0x00000005, SetPartFlagBits, 0xFFFFFF81, 0x00000004, 0x00000001, 0x00000001, 0x00000057, 0x00000000, 0x00000008, 0x00000001, 0x0000000B, 0x00000056, 0x00000000, 0x00000043, 0x00000004, PlaySoundAtPart, 0xFFFFFF81, 0x00000005, 0x000020CB, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000005, 0x004B0004, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, AddGoalPos, 0xFFFFFF81, 0xFFFFFFE2, 0xFFFFFFEC, 0x00000001, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000004, SetPartMoveSpeed, 0xFFFFFF81, 0x00000005, 0xF24A8680, 0x00000043, 0x00000009, FlyPartTo, 0xFFFFFF81, 0x00000005, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000000, 0xFFFFFFF6, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000005, 0x004B0003, 0x00000043, 0x00000004, SetPartYaw, 0xFFFFFF81, 0x00000005, 0x000000B4, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C81, 0x00000064, 0x00000027, 0x00000002, 0xFE363C82, 0x00000064, 0x00000043, 0x00000005, AddActorDecoration, 0xFFFFFF81, 0x00000005, 0x00000000, 0x00000002, 0x00000043, 0x00000009, FlyPartTo, 0xFFFFFF81, 0x00000005, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000000, 0x0000000A, 0x00000000, 0x00000043, 0x00000004, RemoveActorDecoration, 0xFFFFFF81, 0x00000005, 0x00000000, 0x00000043, 0x00000005, SetPartFlagBits, 0xFFFFFF81, 0x00000005, 0x00000001, 0x00000001, 0x00000057, 0x00000000, 0x00000008, 0x00000001, 0x0000000B, 0x00000056, 0x00000000, 0x00000043, 0x00000004, PlaySoundAtPart, 0xFFFFFF81, 0x00000006, 0x000020CB, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000006, 0x004B0004, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, AddGoalPos, 0xFFFFFF81, 0xFFFFFFE2, 0xFFFFFFEC, 0x00000001, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000004, SetPartMoveSpeed, 0xFFFFFF81, 0x00000006, 0xF24A8680, 0x00000043, 0x00000009, FlyPartTo, 0xFFFFFF81, 0x00000006, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000000, 0xFFFFFFF6, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000006, 0x004B0003, 0x00000043, 0x00000004, SetPartYaw, 0xFFFFFF81, 0x00000006, 0x000000B4, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C81, 0x00000064, 0x00000027, 0x00000002, 0xFE363C82, 0x00000064, 0x00000043, 0x00000005, AddActorDecoration, 0xFFFFFF81, 0x00000006, 0x00000000, 0x00000002, 0x00000043, 0x00000009, FlyPartTo, 0xFFFFFF81, 0x00000006, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000000, 0x0000000A, 0x00000000, 0x00000043, 0x00000004, RemoveActorDecoration, 0xFFFFFF81, 0x00000006, 0x00000000, 0x00000043, 0x00000005, SetPartFlagBits, 0xFFFFFF81, 0x00000006, 0x00000001, 0x00000001, 0x00000057, 0x00000000, 0x00000008, 0x00000001, 0x0000000B, 0x0000000A, 0x00000002, 0xFE363C8A, 0x00000005, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C80, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x0000001E, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000008, 0x00000001, 0x0000001E, 0x00000043, 0x00000002, StopSound, 0x00000358, 0x00000043, 0x00000001, YieldTurn, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x00000056, 0x00000000, 0x00000043, 0x00000004, PlaySoundAtPart, 0xFFFFFF81, 0x00000002, 0x000020CB, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000002, 0x004B0004, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, AddGoalPos, 0xFFFFFF81, 0xFFFFFFF6, 0xFFFFFFF6, 0x00000001, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000004, SetPartMoveSpeed, 0xFFFFFF81, 0x00000002, 0xF24A8680, 0x00000043, 0x00000009, FlyPartTo, 0xFFFFFF81, 0x00000002, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000000, 0xFFFFFFF6, 0x00000000, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C80, 0x10000000, 0x00000000, 0x00000000, 0x00000001, 0x00000010, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000002, 0x004B0003, 0x00000043, 0x00000004, SetPartYaw, 0xFFFFFF81, 0x00000002, 0x000000B4, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C81, 0x00000064, 0x00000027, 0x00000002, 0xFE363C82, 0x00000064, 0x00000043, 0x00000009, FlyPartTo, 0xFFFFFF81, 0x00000002, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000000, 0x0000000A, 0x00000000, 0x00000043, 0x00000005, SetPartFlagBits, 0xFFFFFF81, 0x00000002, 0x00000001, 0x00000001, 0x00000057, 0x00000000, 0x00000008, 0x00000001, 0x0000000B, 0x00000056, 0x00000000, 0x00000043, 0x00000004, PlaySoundAtPart, 0xFFFFFF81, 0x00000003, 0x000020CB, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000003, 0x004B0004, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, AddGoalPos, 0xFFFFFF81, 0xFFFFFFF6, 0xFFFFFFF6, 0x00000001, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000004, SetPartMoveSpeed, 0xFFFFFF81, 0x00000003, 0xF24A8680, 0x00000043, 0x00000009, FlyPartTo, 0xFFFFFF81, 0x00000003, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000000, 0xFFFFFFF6, 0x00000000, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C80, 0x10000000, 0x00000000, 0x00000000, 0x00000001, 0x00000040, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000003, 0x004B0003, 0x00000043, 0x00000004, SetPartYaw, 0xFFFFFF81, 0x00000003, 0x000000B4, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C81, 0x00000064, 0x00000027, 0x00000002, 0xFE363C82, 0x00000064, 0x00000043, 0x00000009, FlyPartTo, 0xFFFFFF81, 0x00000003, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000000, 0x0000000A, 0x00000000, 0x00000043, 0x00000005, SetPartFlagBits, 0xFFFFFF81, 0x00000003, 0x00000001, 0x00000001, 0x00000057, 0x00000000, 0x00000008, 0x00000001, 0x0000000B, 0x00000056, 0x00000000, 0x00000043, 0x00000004, PlaySoundAtPart, 0xFFFFFF81, 0x00000004, 0x000020CB, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000004, 0x004B0004, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, AddGoalPos, 0xFFFFFF81, 0xFFFFFFF6, 0xFFFFFFF6, 0x00000001, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000004, SetPartMoveSpeed, 0xFFFFFF81, 0x00000004, 0xF24A8680, 0x00000043, 0x00000009, FlyPartTo, 0xFFFFFF81, 0x00000004, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000000, 0xFFFFFFF6, 0x00000000, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C80, 0x10000000, 0x00000000, 0x00000000, 0x00000001, 0x00000040, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000004, 0x004B0003, 0x00000043, 0x00000004, SetPartYaw, 0xFFFFFF81, 0x00000004, 0x000000B4, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C81, 0x00000064, 0x00000027, 0x00000002, 0xFE363C82, 0x00000064, 0x00000043, 0x00000009, FlyPartTo, 0xFFFFFF81, 0x00000004, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000000, 0x0000000A, 0x00000000, 0x00000043, 0x00000005, SetPartFlagBits, 0xFFFFFF81, 0x00000004, 0x00000001, 0x00000001, 0x00000057, 0x00000000, 0x00000008, 0x00000001, 0x0000000B, 0x00000056, 0x00000000, 0x00000043, 0x00000004, PlaySoundAtPart, 0xFFFFFF81, 0x00000005, 0x000020CB, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000005, 0x004B0004, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, AddGoalPos, 0xFFFFFF81, 0xFFFFFFF6, 0xFFFFFFF6, 0x00000001, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000004, SetPartMoveSpeed, 0xFFFFFF81, 0x00000005, 0xF24A8680, 0x00000043, 0x00000009, FlyPartTo, 0xFFFFFF81, 0x00000005, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000000, 0xFFFFFFF6, 0x00000000, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C80, 0x10000000, 0x00000000, 0x00000000, 0x00000001, 0x00000040, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000005, 0x004B0003, 0x00000043, 0x00000004, SetPartYaw, 0xFFFFFF81, 0x00000005, 0x000000B4, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C81, 0x00000064, 0x00000027, 0x00000002, 0xFE363C82, 0x00000064, 0x00000043, 0x00000009, FlyPartTo, 0xFFFFFF81, 0x00000005, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000000, 0x0000000A, 0x00000000, 0x00000043, 0x00000005, SetPartFlagBits, 0xFFFFFF81, 0x00000005, 0x00000001, 0x00000001, 0x00000057, 0x00000000, 0x00000008, 0x00000001, 0x0000000B, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000004, PlaySoundAtPart, 0xFFFFFF81, 0x00000006, 0x000020CB, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000006, 0x004B0004, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, AddGoalPos, 0xFFFFFF81, 0xFFFFFFF6, 0xFFFFFFF6, 0x00000001, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000004, SetPartMoveSpeed, 0xFFFFFF81, 0x00000006, 0xF24A8680, 0x00000043, 0x00000009, FlyPartTo, 0xFFFFFF81, 0x00000006, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000000, 0xFFFFFFF6, 0x00000000, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C80, 0x10000000, 0x00000000, 0x00000000, 0x00000001, 0x00000020, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000000, 0x0000001D, 0x00000001, 0x00000002, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000006, 0x004B0003, 0x00000043, 0x00000004, SetPartYaw, 0xFFFFFF81, 0x00000006, 0x000000B4, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C81, 0x00000064, 0x00000027, 0x00000002, 0xFE363C82, 0x00000064, 0x00000043, 0x00000009, FlyPartTo, 0xFFFFFF81, 0x00000006, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000000, 0x0000000A, 0x00000000, 0x00000043, 0x00000005, SetPartFlagBits, 0xFFFFFF81, 0x00000006, 0x00000001, 0x00000001, 0x00000043, 0x00000002, StopSound, 0x00000358, 0x00000043, 0x00000001, YieldTurn, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021D28C_4FCE6C -.word 0x00000043, 0x00000002, GetBattlePhase, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x00000046, 0x00000001, D_8021B28C_4FAE6C, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, RandInt, 0x000003E8, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x000001F4, 0x00000046, 0x00000001, D_8021B28C_4FAE6C, 0x00000012, 0x00000000, 0x00000046, 0x00000001, D_8021BC74_4FB854, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_8021D330_4FCF10 -.word 0x00000001, 0x00370001, 0x0000000C, 0x00370000, 0x00000006, 0x00370000, 0x00000009, 0x00370001, 0x00000008, 0x00370000, 0x0000000B, 0x00370001, 0x00000005, 0x00370000, 0x00000004, 0x00370001, 0x00000003, 0x00370001, 0x00000000, 0x00000001, 0x00370001, 0x00000000, 0x00000001, 0x00370006, 0x00000000 - -dlabel D_8021D394_4FCF74 -.word 0x00000001, 0x00000000, 0x00000000 - -dlabel D_8021D3A0_4FCF80 -.word 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000006, 0x0000005F, 0x00000009, 0x00000000, 0x00000007, 0x00000000, 0x00000004, 0x00000032, 0x00000003, 0x00000000, 0x0000000B, 0x00000000, 0x00000005, 0x00000064, 0x0000000A, 0x00000050, 0x00000008, 0x0000005A, 0x0000001F, 0x00000000, 0x00000020, 0x00000001, 0x00000025, 0x00000000, 0x00000022, 0x00000000, 0x00000024, 0x00000000, 0x00000023, 0x00000000, 0x00000021, 0x00000000, 0x00000026, 0x00000000, 0x00000027, 0x00000000, 0x00000029, 0x00000000, 0x00000000 - -dlabel D_8021D44C_4FD02C -.word 0x00800000, 0x01000000, 0x002300FF, D_8021D330_4FCF10, D_8021D394_4FCF74, 0x00000010, 0x00000000, 0x00F60000, 0x00000000 - -dlabel D_8021D470_4FD050 -.word 0x00000000, 0x00190B05, 0x00010000, D_8021D44C_4FD02C, D_8021D498_4FD078, D_8021D3A0_4FCF80, 0x46141428, 0x5F005A01, 0x26260000, 0xF9210A21 - -dlabel D_8021D498_4FD078 -.word 0x00000043, 0x00000003, BindTakeTurn, 0xFFFFFF81, D_8021DCD4_4FD8B4, 0x00000043, 0x00000003, BindIdle, 0xFFFFFF81, D_8021D4E4_4FD0C4, 0x00000043, 0x00000003, BindHandleEvent, 0xFFFFFF81, D_8021D60C_4FD1EC, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021D4E4_4FD0C4 -.word 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021D4F4_4FD0D4 -.word 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000014, 0x00000043, 0x00000004, SetActorFlagBits, 0xFFFFFF81, 0x00000004, 0x00000001, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x00000322, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00370004, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000002, SetGoalToHome, 0xFFFFFF81, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000005, SetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x00000321, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00370003, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000004, SetActorFlagBits, 0xFFFFFF81, 0x00000004, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021D60C_4FD1EC -.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, 0x00370009, 0x00000046, 0x00000001, DoNormalHit, 0x00000020, 0x00000000, 0x00000016, 0x00000001, 0x0000000E, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0037000A, 0x00000025, 0x00000002, 0xFE363C82, 0x0037000B, 0x00000046, 0x00000001, DoBurnHit, 0x00000016, 0x00000001, 0x00000024, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0037000A, 0x00000025, 0x00000002, 0xFE363C82, 0x0037000B, 0x00000046, 0x00000001, DoBurnHit, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0037000B, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000000B, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00370009, 0x00000046, 0x00000001, DoSpinSmashHit, 0x00000016, 0x00000001, 0x00000021, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00370009, 0x00000046, 0x00000001, DoSpinSmashHit, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00370009, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000002F, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00370009, 0x00000046, 0x00000001, DoShockHit, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A8A80, 0x00000046, 0x00000001, D_8021D4F4_4FD0D4, 0x00000016, 0x00000001, 0x00000026, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00370009, 0x00000046, 0x00000001, DoShockHit, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00370009, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x0000001D, 0x00000001, 0x00000017, 0x0000001D, 0x00000001, 0x00000019, 0x0000001D, 0x00000001, 0x0000001F, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00370001, 0x00000046, 0x00000001, DoImmune, 0x00000020, 0x00000000, 0x00000016, 0x00000001, 0x0000001B, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C83, 0x00000010, 0x00000002, 0xFE363C83, 0x00080000, 0x00000027, 0x00000002, 0xFE363C80, 0x00000000, 0x00000027, 0x00000002, 0xFE363C81, 0x0000000E, 0x00000012, 0x00000000, 0x00000027, 0x00000002, 0xFE363C80, 0x00000000, 0x00000027, 0x00000002, 0xFE363C81, 0x00000023, 0x00000013, 0x00000000, 0x00000043, 0x0000000F, PlayEffect, 0x0000001A, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000014, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x00000014, 0x00000057, 0x00000000, 0x00000005, 0x00000001, 0x00000028, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00370001, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00370006, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00370001, 0x00000016, 0x00000001, 0x00000020, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00370009, 0x00000046, 0x00000001, DoNormalHit, 0x00000008, 0x00000001, 0x0000000A, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00370009, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x00000031, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00370001, 0x00000046, 0x00000001, DoRecover, 0x00000016, 0x00000001, 0x00000039, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00370009, 0x00000046, 0x00000001, DoNormalHit, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x00000322, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00370004, 0x00000043, 0x00000004, SetActorFlagBits, 0xFFFFFF81, 0x00000004, 0x00000001, 0x00000008, 0x00000001, 0x00000008, 0x00000043, 0x00000002, func_8027D32C, 0xFFFFFF81, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000002, RemoveActor, 0xFFFFFF81, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000003A, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00370009, 0x00000046, 0x00000001, DoAirLift, 0x00000016, 0x00000001, 0x00000016, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00370009, 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_8021DCD4_4FD8B4 -.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, 0x00370004, 0x00000043, 0x00000004, SetActorFlagBits, 0xFFFFFF81, 0x00000004, 0x00000001, 0x00000043, 0x00000002, UseBattleCamPreset, 0x0000003F, 0x00000043, 0x00000002, BattleCamTargetActor, 0xFFFFFF81, 0x00000043, 0x00000004, func_8024ECF8, 0xFFFFFFFF, 0x00000001, 0x00000000, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000001, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C80, 0x00000014, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x00000005, SetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x0000000F, 0x00000004, 0x00000001, 0x0000007B, 0x00000013, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x00000322, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00370004, 0x00000043, 0x00000004, SetActorFlagBits, 0xFFFFFF81, 0x00000004, 0x00000001, 0x00000008, 0x00000001, 0x00000008, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000013, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C80, 0x00000014, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x00000004, SetBattleCamTarget, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000002, SetBattleCamZoom, 0x0000015E, 0x00000043, 0x00000002, SetBattleCamOffsetZ, 0x0000002D, 0x00000043, 0x00000004, func_8024ECF8, 0xFFFFFFFF, 0x00000001, 0x00000000, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000014, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C85, 0x00000010, 0x00000002, 0xFE363C85, 0x00080000, 0x00000027, 0x00000002, 0xFE363C80, 0x00000008, 0x00000027, 0x00000002, 0xFE363C80, 0xFFFFFFFD, 0x00000012, 0x00000000, 0x00000027, 0x00000002, 0xFE363C80, 0x00000014, 0x00000013, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A7E80, 0x00000043, 0x00000005, SetActorSounds, 0xFFFFFF81, 0x00000002, 0x00000000, 0x00000000, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000014, 0x00000000, 0x00000000, 0x00000000, 0x00000003, 0x00000001, 0x0000007B, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x00000321, 0x00000043, 0x00000005, SetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000004, SetActorFlagBits, 0xFFFFFF81, 0x00000004, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00370003, 0x00000008, 0x00000001, 0x00000008, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00370005, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C80, 0x00000000, 0x00000000, 0x00000001, 0x00000010, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000006, 0x0000001D, 0x00000001, 0x00000005, 0x00000024, 0x00000002, 0xFE363C8A, 0xFE363C80, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C85, 0x00000011, 0x00000002, 0xFE363C85, 0x00080000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00370006, 0x00000008, 0x00000001, 0x00000002, 0x00000013, 0x00000000, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000006, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000020DE, 0x00000057, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00370007, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00370008, 0x00000008, 0x00000001, 0x00000002, 0x0000000A, 0x00000002, 0xFE363C8A, 0x00000005, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C80, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000001, YieldTurn, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A8A80, 0x00000046, 0x00000001, D_8021D4F4_4FD0D4, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00370006, 0x00000008, 0x00000001, 0x00000002, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000006, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000020DE, 0x00000057, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00370007, 0x00000008, 0x00000001, 0x0000000A, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C80, 0x00000000, 0x00000000, 0x00000000, 0x00000003, 0x00000020, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000000, 0x0000001D, 0x00000001, 0x00000002, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00370008, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000001, YieldTurn, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A9280, 0x00000046, 0x00000001, D_8021D4F4_4FD0D4, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021E450_4FE030 -.word 0x00000043, 0x00000002, SetSpriteShading, 0xFFFFFFFF, 0x00000043, 0x00000001, b_area_mim_UnkFogFunc2, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021E47C_4FE05C -.word 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021E48C_4FE06C -.word D_8021EC20_4FE800, D_8021EC10_4FE7F0, D_8021EC00_4FE7E0, D_8021E450_4FE030, D_8021E47C_4FE05C, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_8021E4C0_4FE0A0 -.word D_8021849C_4F807C, 0x00000001, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021849C_4F807C, 0x00000002, 0x00000009, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_8021E4F8_4FE0D8 -.word D_8021849C_4F807C, 0x00000000, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021849C_4F807C, 0x00000001, 0x00000009, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021849C_4F807C, 0x00000002, 0x00000008, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_8021E54C_4FE12C -.word D_8021849C_4F807C, 0x00000000, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021849C_4F807C, 0x00000001, 0x00000009, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021849C_4F807C, 0x00000002, 0x00000008, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021849C_4F807C, 0x00000003, 0x00000007, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_8021E5BC_4FE19C -.word D_8021849C_4F807C, 0x00000001, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021D470_4FD050, 0x00000002, 0x00000009, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_8021E5F4_4FE1D4 -.word D_8021849C_4F807C, 0x00000000, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021849C_4F807C, 0x00000001, 0x00000009, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021D470_4FD050, 0x00000002, 0x00000008, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_8021E648_4FE228 -.word D_8021849C_4F807C, 0x00000000, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021849C_4F807C, 0x00000001, 0x00000009, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021D470_4FD050, 0x00000002, 0x00000008, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021D470_4FD050, 0x00000003, 0x00000007, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_8021E6B8_4FE298 -.word D_8021849C_4F807C, 0x00000000, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021849C_4F807C, 0x00000001, 0x00000009, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021849C_4F807C, 0x00000002, 0x00000008, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021D470_4FD050, 0x00000003, 0x00000007, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_8021E728_4FE308 -.word D_8021849C_4F807C, 0x00000000, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021D470_4FD050, 0x00000001, 0x00000009, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021849C_4F807C, 0x00000002, 0x00000008, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021D470_4FD050, 0x00000003, 0x00000007, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_8021E798_4FE378 -.word D_8021D470_4FD050, 0x00000001, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_8021E7B4_4FE394 -.word D_8021D470_4FD050, 0x00000001, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021D470_4FD050, 0x00000002, 0x00000009, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_8021E7EC_4FE3CC -.word D_8021D470_4FD050, 0x00000000, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021D470_4FD050, 0x00000001, 0x00000009, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021D470_4FD050, 0x00000002, 0x00000008, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_8021E840_4FE420 -.word D_8021D470_4FD050, 0x00000000, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021D470_4FD050, 0x00000001, 0x00000009, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021D470_4FD050, 0x00000002, 0x00000008, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021D470_4FD050, 0x00000003, 0x00000007, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_8021E8B0_4FE490 -.word D_8021D470_4FD050, 0x00000001, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021849C_4F807C, 0x00000002, 0x00000009, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_8021E8E8_4FE4C8 -.word D_8021D470_4FD050, 0x00000000, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021D470_4FD050, 0x00000001, 0x00000009, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021849C_4F807C, 0x00000002, 0x00000008, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_8021E93C_4FE51C -.word D_8021D470_4FD050, 0x00000000, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021849C_4F807C, 0x00000001, 0x00000009, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021849C_4F807C, 0x00000002, 0x00000008, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_8021E990_4FE570 -.word D_8021D470_4FD050, 0x00000000, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021849C_4F807C, 0x00000001, 0x00000009, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021D470_4FD050, 0x00000002, 0x00000008, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_8021E9E4_4FE5C4 -.word D_8021A9FC_4FA5DC, 0x00000005, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021A9FC_4FA5DC, 0x00000006, 0x00000009, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_8021EA1C_4FE5FC -.word D_8021A9FC_4FA5DC, 0x00000004, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021A9FC_4FA5DC, 0x00000005, 0x00000009, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021A9FC_4FA5DC, 0x00000006, 0x00000008, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021EE50_4FEA30, 0x00000002, D_8021E4C0_4FE0A0, D_8021E48C_4FE06C, 0x00000000, D_8021EE38_4FEA18, 0x00000003, D_8021E4F8_4FE0D8, D_8021E48C_4FE06C, 0x00000000, D_8021EE20_4FEA00, 0x00000004, D_8021E54C_4FE12C, D_8021E48C_4FE06C, 0x00000000, D_8021EDFC_4FE9DC, 0x00000002, D_8021E5BC_4FE19C, D_8021E48C_4FE06C, 0x00000000, D_8021EDD4_4FE9B4, 0x00000003, D_8021E5F4_4FE1D4, D_8021E48C_4FE06C, 0x00000000, D_8021EDAC_4FE98C, 0x00000004, D_8021E648_4FE228, D_8021E48C_4FE06C, 0x00000000, D_8021ED84_4FE964, 0x00000004, D_8021E6B8_4FE298, D_8021E48C_4FE06C, 0x00000000, D_8021ED3C_4FE91C, 0x00000004, D_8021E728_4FE308, D_8021E48C_4FE06C, 0x00000000, D_8021ED28_4FE908, 0x00000001, D_8021E798_4FE378, D_8021E48C_4FE06C, 0x00000000, D_8021ED14_4FE8F4, 0x00000002, D_8021E7B4_4FE394, D_8021E48C_4FE06C, 0x00000000, D_8021ED00_4FE8E0, 0x00000003, D_8021E7EC_4FE3CC, D_8021E48C_4FE06C, 0x00000000, D_8021ECEC_4FE8CC, 0x00000004, D_8021E840_4FE420, D_8021E48C_4FE06C, 0x00000000, D_8021ECC8_4FE8A8, 0x00000002, D_8021E8B0_4FE490, D_8021E48C_4FE06C, 0x00000000, D_8021ECA0_4FE880, 0x00000003, D_8021E8E8_4FE4C8, D_8021E48C_4FE06C, 0x00000000, D_8021EC78_4FE858, 0x00000003, D_8021E93C_4FE51C, D_8021E48C_4FE06C, 0x00000000, D_8021EC40_4FE820, 0x00000003, D_8021E990_4FE570, D_8021E48C_4FE06C, 0x00000000, D_8021EC34_4FE814, 0x00000002, D_8021E9E4_4FE5C4, D_8021E48C_4FE06C, 0x00000000, D_8021EC28_4FE808, 0x00000003, D_8021EA1C_4FE5FC, D_8021E48C_4FE06C, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021EE68_4FEA48, D_8021E48C_4FE06C, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_8021EC00_4FE7E0 -.word 0x6D696D5F, 0x62743031, 0x5F686974, 0x00000000 - -dlabel D_8021EC10_4FE7F0 -.word 0x6D696D5F, 0x62743031, 0x5F736861, 0x70650000 - -dlabel D_8021EC20_4FE800 -.word 0x6D696D5F, 0x74657800 - -dlabel D_8021EC28_4FE808 -.word 0x836E8362, 0x8360815B, 0x78330000 - -dlabel D_8021EC34_4FE814 -.word 0x836E8362, 0x8360815B, 0x78320000 - -dlabel D_8021EC40_4FE820 -.word 0x83708362, 0x834E8393, 0x83748389, 0x838F815B, 0x2C834F83, 0x8A815B83, 0x93836083, 0x87838D83, 0x7B83932C, 0x83708362, 0x834E8393, 0x83748389, 0x838F815B, 0x00000000 - -dlabel D_8021EC78_4FE858 -.word 0x83708362, 0x834E8393, 0x83748389, 0x838F815B, 0x2C834F83, 0x8A815B83, 0x93836083, 0x87838D83, 0x7B839378, 0x32000000 - -dlabel D_8021ECA0_4FE880 -.word 0x83708362, 0x834E8393, 0x83748389, 0x838F815B, 0x78322C83, 0x4F838A81, 0x5B839383, 0x60838783, 0x8D837B83, 0x93000000 - -dlabel D_8021ECC8_4FE8A8 -.word 0x83708362, 0x834E8393, 0x83748389, 0x838F815B, 0x2C834F83, 0x8A815B83, 0x93836083, 0x87838D83, 0x7B839300 - -dlabel D_8021ECEC_4FE8CC -.word 0x83708362, 0x834E8393, 0x83748389, 0x838F815B, 0x78340000 - -dlabel D_8021ED00_4FE8E0 -.word 0x83708362, 0x834E8393, 0x83748389, 0x838F815B, 0x78330000 - -dlabel D_8021ED14_4FE8F4 -.word 0x83708362, 0x834E8393, 0x83748389, 0x838F815B, 0x78320000 - -dlabel D_8021ED28_4FE908 -.word 0x83708362, 0x834E8393, 0x83748389, 0x838F815B, 0x00000000 - -dlabel D_8021ED3C_4FE91C -.word 0x834F838A, 0x815B8393, 0x83608387, 0x838D837B, 0x83932C83, 0x70836283, 0x4E839383, 0x74838983, 0x8F815B2C, 0x834F838A, 0x815B8393, 0x83608387, 0x838D837B, 0x83932C83, 0x70836283, 0x4E839383, 0x74838983, 0x8F815B00 - -dlabel D_8021ED84_4FE964 -.word 0x834F838A, 0x815B8393, 0x83608387, 0x838D837B, 0x83937833, 0x2C837083, 0x62834E83, 0x93837483, 0x89838F81, 0x5B000000 - -dlabel D_8021EDAC_4FE98C -.word 0x834F838A, 0x815B8393, 0x83608387, 0x838D837B, 0x83937832, 0x2C837083, 0x62834E83, 0x93837483, 0x89838F81, 0x5B783200 - -dlabel D_8021EDD4_4FE9B4 -.word 0x834F838A, 0x815B8393, 0x83608387, 0x838D837B, 0x83937832, 0x2C837083, 0x62834E83, 0x93837483, 0x89838F81, 0x5B000000 - -dlabel D_8021EDFC_4FE9DC -.word 0x834F838A, 0x815B8393, 0x83608387, 0x838D837B, 0x83932C83, 0x70836283, 0x4E839383, 0x74838983, 0x8F815B00 - -dlabel D_8021EE20_4FEA00 -.word 0x834F838A, 0x815B8393, 0x83608387, 0x838D837B, 0x83937834, 0x00000000 - -dlabel D_8021EE38_4FEA18 -.word 0x834F838A, 0x815B8393, 0x83608387, 0x838D837B, 0x83937833, 0x00000000 - -dlabel D_8021EE50_4FEA30 -.word 0x834F838A, 0x815B8393, 0x83608387, 0x838D837B, 0x83937832, 0x00000000 - -dlabel D_8021EE68_4FEA48 -.word 0x6D696D5F, 0x30310000 diff --git a/ver/us/asm/nonmatchings/battle/area_isk_part_2/4EF4A0/b_area_isk_part_2_ChompChainUpdate.s b/ver/us/asm/nonmatchings/battle/area_isk_part_2/4EF4A0/b_area_isk_part_2_chain_chomp_ChompChainUpdate.s similarity index 97% rename from ver/us/asm/nonmatchings/battle/area_isk_part_2/4EF4A0/b_area_isk_part_2_ChompChainUpdate.s rename to ver/us/asm/nonmatchings/battle/area_isk_part_2/4EF4A0/b_area_isk_part_2_chain_chomp_ChompChainUpdate.s index e0299fe568..2d29b7e892 100644 --- a/ver/us/asm/nonmatchings/battle/area_isk_part_2/4EF4A0/b_area_isk_part_2_ChompChainUpdate.s +++ b/ver/us/asm/nonmatchings/battle/area_isk_part_2/4EF4A0/b_area_isk_part_2_chain_chomp_ChompChainUpdate.s @@ -1,7 +1,13 @@ .set noat # allow manual use of $at .set noreorder # don't insert nops after branches -glabel b_area_isk_part_2_ChompChainUpdate +.section .rodata +dlabel D_802204E0_4F7980 +.double 0.2, 0.0 + +.section .text + +glabel b_area_isk_part_2_chain_chomp_ChompChainUpdate /* 4EF6FC 8021825C 27BDFFA0 */ addiu $sp, $sp, -0x60 /* 4EF700 80218260 AFB00020 */ sw $s0, 0x20($sp) /* 4EF704 80218264 0080802D */ daddu $s0, $a0, $zero @@ -157,7 +163,7 @@ glabel b_area_isk_part_2_ChompChainUpdate /* 4EF938 80218498 4602A081 */ sub.s $f2, $f20, $f2 /* 4EF93C 8021849C 4406B000 */ mfc1 $a2, $f22 /* 4EF940 802184A0 44051000 */ mfc1 $a1, $f2 -/* 4EF944 802184A4 0C08607A */ jal b_area_isk_part_2_ChompChainUpdateHelperFunc2 +/* 4EF944 802184A4 0C08607A */ jal b_area_isk_part_2_chain_chomp_ChompChainUpdateHelperFunc2 /* 4EF948 802184A8 27A40018 */ addiu $a0, $sp, 0x18 /* 4EF94C 802184AC C7A00018 */ lwc1 $f0, 0x18($sp) /* 4EF950 802184B0 3C013FE0 */ lui $at, 0x3fe0 @@ -216,7 +222,7 @@ glabel b_area_isk_part_2_ChompChainUpdate /* 4EFA10 80218570 8E050018 */ lw $a1, 0x18($s0) .L80218574: /* 4EFA14 80218574 4406B000 */ mfc1 $a2, $f22 -/* 4EFA18 80218578 0C086054 */ jal b_area_isk_part_2_ChompChainUpdateHelperFunc +/* 4EFA18 80218578 0C086054 */ jal b_area_isk_part_2_chain_chomp_ChompChainUpdateHelperFunc /* 4EFA1C 8021857C 0240202D */ daddu $a0, $s2, $zero /* 4EFA20 80218580 C6000018 */ lwc1 $f0, 0x18($s0) /* 4EFA24 80218584 3C014010 */ lui $at, 0x4010 diff --git a/ver/us/splat.yaml b/ver/us/splat.yaml index b8607f0efb..0d4ffdc48f 100644 --- a/ver/us/splat.yaml +++ b/ver/us/splat.yaml @@ -3891,32 +3891,53 @@ segments: vram: 0x80218000 overlay: True subsegments: - - [0x4EF4A0, c] - - [0x4EFCF0, c] - - [0x4EFDC0, c] - - [0x4EFE90, c] - - [0x4EFFE0, data] + - [0x4EF4A0, c, actor/chain_chomp] + - [0x4EFB30, c, actor/tutankoopa] + - [0x4EFCF0, c, stage/isk_00] + - [0x4EFCF0, c, stage/isk_01] + - [0x4EFCF0, c, stage/isk_02] + - [0x4EFCF0, c, stage/isk_02b] + - [0x4EFCF0, c, stage/isk_02c] + - [0x4EFCF0, c, stage/isk_03] + - [0x4EFCF0, c, stage/isk_03b] + - [0x4EFCF0, c, stage/isk_04] + - [0x4EFDC0, c, stage/isk_05] + - [0x4EFE90, c, stage/isk_06] + - [0x4EFF00, c, stage/isk_06b] + - [0x4EFF70, c, stage/isk_07] + - [0x4EFFE0, c, area] + - [0x4EFFE0] - dir: battle/area_mim type: code start: 0x4F7BE0 vram: 0x80218000 overlay: True subsegments: - - [0x4F7BE0, c] - - [0x4F7D50, c] - - [0x4F7F40, c] - - [0x4F7FA0, data] + - [0x4F7BE0, c, actor/forest_fuzzy] + - [0x4F7D50, c, actor/bzzap] + - [0x4F7F40, c, actor/piranha_plant] + - [0x4F7F40, c, stage/mim_01] + - [0x4F7FA0, c, area] + - [0x4F7FA0] - dir: battle/area_arn type: code start: 0x4FEA50 vram: 0x80218000 overlay: True subsegments: - - [0x4FEA50, c] - - [0x4FED30, c] - - [0x4FF010, c] - - [0x4FF0D0, c] - - [0x4FF1C0, data] + - [0x4FEA50, c, actor/hypergoomba] + - [0x4FED30, c, actor/hyper_paragoomba] + - [0x4FF010, c, actor/hyper_cleft] + - [0x4FF0D0, c, actor/tubbas_heart] + - [0x4FF1C0, c, actor/tubba_blubba] + - [0x4FF1C0, c, stage/arn_01] + - [0x4FF1C0, c, stage/arn_02] + - [0x4FF1C0, c, stage/arn_03] + - [0x4FF1C0, c, stage/arn_04] + - [0x4FF1C0, c, stage/arn_05] + - [0x4FF1C0, c, stage/arn_06] + - [0x4FF1C0, c, area] + - [0x4FF1C0] - dir: battle/area_dgb type: code start: 0x50F020 diff --git a/ver/us/symbol_addrs.txt b/ver/us/symbol_addrs.txt index ced65e4448..5e08fe6526 100644 --- a/ver/us/symbol_addrs.txt +++ b/ver/us/symbol_addrs.txt @@ -7804,8 +7804,10 @@ D_80232B20_47EFB0 = 0x80232B20; // type:data rom:0x47EFB0 D_80232B28_47EFB8 = 0x80232B28; // type:data rom:0x47EFB8 D_80232B30_47EFC0 = 0x80232B30; // type:data rom:0x47EFC0 D_80232B38_47EFC8 = 0x80232B38; // type:data rom:0x47EFC8 -func_80218000_47F0B0 = 0x80218000; // type:func rom:0x47F0B0 +b_area_mac_lee_pad = 0x80232C18; // type:data rom:0x47F0A8 +func_80218000_47F0B0 = 0x80232C20; // type:data rom:0x47F0B0 b_area_hos_ember_UnkSfxFunc = 0x80218020; // type:func rom:0x47F0D0 +D_80232C50 = 0x80232C50; // type:data rom:0x47F0E0 b_area_hos_magikoopa_ShrinkActor = 0x80218150; // type:func rom:0x47F200 b_area_hos_magikoopa_GetSelectedMoveID = 0x802182A8; // type:func rom:0x47F358 b_area_hos_magikoopa_UnkBattleFunc1 = 0x802182D4; // type:func rom:0x47F384 @@ -8920,11 +8922,11 @@ b_area_isk_part_1_isk_06b_pad = 0x80224D98; // type:data rom:0x4EF4D8 b_area_isk_part_1_isk_06b_D_80224DA0 = 0x80224DA0; // type:data rom:0x4EF4E0 b_area_isk_part_1_isk_08_pad = 0x80224DA8; // type:data rom:0x4EF4E8 b_area_isk_part_1_isk_08_D_80224DB0 = 0x80224DB0; // type:data rom:0x4EF4F0 -b_area_isk_part_2_ChompChainUpdateHelperFunc = 0x80218150; // type:func rom:0x4EF5F0 -b_area_isk_part_2_ChompChainUpdateHelperFunc2 = 0x802181E8; // type:func rom:0x4EF688 -b_area_isk_part_2_ChompChainUpdate = 0x8021825C; // type:func rom:0x4EF6FC +b_area_isk_part_2_chain_chomp_ChompChainUpdateHelperFunc = 0x80218150; // type:func rom:0x4EF5F0 +b_area_isk_part_2_chain_chomp_ChompChainUpdateHelperFunc2 = 0x802181E8; // type:func rom:0x4EF688 +b_area_isk_part_2_chain_chomp_ChompChainUpdate = 0x8021825C; // type:func rom:0x4EF6FC func_8021866C_4EFB0C = 0x8021866C; // type:func rom:0x4EFB0C -b_area_isk_part_2_UnkBattleFunc1 = 0x80218690; // type:func rom:0x4EFB30 +b_area_isk_part_2_tutankoopa_UnkBattleFunc1 = 0x80218690; // type:func rom:0x4EFB30 func_8021875C_4EFBFC = 0x8021875C; // type:func rom:0x4EFBFC func_80218850_4EFCF0 = 0x80218850; // type:func rom:0x4EFCF0 func_802188E4_4EFD84 = 0x802188E4; // type:func rom:0x4EFD84 @@ -8936,21 +8938,325 @@ func_80218A60_4EFF00 = 0x80218A60; // type:func rom:0x4EFF00 func_80218AA8_4EFF48 = 0x80218AA8; // type:func rom:0x4EFF48 func_80218AD0_4EFF70 = 0x80218AD0; // type:func rom:0x4EFF70 func_80218B18_4EFFB8 = 0x80218B18; // type:func rom:0x4EFFB8 +b_area_isk_part_2_chain_chomp_idleAnimations_80218B40 = 0x80218B40; // type:data rom:0x4EFFE0 +b_area_isk_part_2_chain_chomp_idleAnimations_80218B84 = 0x80218B84; // type:data rom:0x4F0024 +b_area_isk_part_2_chain_chomp_idleAnimations_80218BC8 = 0x80218BC8; // type:data rom:0x4F0068 +b_area_isk_part_2_chain_chomp_idleAnimations_80218C0C = 0x80218C0C; // type:data rom:0x4F00AC +b_area_isk_part_2_chain_chomp_idleAnimations_80218C50 = 0x80218C50; // type:data rom:0x4F00F0 +b_area_isk_part_2_chain_chomp_defenseTable_80218C5C = 0x80218C5C; // type:data rom:0x4F00FC +b_area_isk_part_2_chain_chomp_statusTable_80218C88 = 0x80218C88; // type:data rom:0x4F0128 +b_area_isk_part_2_chain_chomp_partsTable_80218D34 = 0x80218D34; // type:data rom:0x4F01D4 +b_area_isk_part_2_chain_chomp = 0x80218E9C; // type:data rom:0x4F033C +b_area_isk_part_2_chain_chomp_init_80218EC4 = 0x80218EC4; // type:data rom:0x4F0364 +b_area_isk_part_2_chain_chomp_80218FCC = 0x80218FCC; // type:data rom:0x4F046C +b_area_isk_part_2_chain_chomp_idle_80219108 = 0x80219108; // type:data rom:0x4F05A8 +b_area_isk_part_2_chain_chomp_8021972C = 0x8021972C; // type:data rom:0x4F0BCC +b_area_isk_part_2_chain_chomp_handleEvent_802197C4 = 0x802197C4; // type:data rom:0x4F0C64 +b_area_isk_part_2_chain_chomp_8021A200 = 0x8021A200; // type:data rom:0x4F16A0 +b_area_isk_part_2_chain_chomp_takeTurn_8021A7C4 = 0x8021A7C4; // type:data rom:0x4F1C64 +b_area_isk_part_2_chain_chomp_8021B41C = 0x8021B41C; // type:data rom:0x4F28BC +b_area_isk_part_2_chain_chomp_8021B50C = 0x8021B50C; // type:data rom:0x4F29AC +b_area_isk_part_2_tutankoopa_idleAnimations_8021B960 = 0x8021B960; // type:data rom:0x4F2E00 +b_area_isk_part_2_tutankoopa_idleAnimations_8021B9AC = 0x8021B9AC; // type:data rom:0x4F2E4C +b_area_isk_part_2_tutankoopa_idleAnimations_8021B9F8 = 0x8021B9F8; // type:data rom:0x4F2E98 +b_area_isk_part_2_tutankoopa_idleAnimations_8021BA04 = 0x8021BA04; // type:data rom:0x4F2EA4 +b_area_isk_part_2_tutankoopa_idleAnimations_8021BA10 = 0x8021BA10; // type:data rom:0x4F2EB0 +b_area_isk_part_2_tutankoopa_defenseTable_8021BA1C = 0x8021BA1C; // type:data rom:0x4F2EBC +b_area_isk_part_2_tutankoopa_statusTable_8021BA28 = 0x8021BA28; // type:data rom:0x4F2EC8 +b_area_isk_part_2_tutankoopa_partsTable_8021BAD4 = 0x8021BAD4; // type:data rom:0x4F2F74 +b_area_isk_part_2_tutankoopa = 0x8021BBF4; // type:data rom:0x4F3094 +b_area_isk_part_2_tutankoopa_init_8021BC1C = 0x8021BC1C; // type:data rom:0x4F30BC +b_area_isk_part_2_tutankoopa_idle_8021BE28 = 0x8021BE28; // type:data rom:0x4F32C8 +b_area_isk_part_2_tutankoopa_handleEvent_8021BFD0 = 0x8021BFD0; // type:data rom:0x4F3470 +b_area_isk_part_2_tutankoopa_8021C748 = 0x8021C748; // type:data rom:0x4F3BE8 +b_area_isk_part_2_tutankoopa_8021C974 = 0x8021C974; // type:data rom:0x4F3E14 +b_area_isk_part_2_tutankoopa_takeTurn_8021CCD4 = 0x8021CCD4; // type:data rom:0x4F4174 +b_area_isk_part_2_tutankoopa_8021D04C = 0x8021D04C; // type:data rom:0x4F44EC +b_area_isk_part_2_tutankoopa_8021D81C = 0x8021D81C; // type:data rom:0x4F4CBC +b_area_isk_part_2_tutankoopa_8021DDE8 = 0x8021DDE8; // type:data rom:0x4F5288 +b_area_isk_part_2_tutankoopa_8021E008 = 0x8021E008; // type:data rom:0x4F54A8 +b_area_isk_part_2_tutankoopa_vector3D_8021E9A0 = 0x8021E9A0; // type:data rom:0x4F5E40 +b_area_isk_part_2_tutankoopa_specialFormation_8021E9AC = 0x8021E9AC; // type:data rom:0x4F5E4C +b_area_isk_part_2_tutankoopa_8021E9C8 = 0x8021E9C8; // type:data rom:0x4F5E68 +b_area_isk_part_2_tutankoopa_8021F42C = 0x8021F42C; // type:data rom:0x4F68CC +b_area_isk_part_2_tutankoopa_8021F5E8 = 0x8021F5E8; // type:data rom:0x4F6A88 +b_area_isk_part_2_tutankoopa_8021F80C = 0x8021F80C; // type:data rom:0x4F6CAC +b_area_isk_part_2_tutankoopa_nextTurn_8021F9C4 = 0x8021F9C4; // type:data rom:0x4F6E64 +b_area_isk_part_2_tutankoopa_8021FA54 = 0x8021FA54; // type:data rom:0x4F6EF4 +b_area_isk_part_2_isk_00_beforeBattle_8021FCF0 = 0x8021FCF0; // type:data rom:0x4F7190 +b_area_isk_part_2_isk_00_afterBattle_8021FD2C = 0x8021FD2C; // type:data rom:0x4F71CC +b_area_isk_part_2_isk_00 = 0x8021FD3C; // type:data rom:0x4F71DC +b_area_isk_part_2_isk_01_beforeBattle_8021FD70 = 0x8021FD70; // type:data rom:0x4F7210 +b_area_isk_part_2_isk_01_afterBattle_8021FDAC = 0x8021FDAC; // type:data rom:0x4F724C +b_area_isk_part_2_isk_01 = 0x8021FDBC; // type:data rom:0x4F725C +b_area_isk_part_2_isk_02_beforeBattle_8021FDF0 = 0x8021FDF0; // type:data rom:0x4F7290 +b_area_isk_part_2_isk_02_afterBattle_8021FE2C = 0x8021FE2C; // type:data rom:0x4F72CC +b_area_isk_part_2_isk_02_foregroundModelList_8021FE3C = 0x8021FE3C; // type:data rom:0x4F72DC +b_area_isk_part_2_isk_02 = 0x8021FE4C; // type:data rom:0x4F72EC +b_area_isk_part_2_isk_02b_beforeBattle_8021FE80 = 0x8021FE80; // type:data rom:0x4F7320 +b_area_isk_part_2_isk_02b_afterBattle_8021FF34 = 0x8021FF34; // type:data rom:0x4F73D4 +b_area_isk_part_2_isk_02b_foregroundModelList_8021FF44 = 0x8021FF44; // type:data rom:0x4F73E4 +b_area_isk_part_2_isk_02b = 0x8021FF54; // type:data rom:0x4F73F4 +b_area_isk_part_2_isk_02c_beforeBattle_8021FF80 = 0x8021FF80; // type:data rom:0x4F7420 +b_area_isk_part_2_isk_02c_afterBattle_8021FFE4 = 0x8021FFE4; // type:data rom:0x4F7484 +b_area_isk_part_2_isk_02c_foregroundModelList_8021FFF4 = 0x8021FFF4; // type:data rom:0x4F7494 +b_area_isk_part_2_isk_02c = 0x80220004; // type:data rom:0x4F74A4 +b_area_isk_part_2_isk_03_beforeBattle_80220030 = 0x80220030; // type:data rom:0x4F74D0 +b_area_isk_part_2_isk_03_afterBattle_8022006C = 0x8022006C; // type:data rom:0x4F750C +b_area_isk_part_2_isk_03 = 0x8022007C; // type:data rom:0x4F751C +b_area_isk_part_2_isk_03b_beforeBattle_802200B0 = 0x802200B0; // type:data rom:0x4F7550 +b_area_isk_part_2_isk_03b_afterBattle_802200EC = 0x802200EC; // type:data rom:0x4F758C +b_area_isk_part_2_isk_03b = 0x802200FC; // type:data rom:0x4F759C +b_area_isk_part_2_isk_04_beforeBattle_80220130 = 0x80220130; // type:data rom:0x4F75D0 +b_area_isk_part_2_isk_04_afterBattle_80220178 = 0x80220178; // type:data rom:0x4F7618 +b_area_isk_part_2_isk_04_foregroundModelList_80220194 = 0x80220194; // type:data rom:0x4F7634 +b_area_isk_part_2_isk_04 = 0x802201A0; // type:data rom:0x4F7640 +b_area_isk_part_2_isk_05_beforeBattle_802201D0 = 0x802201D0; // type:data rom:0x4F7670 +b_area_isk_part_2_isk_05_afterBattle_80220218 = 0x80220218; // type:data rom:0x4F76B8 +b_area_isk_part_2_isk_05 = 0x80220234; // type:data rom:0x4F76D4 +b_area_isk_part_2_isk_06_beforeBattle_80220260 = 0x80220260; // type:data rom:0x4F7700 +b_area_isk_part_2_isk_06_afterBattle_802202A8 = 0x802202A8; // type:data rom:0x4F7748 +b_area_isk_part_2_isk_06 = 0x802202C4; // type:data rom:0x4F7764 +b_area_isk_part_2_isk_06b_beforeBattle_802202F0 = 0x802202F0; // type:data rom:0x4F7790 +b_area_isk_part_2_isk_06b_afterBattle_8022034C = 0x8022034C; // type:data rom:0x4F77EC +b_area_isk_part_2_isk_06b = 0x80220368; // type:data rom:0x4F7808 +b_area_isk_part_2_isk_07_beforeBattle_80220390 = 0x80220390; // type:data rom:0x4F7830 +b_area_isk_part_2_isk_07_afterBattle_802203D8 = 0x802203D8; // type:data rom:0x4F7878 +b_area_isk_part_2_isk_07 = 0x802203F4; // type:data rom:0x4F7894 +b_area_isk_part_2_vector3D_80220420 = 0x80220420; // type:data rom:0x4F78C0 +b_area_isk_part_2_formation_00 = 0x8022042C; // type:data rom:0x4F78CC +b_area_isk_part_2_formationTable = 0x80220448; // type:data rom:0x4F78E8 +b_area_isk_part_2_stageTable = 0x80220470; // type:data rom:0x4F7910 D_802204E0_4F7980 = 0x802204E0; // type:data rom:0x4F7980 -b_area_mim_UnkBattleFunc2 = 0x80218000; // type:func rom:0x4F7BE0 -b_area_mim_UnkBattleFunc2_2 = 0x802180B4; // type:func rom:0x4F7C94 -b_area_mim_UnkBattleFunc1 = 0x80218170; // type:func rom:0x4F7D50 -b_area_mim_UnkFloatFunc4 = 0x8021823C; // type:func rom:0x4F7E1C -b_area_mim_UnkFogFunc2 = 0x80218360; // type:func rom:0x4F7F40 -b_area_arn_StartRumbleWithParams = 0x80218000; // type:func rom:0x4FEA50 -b_area_arn_BattleAreaAngleStuff1 = 0x80218058; // type:func rom:0x4FEAA8 -b_area_arn_AngleCalculate = 0x802181E4; // type:func rom:0x4FEC34 -dup_b_area_arn_StartRumbleWithParams = 0x802182E0; // type:func rom:0x4FED30 -dup_b_area_arn_BattleAreaAngleStuff1 = 0x80218338; // type:func rom:0x4FED88 -dup_b_area_arn_AngleCalculate = 0x802184C4; // type:func rom:0x4FEF14 -dup2_b_area_arn_StartRumbleWithParams = 0x802185C0; // type:func rom:0x4FF010 -b_area_arn_SetSpinSmashable = 0x80218618; // type:func rom:0x4FF068 +b_area_mim_forest_fuzzy_UnkBattleFunc2 = 0x80220740; // type:data rom:0x4F7BE0 +D_80220744 = 0x80220744; // type:data rom:0x4F7BE4 +D_80220750 = 0x80220750; // type:data rom:0x4F7BF0 +D_80220754 = 0x80220754; // type:data rom:0x4F7BF4 +D_80220760 = 0x80220760; // type:data rom:0x4F7C00 +D_80220770 = 0x80220770; // type:data rom:0x4F7C10 +D_80220780 = 0x80220780; // type:data rom:0x4F7C20 +b_area_mim_forest_fuzzy_UnkBattleFunc2_2 = 0x802180B4; // type:func rom:0x4F7C94 +b_area_mim_bzzap_UnkBattleFunc1 = 0x80218170; // type:func rom:0x4F7D50 +b_area_mim_bzzap_UnkFloatFunc4 = 0x8021823C; // type:func rom:0x4F7E1C +b_area_mim_mim_01_UnkFogFunc2 = 0x80218360; // type:func rom:0x4F7F40 +b_area_mim_forest_fuzzy_defenseTable_802183C0 = 0x802183C0; // type:data rom:0x4F7FA0 +b_area_mim_forest_fuzzy_statusTable_802183CC = 0x802183CC; // type:data rom:0x4F7FAC +b_area_mim_forest_fuzzy_partsTable_80218478 = 0x80218478; // type:data rom:0x4F8058 +b_area_mim_forest_fuzzy = 0x8021849C; // type:data rom:0x4F807C +b_area_mim_forest_fuzzy_idleAnimations_802184C4 = 0x802184C4; // type:data rom:0x4F80A4 +b_area_mim_forest_fuzzy_init_80218510 = 0x80218510; // type:data rom:0x4F80F0 +b_area_mim_forest_fuzzy_idle_80218574 = 0x80218574; // type:data rom:0x4F8154 +b_area_mim_forest_fuzzy_handleEvent_80218584 = 0x80218584; // type:data rom:0x4F8164 +b_area_mim_forest_fuzzy_80218C48 = 0x80218C48; // type:data rom:0x4F8828 +b_area_mim_forest_fuzzy_80219054 = 0x80219054; // type:data rom:0x4F8C34 +b_area_mim_forest_fuzzy_8021A0D4 = 0x8021A0D4; // type:data rom:0x4F9CB4 +b_area_mim_forest_fuzzy_8021A45C = 0x8021A45C; // type:data rom:0x4FA03C +b_area_mim_forest_fuzzy_takeTurn_8021A61C = 0x8021A61C; // type:data rom:0x4FA1FC +b_area_mim_forest_fuzzy_vector3D_8021A7F4 = 0x8021A7F4; // type:data rom:0x4FA3D4 +b_area_mim_forest_fuzzy_specialFormation_8021A800 = 0x8021A800; // type:data rom:0x4FA3E0 +b_area_mim_bzzap_idleAnimations_8021A820 = 0x8021A820; // type:data rom:0x4FA400 +b_area_mim_bzzap_defenseTable_8021A86C = 0x8021A86C; // type:data rom:0x4FA44C +b_area_mim_bzzap_statusTable_8021A878 = 0x8021A878; // type:data rom:0x4FA458 +b_area_mim_bzzap_partsTable_8021A924 = 0x8021A924; // type:data rom:0x4FA504 +b_area_mim_bzzap = 0x8021A9FC; // type:data rom:0x4FA5DC +b_area_mim_bzzap_init_8021AA24 = 0x8021AA24; // type:data rom:0x4FA604 +b_area_mim_bzzap_idle_8021AB10 = 0x8021AB10; // type:data rom:0x4FA6F0 +b_area_mim_bzzap_8021AC20 = 0x8021AC20; // type:data rom:0x4FA800 +b_area_mim_bzzap_handleEvent_8021ACA8 = 0x8021ACA8; // type:data rom:0x4FA888 +b_area_mim_bzzap_8021B28C = 0x8021B28C; // type:data rom:0x4FAE6C +b_area_mim_bzzap_8021B77C = 0x8021B77C; // type:data rom:0x4FB35C +b_area_mim_bzzap_8021BC74 = 0x8021BC74; // type:data rom:0x4FB854 +b_area_mim_bzzap_takeTurn_8021D28C = 0x8021D28C; // type:data rom:0x4FCE6C +b_area_mim_piranha_plant_idleAnimations_8021D330 = 0x8021D330; // type:data rom:0x4FCF10 +b_area_mim_piranha_plant_unk_missing_8021D37C = 0x8021D37C; // type:data rom:0x4FCF5C +b_area_mim_piranha_plant_unk_missing_8021D388 = 0x8021D388; // type:data rom:0x4FCF68 +b_area_mim_piranha_plant_defenseTable_8021D394 = 0x8021D394; // type:data rom:0x4FCF74 +b_area_mim_piranha_plant_statusTable_8021D3A0 = 0x8021D3A0; // type:data rom:0x4FCF80 +b_area_mim_piranha_plant_partsTable_8021D44C = 0x8021D44C; // type:data rom:0x4FD02C +b_area_mim_piranha_plant = 0x8021D470; // type:data rom:0x4FD050 +b_area_mim_piranha_plant_init_8021D498 = 0x8021D498; // type:data rom:0x4FD078 +b_area_mim_piranha_plant_idle_8021D4E4 = 0x8021D4E4; // type:data rom:0x4FD0C4 +b_area_mim_piranha_plant_8021D4F4 = 0x8021D4F4; // type:data rom:0x4FD0D4 +b_area_mim_piranha_plant_handleEvent_8021D60C = 0x8021D60C; // type:data rom:0x4FD1EC +b_area_mim_piranha_plant_takeTurn_8021DCD4 = 0x8021DCD4; // type:data rom:0x4FD8B4 +b_area_mim_mim_01_beforeBattle_8021E450 = 0x8021E450; // type:data rom:0x4FE030 +b_area_mim_mim_01_afterBattle_8021E47C = 0x8021E47C; // type:data rom:0x4FE05C +b_area_mim_mim_01 = 0x8021E48C; // type:data rom:0x4FE06C +b_area_mim_formation_00 = 0x8021E4C0; // type:data rom:0x4FE0A0 +b_area_mim_formation_01 = 0x8021E4F8; // type:data rom:0x4FE0D8 +b_area_mim_formation_02 = 0x8021E54C; // type:data rom:0x4FE12C +b_area_mim_formation_03 = 0x8021E5BC; // type:data rom:0x4FE19C +b_area_mim_formation_04 = 0x8021E5F4; // type:data rom:0x4FE1D4 +b_area_mim_formation_05 = 0x8021E648; // type:data rom:0x4FE228 +b_area_mim_formation_06 = 0x8021E6B8; // type:data rom:0x4FE298 +b_area_mim_formation_07 = 0x8021E728; // type:data rom:0x4FE308 +b_area_mim_formation_08 = 0x8021E798; // type:data rom:0x4FE378 +b_area_mim_formation_09 = 0x8021E7B4; // type:data rom:0x4FE394 +b_area_mim_formation_0A = 0x8021E7EC; // type:data rom:0x4FE3CC +b_area_mim_formation_0B = 0x8021E840; // type:data rom:0x4FE420 +b_area_mim_formation_0C = 0x8021E8B0; // type:data rom:0x4FE490 +b_area_mim_formation_0D = 0x8021E8E8; // type:data rom:0x4FE4C8 +b_area_mim_formation_0E = 0x8021E93C; // type:data rom:0x4FE51C +b_area_mim_formation_0F = 0x8021E990; // type:data rom:0x4FE570 +b_area_mim_formation_10 = 0x8021E9E4; // type:data rom:0x4FE5C4 +b_area_mim_formation_11 = 0x8021EA1C; // type:data rom:0x4FE5FC +b_area_mim_formationTable = 0x8021EA70; // type:data rom:0x4FE650 +b_area_mim_stageTable = 0x8021EBEC; // type:data rom:0x4FE7CC +b_area_arn_hypergoomba_StartRumbleWithParams = 0x80218000; // type:func rom:0x4FEA50 +b_area_arn_hypergoomba_BattleAreaAngleStuff1 = 0x80218058; // type:func rom:0x4FEAA8 +b_area_arn_hypergoomba_AngleCalculate = 0x802181E4; // type:func rom:0x4FEC34 +b_area_arn_hyper_paragoomba_StartRumbleWithParams = 0x802182E0; // type:func rom:0x4FED30 +b_area_arn_hyper_paragoomba_BattleAreaAngleStuff1 = 0x80218338; // type:func rom:0x4FED88 +b_area_arn_hyper_paragoomba_AngleCalculate = 0x802184C4; // type:func rom:0x4FEF14 +b_area_arn_hyper_cleft_StartRumbleWithParams = 0x802185C0; // type:func rom:0x4FF010 +b_area_arn_hyper_cleft_SetSpinSmashable = 0x80218618; // type:func rom:0x4FF068 func_80218680_4FF0D0 = 0x80218680; // type:func rom:0x4FF0D0 +b_area_arn_hypergoomba_defenseTable_80218770 = 0x80218770; // type:data rom:0x4FF1C0 +b_area_arn_hypergoomba_statusTable_8021877C = 0x8021877C; // type:data rom:0x4FF1CC +b_area_arn_hypergoomba_partsTable_80218828 = 0x80218828; // type:data rom:0x4FF278 +b_area_arn_hypergoomba = 0x8021884C; // type:data rom:0x4FF29C +b_area_arn_hypergoomba_idleAnimations_80218874 = 0x80218874; // type:data rom:0x4FF2C4 +b_area_arn_hypergoomba_init_802188C0 = 0x802188C0; // type:data rom:0x4FF310 +b_area_arn_hypergoomba_nextTurn_80218950 = 0x80218950; // type:data rom:0x4FF3A0 +b_area_arn_hypergoomba_802189D4 = 0x802189D4; // type:data rom:0x4FF424 +b_area_arn_hypergoomba_takeTurn_802195F0 = 0x802195F0; // type:data rom:0x500040 +b_area_arn_hypergoomba_idleAnimations_80219818 = 0x80219818; // type:data rom:0x500268 +b_area_arn_hypergoomba_idleAnimations_80219864 = 0x80219864; // type:data rom:0x5002B4 +b_area_arn_hypergoomba_802198B0 = 0x802198B0; // type:data rom:0x500300 +b_area_arn_hypergoomba_idle_802198FC = 0x802198FC; // type:data rom:0x50034C +b_area_arn_hypergoomba_handleEvent_80219BD8 = 0x80219BD8; // type:data rom:0x500628 +b_area_arn_hypergoomba_floatTable = 0x8021A4BC; // type:data rom:0x500F0C +b_area_arn_hypergoomba_takeTurn_8021A628 = 0x8021A628; // type:data rom:0x501078 +b_area_arn_hyper_paragoomba_defenseTable_8021B2F0 = 0x8021B2F0; // type:data rom:0x501D40 +b_area_arn_hyper_paragoomba_defenseTable_8021B2FC = 0x8021B2FC; // type:data rom:0x501D4C +b_area_arn_hyper_paragoomba_statusTable_8021B308 = 0x8021B308; // type:data rom:0x501D58 +b_area_arn_hyper_paragoomba_statusTable_8021B3B4 = 0x8021B3B4; // type:data rom:0x501E04 +b_area_arn_hyper_paragoomba_partsTable_8021B460 = 0x8021B460; // type:data rom:0x501EB0 +b_area_arn_hyper_paragoomba = 0x8021B4F0; // type:data rom:0x501F40 +b_area_arn_hyper_paragoomba_idleAnimations_8021B518 = 0x8021B518; // type:data rom:0x501F68 +b_area_arn_hyper_paragoomba_init_8021B564 = 0x8021B564; // type:data rom:0x501FB4 +b_area_arn_hyper_paragoomba_nextTurn_8021B5F4 = 0x8021B5F4; // type:data rom:0x502044 +b_area_arn_hyper_paragoomba_8021B678 = 0x8021B678; // type:data rom:0x5020C8 +b_area_arn_hyper_paragoomba_takeTurn_8021C36C = 0x8021C36C; // type:data rom:0x502DBC +b_area_arn_hyper_paragoomba_idleAnimations_8021C594 = 0x8021C594; // type:data rom:0x502FE4 +b_area_arn_hyper_paragoomba_idleAnimations_8021C5E0 = 0x8021C5E0; // type:data rom:0x503030 +b_area_arn_hyper_paragoomba_idleAnimations_8021C62C = 0x8021C62C; // type:data rom:0x50307C +b_area_arn_hyper_paragoomba_idleAnimations_8021C638 = 0x8021C638; // type:data rom:0x503088 +b_area_arn_hyper_paragoomba_8021C644 = 0x8021C644; // type:data rom:0x503094 +b_area_arn_hyper_paragoomba_idle_8021C690 = 0x8021C690; // type:data rom:0x5030E0 +b_area_arn_hyper_paragoomba_8021C94C = 0x8021C94C; // type:data rom:0x50339C +b_area_arn_hyper_paragoomba_handleEvent_8021C9C4 = 0x8021C9C4; // type:data rom:0x503414 +b_area_arn_hyper_paragoomba_takeTurn_8021D1DC = 0x8021D1DC; // type:data rom:0x503C2C +b_area_arn_hyper_paragoomba_8021D9F4 = 0x8021D9F4; // type:data rom:0x504444 +b_area_arn_hyper_paragoomba_idleAnimations_8021DF7C = 0x8021DF7C; // type:data rom:0x5049CC +b_area_arn_hyper_paragoomba_8021DFC8 = 0x8021DFC8; // type:data rom:0x504A18 +b_area_arn_hyper_paragoomba_8021E058 = 0x8021E058; // type:data rom:0x504AA8 +b_area_arn_hyper_paragoomba_nextTurn_8021E194 = 0x8021E194; // type:data rom:0x504BE4 +b_area_arn_hyper_paragoomba_8021E218 = 0x8021E218; // type:data rom:0x504C68 +b_area_arn_hyper_paragoomba_takeTurn_8021EE34 = 0x8021EE34; // type:data rom:0x505884 +b_area_arn_hyper_paragoomba_idleAnimations_8021F05C = 0x8021F05C; // type:data rom:0x505AAC +b_area_arn_hyper_paragoomba_idleAnimations_8021F0A8 = 0x8021F0A8; // type:data rom:0x505AF8 +b_area_arn_hyper_paragoomba_8021F0F4 = 0x8021F0F4; // type:data rom:0x505B44 +b_area_arn_hyper_paragoomba_idle_8021F140 = 0x8021F140; // type:data rom:0x505B90 +b_area_arn_hyper_paragoomba_handleEvent_8021F41C = 0x8021F41C; // type:data rom:0x505E6C +b_area_arn_hyper_paragoomba_floatTable = 0x8021FD00; // type:data rom:0x506750 +b_area_arn_hyper_paragoomba_takeTurn_8021FE6C = 0x8021FE6C; // type:data rom:0x5068BC +b_area_arn_hyper_cleft_defenseTable_80220B40 = 0x80220B40; // type:data rom:0x507590 +b_area_arn_hyper_cleft_defenseTable_80220B54 = 0x80220B54; // type:data rom:0x5075A4 +b_area_arn_hyper_cleft_statusTable_80220B68 = 0x80220B68; // type:data rom:0x5075B8 +b_area_arn_hyper_cleft_partsTable_80220C14 = 0x80220C14; // type:data rom:0x507664 +b_area_arn_hyper_cleft = 0x80220C38; // type:data rom:0x507688 +b_area_arn_hyper_cleft_idleAnimations_80220C60 = 0x80220C60; // type:data rom:0x5076B0 +b_area_arn_hyper_cleft_init_80220CAC = 0x80220CAC; // type:data rom:0x5076FC +b_area_arn_hyper_cleft_nextTurn_80220D3C = 0x80220D3C; // type:data rom:0x50778C +b_area_arn_hyper_cleft_80220DC0 = 0x80220DC0; // type:data rom:0x507810 +b_area_arn_hyper_cleft_takeTurn_80221A58 = 0x80221A58; // type:data rom:0x5084A8 +b_area_arn_hyper_cleft_idleAnimations_80221CD4 = 0x80221CD4; // type:data rom:0x508724 +b_area_arn_hyper_cleft_idleAnimations_80221D20 = 0x80221D20; // type:data rom:0x508770 +b_area_arn_hyper_cleft_80221D6C = 0x80221D6C; // type:data rom:0x5087BC +b_area_arn_hyper_cleft_idle_80221DD0 = 0x80221DD0; // type:data rom:0x508820 +b_area_arn_hyper_cleft_80221DE0 = 0x80221DE0; // type:data rom:0x508830 +b_area_arn_hyper_cleft_handleEvent_80222140 = 0x80222140; // type:data rom:0x508B90 +b_area_arn_hyper_cleft_80222F1C = 0x80222F1C; // type:data rom:0x50996C +b_area_arn_hyper_cleft_80223310 = 0x80223310; // type:data rom:0x509D60 +b_area_arn_hyper_cleft_takeTurn_80223B5C = 0x80223B5C; // type:data rom:0x50A5AC +b_area_arn_tubbas_heart_idleAnimations_80223BC0 = 0x80223BC0; // type:data rom:0x50A610 +b_area_arn_tubbas_heart_idleAnimations_80223C1C = 0x80223C1C; // type:data rom:0x50A66C +b_area_arn_tubbas_heart_defenseTable_80223C78 = 0x80223C78; // type:data rom:0x50A6C8 +b_area_arn_tubbas_heart_statusTable_80223C84 = 0x80223C84; // type:data rom:0x50A6D4 +b_area_arn_tubbas_heart_partsTable_80223D30 = 0x80223D30; // type:data rom:0x50A780 +b_area_arn_tubbas_heart = 0x80223D78; // type:data rom:0x50A7C8 +b_area_arn_tubbas_heart_init_80223DA0 = 0x80223DA0; // type:data rom:0x50A7F0 +b_area_arn_tubbas_heart_idle_80223E98 = 0x80223E98; // type:data rom:0x50A8E8 +b_area_arn_tubbas_heart_80223FD8 = 0x80223FD8; // type:data rom:0x50AA28 +b_area_arn_tubbas_heart_handleEvent_80224038 = 0x80224038; // type:data rom:0x50AA88 +b_area_arn_tubbas_heart_80224414 = 0x80224414; // type:data rom:0x50AE64 +b_area_arn_tubbas_heart_802244DC = 0x802244DC; // type:data rom:0x50AF2C +b_area_arn_tubbas_heart_takeTurn_802245C8 = 0x802245C8; // type:data rom:0x50B018 +b_area_arn_tubbas_heart_80224B3C = 0x80224B3C; // type:data rom:0x50B58C +b_area_arn_tubbas_heart_80225258 = 0x80225258; // type:data rom:0x50BCA8 +b_area_arn_tubbas_heart_802255D8 = 0x802255D8; // type:data rom:0x50C028 +b_area_arn_tubba_blubba_idleAnimations_80225C40 = 0x80225C40; // type:data rom:0x50C690 +b_area_arn_tubba_blubba_defenseTable_80225C94 = 0x80225C94; // type:data rom:0x50C6E4 +b_area_arn_tubba_blubba_statusTable_80225CA0 = 0x80225CA0; // type:data rom:0x50C6F0 +b_area_arn_tubba_blubba_partsTable_80225D4C = 0x80225D4C; // type:data rom:0x50C79C +b_area_arn_tubba_blubba = 0x80225D70; // type:data rom:0x50C7C0 +b_area_arn_tubba_blubba_init_80225D98 = 0x80225D98; // type:data rom:0x50C7E8 +b_area_arn_tubba_blubba_80225E08 = 0x80225E08; // type:data rom:0x50C858 +b_area_arn_tubba_blubba_idle_80225F58 = 0x80225F58; // type:data rom:0x50C9A8 +b_area_arn_tubba_blubba_80225F8C = 0x80225F8C; // type:data rom:0x50C9DC +b_area_arn_tubba_blubba_80225FD4 = 0x80225FD4; // type:data rom:0x50CA24 +b_area_arn_tubba_blubba_handleEvent_802260D0 = 0x802260D0; // type:data rom:0x50CB20 +b_area_arn_tubba_blubba_takeTurn_802264AC = 0x802264AC; // type:data rom:0x50CEFC +b_area_arn_tubba_blubba_80226558 = 0x80226558; // type:data rom:0x50CFA8 +b_area_arn_tubba_blubba_80226B88 = 0x80226B88; // type:data rom:0x50D5D8 +b_area_arn_tubba_blubba_80227878 = 0x80227878; // type:data rom:0x50E2C8 +b_area_arn_arn_01_beforeBattle_802278F0 = 0x802278F0; // type:data rom:0x50E340 +b_area_arn_arn_01_afterBattle_80227910 = 0x80227910; // type:data rom:0x50E360 +b_area_arn_arn_01_foregroundModelList_80227920 = 0x80227920; // type:data rom:0x50E370 +b_area_arn_arn_01 = 0x8022792C; // type:data rom:0x50E37C +b_area_arn_arn_02_80227960 = 0x80227960; // type:data rom:0x50E3B0 +b_area_arn_arn_02_beforeBattle_80227A0C = 0x80227A0C; // type:data rom:0x50E45C +b_area_arn_arn_02_afterBattle_80227A48 = 0x80227A48; // type:data rom:0x50E498 +b_area_arn_arn_02_foregroundModelList_80227A58 = 0x80227A58; // type:data rom:0x50E4A8 +b_area_arn_arn_02 = 0x80227A64; // type:data rom:0x50E4B4 +b_area_arn_arn_03_beforeBattle_80227A90 = 0x80227A90; // type:data rom:0x50E4E0 +b_area_arn_arn_03_afterBattle_80227AB0 = 0x80227AB0; // type:data rom:0x50E500 +b_area_arn_arn_03_foregroundModelList_80227AC0 = 0x80227AC0; // type:data rom:0x50E510 +b_area_arn_arn_03 = 0x80227ACC; // type:data rom:0x50E51C +b_area_arn_arn_04_beforeBattle_80227B00 = 0x80227B00; // type:data rom:0x50E550 +b_area_arn_arn_04_afterBattle_80227B3C = 0x80227B3C; // type:data rom:0x50E58C +b_area_arn_arn_04_foregroundModelList_80227B4C = 0x80227B4C; // type:data rom:0x50E59C +b_area_arn_arn_04 = 0x80227B54; // type:data rom:0x50E5A4 +b_area_arn_arn_05_beforeBattle_80227B80 = 0x80227B80; // type:data rom:0x50E5D0 +b_area_arn_arn_05_afterBattle_80227BBC = 0x80227BBC; // type:data rom:0x50E60C +b_area_arn_arn_05_foregroundModelList_80227BCC = 0x80227BCC; // type:data rom:0x50E61C +b_area_arn_arn_05 = 0x80227BD4; // type:data rom:0x50E624 +b_area_arn_arn_06_beforeBattle_80227C00 = 0x80227C00; // type:data rom:0x50E650 +b_area_arn_arn_06_afterBattle_80227C20 = 0x80227C20; // type:data rom:0x50E670 +b_area_arn_arn_06_foregroundModelList_80227C30 = 0x80227C30; // type:data rom:0x50E680 +b_area_arn_arn_06 = 0x80227C38; // type:data rom:0x50E688 +b_area_arn_formation_00 = 0x80227C60; // type:data rom:0x50E6B0 +b_area_arn_formation_01 = 0x80227C7C; // type:data rom:0x50E6CC +b_area_arn_formation_02 = 0x80227CB4; // type:data rom:0x50E704 +b_area_arn_formation_03 = 0x80227D08; // type:data rom:0x50E758 +b_area_arn_formation_04 = 0x80227D5C; // type:data rom:0x50E7AC +b_area_arn_formation_05 = 0x80227DCC; // type:data rom:0x50E81C +b_area_arn_formation_06 = 0x80227E3C; // type:data rom:0x50E88C +b_area_arn_formation_07 = 0x80227E58; // type:data rom:0x50E8A8 +b_area_arn_formation_08 = 0x80227E90; // type:data rom:0x50E8E0 +b_area_arn_formation_09 = 0x80227EE4; // type:data rom:0x50E934 +b_area_arn_formation_0A = 0x80227F54; // type:data rom:0x50E9A4 +b_area_arn_formation_0B = 0x80227F70; // type:data rom:0x50E9C0 +b_area_arn_formation_0C = 0x80227FA8; // type:data rom:0x50E9F8 +b_area_arn_formation_0D = 0x80227FFC; // type:data rom:0x50EA4C +b_area_arn_formation_0E = 0x80228050; // type:data rom:0x50EAA0 +b_area_arn_vector3D_802280C0 = 0x802280C0; // type:data rom:0x50EB10 +b_area_arn_formation_0F = 0x802280CC; // type:data rom:0x50EB1C +b_area_arn_vector3D_802280E8 = 0x802280E8; // type:data rom:0x50EB38 +b_area_arn_formation_10 = 0x802280F4; // type:data rom:0x50EB44 +b_area_arn_formationTable = 0x80228110; // type:data rom:0x50EB60 +b_area_arn_stageTable = 0x80228278; // type:data rom:0x50ECC8 b_area_omo_UnkBattleFunc1 = 0x80218000; // type:func rom:0x5125D0 dup_b_area_omo_UnkBattleFunc1 = 0x802180D0; // type:func rom:0x5126A0 dup2_b_area_omo_UnkBattleFunc1 = 0x802181A0; // type:func rom:0x512770 @@ -8972,18 +9278,11 @@ dup8_b_area_omo_UnkBattleFunc1 = 0x80218EE0; // type:func rom:0x5134B0 func_80218FB0_513580 = 0x80218FB0; // type:func rom:0x513580 b_area_omo_IsGameStatusUnkAA_1 = 0x802191C0; // type:func rom:0x513790 b_area_omo_Add1Coin = 0x802191E8; // type:func rom:0x5137B8 -D_80228748_522D18 = 0x80228748; // type:data rom:0x522D18 -D_80228754_522D24 = 0x80228754; // type:data rom:0x522D24 -D_80228760_522D30 = 0x80228760; // type:data rom:0x522D30 -D_8022876C_522D3C = 0x8022876C; // type:data rom:0x522D3C -D_8022DA30_528000 = 0x8022DA30; // type:data rom:0x528000 -D_8022DA34_528004 = 0x8022DA34; // type:data rom:0x528004 b_area_omo2_FadeBackgroundToBlack = 0x80218000; // type:func rom:0x52B6A0 b_area_omo2_UnfadeBackgroundToBlack = 0x80218098; // type:func rom:0x52B738 func_80218120_52B7C0 = 0x80218120; // type:func rom:0x52B7C0 func_802181F4_52B894 = 0x802181F4; // type:func rom:0x52B894 func_80218250_52B8F0 = 0x80218250; // type:func rom:0x52B8F0 -D_8022FC30_5432D0 = 0x8022FC30; // type:data rom:0x5432D0 func_80231000_543570 = 0x80231000; // type:func rom:0x543570 b_area_omo2_2_GetSelectedMoveID = 0x80231000; // type:func rom:0x5483E0 func_8023102C_54840C = 0x8023102C; // type:func rom:0x54840C @@ -9003,21 +9302,12 @@ b_area_omo3_UnkBattleFunc1 = 0x80218AE0; // type:func rom:0x557EC0 dup_b_area_omo3_UnkBattleFunc1 = 0x80218BB0; // type:func rom:0x557F90 b_area_omo3_StartRumbleWithParams = 0x80218C7C; // type:func rom:0x55805C dup2_b_area_omo3_UnkBattleFunc1 = 0x80218CE0; // type:func rom:0x5580C0 -D_8021B250_55A630 = 0x8021B250; // type:data rom:0x55A630 -D_8021B254_55A634 = 0x8021B254; // type:data rom:0x55A634 -b_area_omo3_floatTable = 0x8021DCD4; // type:data rom:0x55D0B4 -D_8022EB70_56DF50 = 0x8022EB70; // type:data rom:0x56DF50 -D_8022EB78_56DF58 = 0x8022EB78; // type:data rom:0x56DF58 b_area_kgr_UnkBattleFunc1 = 0x80218000; // type:func rom:0x56E2A0 b_area_kgr_ItemEntityJumpToPos = 0x802180CC; // type:func rom:0x56E36C func_802182E4_56E584 = 0x802182E4; // type:func rom:0x56E584 b_area_kgr_StartRumbleWithParams = 0x802184A0; // type:func rom:0x56E740 b_area_kgr_SpyGuyActionFunc = 0x802184F8; // type:func rom:0x56E798 func_80218560_56E800 = 0x80218560; // type:func rom:0x56E800 -D_8021AFD8_571278 = 0x8021AFD8; // type:data rom:0x571278 -D_8021AFE4_571284 = 0x8021AFE4; // type:data rom:0x571284 -D_8021AFF0_571290 = 0x8021AFF0; // type:data rom:0x571290 -D_8021AFFC_57129C = 0x8021AFFC; // type:data rom:0x57129C dup2_b_area_jan_UnkBattleFunc1 = 0x80218000; // type:func rom:0x573920 dup3_b_area_jan_UnkBattleFunc1 = 0x802180D0; // type:func rom:0x5739F0 b_area_jan_UnkBattleFunc2 = 0x802181A0; // type:func rom:0x573AC0 @@ -9069,11 +9359,6 @@ func_80218BE8_59F2C8 = 0x80218BE8; // type:func rom:0x59F2C8 func_80218D40_59F420 = 0x80218D40; // type:func rom:0x59F420 func_80218D90_59F470 = 0x80218D90; // type:func rom:0x59F470 func_80218DF0_59F4D0 = 0x80218DF0; // type:func rom:0x59F4D0 -D_8021CF40_5A3620 = 0x8021CF40; // type:data rom:0x5A3620 -D_80222B68_5A9248 = 0x80222B68; // type:data rom:0x5A9248 -D_80222D48_5A9428 = 0x80222D48; // type:data rom:0x5A9428 -D_80222E20_5A9500 = 0x80222E20; // type:data rom:0x5A9500 -D_8022AC40_5B1320 = 0x8022AC40; // type:data rom:0x5B1320 b_area_flo_UnkBattleFunc1 = 0x80218000; // type:func rom:0x5B14B0 b_area_flo_UnkFloatFunc4 = 0x802180CC; // type:func rom:0x5B157C b_area_flo_UnkFloatFunc = 0x802181F0; // type:func rom:0x5B16A0 @@ -9113,16 +9398,6 @@ dup2_b_area_flo_UnkFloatFunc = 0x80219AF0; // type:func rom:0x5B2FA0 func_80219C80_5B3130 = 0x80219C80; // type:func rom:0x5B3130 func_80219D40_5B31F0 = 0x80219D40; // type:func rom:0x5B31F0 func_80219E00_5B32B0 = 0x80219E00; // type:func rom:0x5B32B0 -D_802311D8_5CA688 = 0x802311D8; // type:data rom:0x5CA688 -D_80231678_5CAB28 = 0x80231678; // type:data rom:0x5CAB28 -D_80231B08_5CAFB8 = 0x80231B08; // type:data rom:0x5CAFB8 -D_80231FA8_5CB458 = 0x80231FA8; // type:data rom:0x5CB458 -D_80232428_5CB8D8 = 0x80232428; // type:data rom:0x5CB8D8 -D_802328D8_5CBD88 = 0x802328D8; // type:data rom:0x5CBD88 -D_80232BE8_5CC098 = 0x80232BE8; // type:data rom:0x5CC098 -D_80233564_5CCA14 = 0x80233564; // type:data rom:0x5CCA14 -D_80233870_5CCD20 = 0x80233870; // type:data rom:0x5CCD20 -D_80233950_5CCE00 = 0x80233950; // type:data rom:0x5CCE00 b_area_flo2_StartRumbleWithParams = 0x80218000; // type:func rom:0x5CE690 func_80218058_5CE6E8 = 0x80218058; // type:func rom:0x5CE6E8 b_area_flo2_UnkFloatFunc = 0x80218114; // type:func rom:0x5CE7A4 @@ -9150,19 +9425,6 @@ dup3_b_area_flo2_UnkFloatFunc = 0x802194A0; // type:func rom:0x5CFB30 func_80219630_5CFCC0 = 0x80219630; // type:func rom:0x5CFCC0 func_802196F0_5CFD80 = 0x802196F0; // type:func rom:0x5CFD80 func_802197B0_5CFE40 = 0x802197B0; // type:func rom:0x5CFE40 -D_8021A35C_5D09EC = 0x8021A35C; // type:data rom:0x5D09EC -D_8021A378_5D0A08 = 0x8021A378; // type:data rom:0x5D0A08 -D_8021E364_5D49F4 = 0x8021E364; // type:data rom:0x5D49F4 -D_80232D48_5E93D8 = 0x80232D48; // type:data rom:0x5E93D8 -D_802331E8_5E9878 = 0x802331E8; // type:data rom:0x5E9878 -D_80233678_5E9D08 = 0x80233678; // type:data rom:0x5E9D08 -D_80233B18_5EA1A8 = 0x80233B18; // type:data rom:0x5EA1A8 -D_80233F98_5EA628 = 0x80233F98; // type:data rom:0x5EA628 -D_80234448_5EAAD8 = 0x80234448; // type:data rom:0x5EAAD8 -D_80234758_5EADE8 = 0x80234758; // type:data rom:0x5EADE8 -D_802350D4_5EB764 = 0x802350D4; // type:data rom:0x5EB764 -D_802353E0_5EBA70 = 0x802353E0; // type:data rom:0x5EBA70 -D_802354C0_5EBB50 = 0x802354C0; // type:data rom:0x5EBB50 b_area_tik_UnkBattleFunc1 = 0x80218000; // type:func rom:0x5EC490 b_area_tik_StartRumbleWithParams = 0x802180D0; // type:func rom:0x5EC560 dup_b_area_tik_UnkBattleFunc1 = 0x80218128; // type:func rom:0x5EC5B8 @@ -9181,9 +9443,6 @@ func_802194C0_5ED950 = 0x802194C0; // type:func rom:0x5ED950 func_80219960_5EDDF0 = 0x80219960; // type:func rom:0x5EDDF0 b_area_tik_UnkTexturePanFunc = 0x80219DB0; // type:func rom:0x5EE240 b_area_tik_UnkTexturePanFunc2 = 0x80219ED4; // type:func rom:0x5EE364 -b_area_tik_floatTable = 0x80222DA4; // type:data rom:0x5F7234 -dup_b_area_tik_floatTable = 0x80224880; // type:data rom:0x5F8D10 -dup2_b_area_tik_floatTable = 0x80227B7C; // type:data rom:0x5FC00C b_area_tik2_StartRumbleWithParams = 0x80218000; // type:func rom:0x608AB0 func_80218058_608B08 = 0x80218058; // type:func rom:0x608B08 dup_b_area_tik2_StartRumbleWithParams = 0x80218200; // type:func rom:0x608CB0 @@ -9260,30 +9519,6 @@ func_8021AB50_6266F0 = 0x8021AB50; // type:func rom:0x6266F0 dup5_b_area_sam_Set80071270_0_16 = 0x8021AD48; // type:func rom:0x6268E8 dup5_b_area_sam_UnkFloatFunc2 = 0x8021AD6C; // type:func rom:0x62690C func_8021AE70_626A10 = 0x8021AE70; // type:func rom:0x626A10 -D_8021E660_62A200 = 0x8021E660; // type:data rom:0x62A200 -D_80220314_62BEB4 = 0x80220314; // type:data rom:0x62BEB4 -D_80221574_62D114 = 0x80221574; // type:data rom:0x62D114 -D_80222500_62E0A0 = 0x80222500; // type:data rom:0x62E0A0 -D_802238D0_62F470 = 0x802238D0; // type:data rom:0x62F470 -D_802247CC_63036C = 0x802247CC; // type:data rom:0x63036C -D_80226164_631D04 = 0x80226164; // type:data rom:0x631D04 -D_80227404_632FA4 = 0x80227404; // type:data rom:0x632FA4 -D_8022EFD0_63AB70 = 0x8022EFD0; // type:data rom:0x63AB70 -D_8022F3E0_63AF80 = 0x8022F3E0; // type:data rom:0x63AF80 -D_8022F820_63B3C0 = 0x8022F820; // type:data rom:0x63B3C0 -D_8022FB70_63B710 = 0x8022FB70; // type:data rom:0x63B710 -D_8022FEE0_63BA80 = 0x8022FEE0; // type:data rom:0x63BA80 -D_80230260_63BE00 = 0x80230260; // type:data rom:0x63BE00 -D_802312D0_63CE70 = 0x802312D0; // type:data rom:0x63CE70 -D_802312D8_63CE78 = 0x802312D8; // type:data rom:0x63CE78 -D_802312E0_63CE80 = 0x802312E0; // type:data rom:0x63CE80 -D_802312E8_63CE88 = 0x802312E8; // type:data rom:0x63CE88 -D_802312F0_63CE90 = 0x802312F0; // type:data rom:0x63CE90 -D_802312F8_63CE98 = 0x802312F8; // type:data rom:0x63CE98 -D_80231300_63CEA0 = 0x80231300; // type:data rom:0x63CEA0 -D_80231308_63CEA8 = 0x80231308; // type:data rom:0x63CEA8 -D_80231310_63CEB0 = 0x80231310; // type:data rom:0x63CEB0 -D_80231318_63CEB8 = 0x80231318; // type:data rom:0x63CEB8 func_80218000_63D1E0 = 0x80218000; // type:func rom:0x63D1E0 b_area_sam2_Dist3D = 0x80218314; // type:func rom:0x63D4F4 b_area_sam2_UnkBackgroundFunc3 = 0x80218458; // type:func rom:0x63D638 @@ -9457,52 +9692,6 @@ b_area_kpa2_CanPlayerLoseAction = 0x8021CEB8; // type:func rom:0x6A40B8 func_8021CF54_6A4154 = 0x8021CF54; // type:func rom:0x6A4154 func_8021CFC0_6A41C0 = 0x8021CFC0; // type:func rom:0x6A41C0 func_8021D290_6A4490 = 0x8021D290; // type:func rom:0x6A4490 -D_8022466C_6AB86C = 0x8022466C; // type:data rom:0x6AB86C -D_80224678_6AB878 = 0x80224678; // type:data rom:0x6AB878 -D_80224684_6AB884 = 0x80224684; // type:data rom:0x6AB884 -D_80224690_6AB890 = 0x80224690; // type:data rom:0x6AB890 -D_80229EBC_6B10BC = 0x80229EBC; // type:data rom:0x6B10BC -D_80229EC8_6B10C8 = 0x80229EC8; // type:data rom:0x6B10C8 -D_80229ED4_6B10D4 = 0x80229ED4; // type:data rom:0x6B10D4 -D_80229EE0_6B10E0 = 0x80229EE0; // type:data rom:0x6B10E0 -D_80230B28_6B7D28 = 0x80230B28; // type:data rom:0x6B7D28 -D_80230B34_6B7D34 = 0x80230B34; // type:data rom:0x6B7D34 -D_80230B40_6B7D40 = 0x80230B40; // type:data rom:0x6B7D40 -D_80230B4C_6B7D4C = 0x80230B4C; // type:data rom:0x6B7D4C -D_80234740_6BB940 = 0x80234740; // type:data rom:0x6BB940 -D_80234748_6BB948 = 0x80234748; // type:data rom:0x6BB948 -D_80234750_6BB950 = 0x80234750; // type:data rom:0x6BB950 -D_80234758_6BB958 = 0x80234758; // type:data rom:0x6BB958 -D_80234760_6BB960 = 0x80234760; // type:data rom:0x6BB960 -D_80234768_6BB968 = 0x80234768; // type:data rom:0x6BB968 -D_80234770_6BB970 = 0x80234770; // type:data rom:0x6BB970 -D_80234780_6BB980 = 0x80234780; // type:data rom:0x6BB980 -D_80234788_6BB988 = 0x80234788; // type:data rom:0x6BB988 -D_80234790_6BB990 = 0x80234790; // type:data rom:0x6BB990 -D_80234798_6BB998 = 0x80234798; // type:data rom:0x6BB998 -D_802347A0_6BB9A0 = 0x802347A0; // type:data rom:0x6BB9A0 -D_802347A8_6BB9A8 = 0x802347A8; // type:data rom:0x6BB9A8 -D_802347B0_6BB9B0 = 0x802347B0; // type:data rom:0x6BB9B0 -D_802347C0_6BB9C0 = 0x802347C0; // type:data rom:0x6BB9C0 -D_802347C8_6BB9C8 = 0x802347C8; // type:data rom:0x6BB9C8 -D_802347D0_6BB9D0 = 0x802347D0; // type:data rom:0x6BB9D0 -D_802347D8_6BB9D8 = 0x802347D8; // type:data rom:0x6BB9D8 -D_802347E0_6BB9E0 = 0x802347E0; // type:data rom:0x6BB9E0 -D_802347E8_6BB9E8 = 0x802347E8; // type:data rom:0x6BB9E8 -D_802347F0_6BB9F0 = 0x802347F0; // type:data rom:0x6BB9F0 -D_802347F8_6BB9F8 = 0x802347F8; // type:data rom:0x6BB9F8 -D_80234800_6BBA00 = 0x80234800; // type:data rom:0x6BBA00 -D_80234810_6BBA10 = 0x80234810; // type:data rom:0x6BBA10 -D_80234828_6BBA28 = 0x80234828; // type:data rom:0x6BBA28 -D_80234830_6BBA30 = 0x80234830; // type:data rom:0x6BBA30 -D_80234838_6BBA38 = 0x80234838; // type:data rom:0x6BBA38 -D_80234840_6BBA40 = 0x80234840; // type:data rom:0x6BBA40 -D_80234848_6BBA48 = 0x80234848; // type:data rom:0x6BBA48 -D_80234850_6BBA50 = 0x80234850; // type:data rom:0x6BBA50 -D_80234858_6BBA58 = 0x80234858; // type:data rom:0x6BBA58 -D_80234860_6BBA60 = 0x80234860; // type:data rom:0x6BBA60 -D_80234868_6BBA68 = 0x80234868; // type:data rom:0x6BBA68 -D_80234870_6BBA70 = 0x80234870; // type:data rom:0x6BBA70 b_area_kpa3_UnkBattleFunc1 = 0x80218000; // type:func rom:0x6BBB90 func_802180D0_6BBC60 = 0x802180D0; // type:func rom:0x6BBC60 b_area_kpa3_ActorJumpToPos = 0x80218960; // type:func rom:0x6BC4F0 @@ -9522,14 +9711,6 @@ b_area_kpa3_UnkBackgroundFunc3 = 0x8021950C; // type:func rom:0x6BD09C b_area_kpa3_SetBackgroundAlpha = 0x80219550; // type:func rom:0x6BD0E0 func_80219588_6BD118 = 0x80219588; // type:func rom:0x6BD118 func_802195F4_6BD184 = 0x802195F4; // type:func rom:0x6BD184 -D_8021E990_6C2520 = 0x8021E990; // type:data rom:0x6C2520 -D_80220644_6C41D4 = 0x80220644; // type:data rom:0x6C41D4 -D_802218A4_6C5434 = 0x802218A4; // type:data rom:0x6C5434 -D_80222830_6C63C0 = 0x80222830; // type:data rom:0x6C63C0 -D_80223C00_6C7790 = 0x80223C00; // type:data rom:0x6C7790 -D_80224AFC_6C868C = 0x80224AFC; // type:data rom:0x6C868C -D_80226494_6CA024 = 0x80226494; // type:data rom:0x6CA024 -D_80227734_6CB2C4 = 0x80227734; // type:data rom:0x6CB2C4 D_80228400_6CBF90 = 0x80228400; // type:data rom:0x6CBF90 D_80228408_6CBF98 = 0x80228408; // type:data rom:0x6CBF98 D_80228410_6CBFA0 = 0x80228410; // type:data rom:0x6CBFA0 @@ -9556,7 +9737,6 @@ b_area_kpa4_GetSelectedMoveID = 0x80218438; // type:func rom:0x6CC4A8 b_area_kpa4_UnkBattleFunc1 = 0x80218464; // type:func rom:0x6CC4D4 b_area_kpa4_StartRumbleWithParams = 0x80218530; // type:func rom:0x6CC5A0 b_area_kpa4_UnkFunc52 = 0x80218588; // type:func rom:0x6CC5F8 -D_80218DF4_6CCE64 = 0x80218DF4; // type:data rom:0x6CCE64 func_80218000_6DBDA0 = 0x80218000; // type:func rom:0x6DBDA0 b_area_kkj_SetEntityPositionF = 0x802180B8; // type:func rom:0x6DBE58 b_area_kkj_GetEntityPosition = 0x80218180; // type:func rom:0x6DBF20 @@ -9565,7 +9745,6 @@ func_8021833C_6DC0DC = 0x8021833C; // type:func rom:0x6DC0DC func_802183EC_6DC18C = 0x802183EC; // type:func rom:0x6DC18C func_8021849C_6DC23C = 0x8021849C; // type:func rom:0x6DC23C func_80218550_6DC2F0 = 0x80218550; // type:func rom:0x6DC2F0 -D_802187E4_6DC584 = 0x802187E4; // type:data rom:0x6DC584 b_area_dig_UnkBattleFunc1 = 0x80218000; // type:func rom:0x6DDDC0 b_area_dig_UnkBattleFunc2 = 0x802180D0; // type:func rom:0x6DDE90 b_area_dig_UnkBattleFunc2_2 = 0x80218184; // type:func rom:0x6DDF44 @@ -21841,13 +22020,6 @@ D_80210000 = 0x80210000; // type:data D_80219040 = 0x80219040; // type:data spiked_goomba = 0x8021B0AC; // type:data paragoomba = 0x8021CD00; // type:data -D_80220740 = 0x80220740; // type:data -D_80220744 = 0x80220744; // type:data -D_80220750 = 0x80220750; // type:data -D_80220754 = 0x80220754; // type:data -D_80220760 = 0x80220760; // type:data -D_80220770 = 0x80220770; // type:data -D_80220780 = 0x80220780; // type:data D_80224D60 = 0x80224D60; // type:data D_80224D64 = 0x80224D64; // type:data D_80224D70 = 0x80224D70; // type:data @@ -21859,9 +22031,7 @@ D_80224DB0 = 0x80224DB0; // type:data D_8022ADD0 = 0x8022ADD0; // type:data D_8022B550 = 0x8022B550; // type:data D_802310D0 = 0x802310D0; // type:data -D_80232C20 = 0x80232C20; // type:data D_80232C4C = 0x80232C4C; // type:data -D_80232C50 = 0x80232C50; // type:data D_80235E00 = 0x80235E00; // type:data D_80236040 = 0x80236040; // type:data D_802362D0 = 0x802362D0; // type:data diff --git a/ver/us/undefined_syms.txt b/ver/us/undefined_syms.txt index f08f625410..25c7811ba4 100644 --- a/ver/us/undefined_syms.txt +++ b/ver/us/undefined_syms.txt @@ -104,26 +104,14 @@ D_801A6000 = 0x801A6000; D_801A7000 = 0x801A7000; D_801AA000 = 0x801AA000; D_80210000 = 0x80210000; -D_80219040 = 0x80219040; -D_8021E364_5D49F4 = 0x8021E364; -D_80220740 = 0x80220740; -D_80220744 = 0x80220744; -D_80220750 = 0x80220750; -D_80220754 = 0x80220754; -D_80220760 = 0x80220760; -D_80220770 = 0x80220770; -D_80220780 = 0x80220780; D_8022AD80_4C3F70 = 0x8022AD80; D_8022ADD0 = 0x8022ADD0; D_8022B550 = 0x8022B550; D_802310D0 = 0x802310D0; -D_80232C20 = 0x80232C20; D_80232C4C = 0x80232C4C; -D_80232C50 = 0x80232C50; D_80235E00 = 0x80235E00; D_80235E6C_4CF05C = 0x80235E6C; D_80235F44_4CF134 = 0x80235F44; -D_802367F0 = 0x802367F0; D_8023BD70 = 0x8023BD70; D_8023BD78 = 0x8023BD78; D_8023BD98 = 0x8023BD98;