brawllib_rs 0.29.0

Brawl character file parser, based on brawlbox/brawllib
Documentation
pub fn action_name(index: usize) -> String {
    match index {
        0x000 => String::from("Wait"),
        0x001 => String::from("Walk"),
        0x002 => String::from("WalkBrake"),
        0x003 => String::from("Dash"),
        0x004 => String::from("Run"),
        0x005 => String::from("RunBrake"),
        0x006 => String::from("Turn1"),
        0x007 => String::from("Turn2"),
        0x008 => String::from("TurnRun"),
        0x009 => String::from("TurnRunBrake"),
        0x00a => String::from("JumpSquat"),
        0x00b => String::from("Jump"),
        0x00c => String::from("JumpAerial"),
        0x00d => String::from("Multijump"),
        0x00e => String::from("Fall"),
        0x00f => String::from("FallAerial"),
        0x010 => String::from("FallSpecial"),
        0x011 => String::from("Squat"),
        0x012 => String::from("SquatWait"),
        0x013 => String::from("SquatF"),
        0x014 => String::from("SquatB"),
        0x015 => String::from("SquatRv"),
        0x016 => String::from("LandingHeavy"),
        0x017 => String::from("LandingLight"),
        0x018 => String::from("LandingLagAerialAttack"),
        0x019 => String::from("LandingFallSpecial"),
        0x01a => String::from("GuardOn"),
        0x01b => String::from("Guard"),
        0x01c => String::from("GuardOff"),
        0x01d => String::from("GuardDamage"),
        0x01e => String::from("EscapeN"),
        0x01f => String::from("EscapeF"),
        0x020 => String::from("EscapeB"),
        0x021 => String::from("EscapeAir"),
        0x022 => String::from("Rebound"),
        0x023 => String::from("Rebound2"),
        0x024 => String::from("Jab"),
        0x025 => String::from("RapidJab"),
        0x026 => String::from("AttackDash"),
        0x027 => String::from("AttackS3"),
        0x028 => String::from("AttackHi3"),
        0x029 => String::from("AttackLw3"),
        0x02a => String::from("AttackS4Start"),
        0x02b => String::from("AttackS4Hold"),
        0x02c => String::from("AttackS4S"),
        0x02d => String::from("AttackLw4Start"),
        0x02e => String::from("AttackLw4Hold"),
        0x02f => String::from("AttackLw4"),
        0x030 => String::from("AttackHi4Start"),
        0x031 => String::from("AttackHi4Hold"),
        0x032 => String::from("AttackHi4"),
        0x033 => String::from("AerialAttack"),
        0x034 => String::from("Catch"),
        0x035 => String::from("CatchPull"),
        0x036 => String::from("CatchDash"),
        0x037 => String::from("CatchWait1f"),
        0x038 => String::from("CatchTurn"),
        0x039 => String::from("CatchWait"),
        0x03a => String::from("CatchAttack"),
        0x03b => String::from("CatchCut"),
        0x03c => String::from("Throw"),
        0x03d => String::from("CaptureWait"),
        0x03e => String::from("CaptureWaitHi"),
        0x03f => String::from("CaptureDamage"),
        0x040 => String::from("CaptureCut"),
        0x041 => String::from("CaptureJump"),
        0x042 => String::from("Thrown"),
        0x043 => String::from("GroundHit"),
        0x044 => String::from("AirHitLand"),
        0x045 => String::from("Hitstun"),
        0x046 => String::from("HitGround"),
        0x047 => String::from("HitWall"),
        0x048 => String::from("HitCeiling"),
        0x049 => String::from("DamageFall"),
        0x04a => String::from("HitGroundTumble"),
        0x04b => String::from("HitWallTumble"),
        0x04c => String::from("HitCeilingTumble"),
        0x04d => String::from("DownWait"),
        //0x04e => String::from(""),
        0x04f => String::from("DownEat"),
        0x050 => String::from("DownFoward"),
        0x051 => String::from("DownStand"),
        0x052 => String::from("DownForward"),
        0x053 => String::from("DownAttack"),
        0x054 => String::from("DownBound"),
        0x055 => String::from("DownDamage"),
        0x056 => String::from("ShieldBreak"),
        0x057 => String::from("ShieldBreakBound"),
        0x058 => String::from("ShieldBreakBound"),
        0x059 => String::from("FuraFuraStart"),
        0x05a => String::from("FuraFura"),
        0x05b => String::from("FuraFuraEnd"),
        0x05c => String::from("FuraSleepStart"),
        0x05d => String::from("FuraSleepLoop"),
        0x05e => String::from("FuraSleepEnd"),
        0x05f => String::from("DekuNutStun"),
        0x060 => String::from("Passive"),
        0x061 => String::from("PassiveStand"),
        0x062 => String::from("PassiveWall"),
        0x063 => String::from("PassiveWallJump"),
        0x064 => String::from("PassiveCeil"),
        0x065 => String::from("RunIntoWall"),
        0x066 => String::from("HitHeadOnWall"),
        0x067 => String::from("Walljump"),
        0x068 => String::from("WallclingStart"),
        0x069 => String::from("WallclingWait"),
        0x06a => String::from("WallclingEnd"),
        //0x06b => String::from(""),
        0x06c => String::from("WallclingJump"),
        0x06d => String::from("Footstool"),
        0x06e => String::from("GetFootstooled"),
        0x06f => String::from("FootstoolStand"),
        0x070 => String::from("GetFootstooledAirStart"),
        0x071 => String::from("GetFootstooled2"),
        0x072 => String::from("Pass"),
        0x073 => String::from("CliffCatchStart"),
        0x074 => String::from("CliffCatch"),
        0x075 => String::from("CliffWait"),
        0x076 => String::from("CliffAttack"),
        0x077 => String::from("CliffClimb"),
        0x078 => String::from("CliffEscape"),
        0x079 => String::from("CliffJumpStart"),
        0x07a => String::from("CliffJumpEnd"),
        //0x07b => String::from(""),
        0x07c => String::from("Ottotto"),
        0x07d => String::from("OttottoWait"),
        0x07e => String::from("EdgeSlip"),
        0x07f => String::from("FireTether"),
        0x080 => String::from("TetherAiming"),
        0x081 => String::from("TetherGrabbingStage"),
        0x082 => String::from("TetherRise"),
        0x084 => String::from("GlideStart"),
        0x085 => String::from("GlideDirection"),
        0x086 => String::from("GlideLanding"),
        0x087 => String::from("GlideAttack"),
        0x088 => String::from("GlideEnd"),
        0x089 => String::from("Slip"),
        0x08a => String::from("SlipDown"),
        0x08b => String::from("SlipTurn"),
        0x08c => String::from("SlipDash"),
        0x08d => String::from("SlipWait"),
        0x08e => String::from("SlipStand"),
        0x08f => String::from("SlipAttack"),
        0x090 => String::from("SlipEscapeF"),
        0x091 => String::from("SlipEscapeB"),
        0x092 => String::from("LadderClimb"),
        //0x093 => String::from(""),
        0x094 => String::from("LadderWait"),
        //0x095 => String::from(""),
        0x096 => String::from("GrabItem"),
        0x097 => String::from("GrabHeavyItem"),
        //0x098 => String::from(""),
        //0x099 => String::from(""),
        //0x09a => String::from(""),
        0x09b => String::from("ThrowItem"),
        0x09c => String::from("ThrowItemRun"),
        0x09d => String::from("ThrowHeavyItem"),
        0x09e => String::from("NeutralSwingItem"),
        0x09f => String::from("TiltSwingItem"),
        0x0a0 => String::from("SmashSwingItemWindup"),
        0x0a1 => String::from("SmashSwingItem"),
        0x0a2 => String::from("SmashSwingItemCharge"),
        0x0a3 => String::from("DashSwingItem"),
        //0x0a4 => String::from(""),
        //0x0a5 => String::from(""),
        //0x0a6 => String::from(""),
        //0x0a7 => String::from(""),
        //0x0a8 => String::from(""),
        //0x0a9 => String::from(""),
        //0x0aa => String::from(""),
        //0x0ab => String::from(""),
        //0x0ac => String::from(""),
        //0x0ad => String::from(""),
        //0x0ae => String::from(""),
        0x0af => String::from("ItemScrew"),
        0x0b0 => String::from("ItemScrew"),
        0x0b1 => String::from("ItemScrewFall"),
        0x0b2 => String::from("ItemAssist"),
        0x0b3 => String::from("SwimFall"),
        0x0b4 => String::from("SwimRise"),
        0x0b5 => String::from("SwimDamage"),
        0x0b6 => String::from("Swim"),
        0x0b7 => String::from("SwimF"),
        0x0b8 => String::from("SwimEnd"),
        0x0b9 => String::from("SwimTurn"),
        0x0ba => String::from("SwimJumpSquat"),
        0x0bb => String::from("SwimDrown"),
        0x0bc => String::from("SwimDrownOut"),
        0x0bd => String::from("Death"),
        0x0be => String::from("Respawn"),
        //0x0bf => String::from(""),
        //0x0c0 => String::from(""),
        //0x0c1 => String::from(""),
        //0x0c2 => String::from(""),
        //0x0c3 => String::from(""),
        0x0c4 => String::from("SpringJump"),
        //0x0c5 => String::from(""),
        0x0c6 => String::from("EatenByFishOnSummit"),
        //0x0c7 => String::from(""),
        //0x0c8 => String::from(""),
        //0x0c9 => String::from(""),
        //0x0ca => String::from(""),
        //0x0cb => String::from(""),
        0x0cc => String::from("CaptureChomp"),
        //0x0cd => String::from(""),
        //0x0ce => String::from(""),
        0x0cf => String::from("CaptureFalconDive"),
        0x0d0 => String::from("BeingInhaled"),
        0x0d1 => String::from("CaptureInhale"),
        //0x0d2 => String::from(""),
        //0x0d3 => String::from(""),
        //0x0d4 => String::from(""),
        //0x0d5 => String::from(""),
        0x0d6 => String::from("CaptureMonkeyFlip"),
        //0x0d7 => String::from(""),
        //0x0d8 => String::from(""),
        //0x0d9 => String::from(""),
        //0x0da => String::from(""),
        //0x0db => String::from(""),
        //0x0dc => String::from(""),
        //0x0dd => String::from(""),
        //0x0de => String::from(""),
        //0x0df => String::from(""),
        //0x0e0 => String::from(""),
        //0x0e1 => String::from(""),
        //0x0e2 => String::from(""),
        //0x0e3 => String::from(""),
        //0x0e4 => String::from(""),
        //0x0e5 => String::from(""),
        0x0e6 => String::from("DarkDiveGrabbed"),
        0x0e7 => String::from("FlameChokeGroundGrabbed"),
        0x0e8 => String::from("FlameChokeAirGrabbed"),
        0x0e9 => String::from("FlameChokeAirPlummetingGrabbed"),
        0x0ea => String::from("FlameChokeScramble"),
        0x0eb => String::from("EggImminent"),
        0x0ec => String::from("CaptureEgg"),
        //0x0ed => String::from(""),
        0x0ee => String::from("CaptureFlyingSlam"),
        //0x0ef => String::from(""),
        //0x0f0 => String::from(""),
        //0x0f1 => String::from(""),
        //0x0f2 => String::from(""),
        //0x0f3 => String::from(""),
        //0x0f4 => String::from(""),
        //0x0f5 => String::from(""),
        //0x0f6 => String::from(""),
        //0x0f7 => String::from(""),
        //0x0f8 => String::from(""),
        //0x0f9 => String::from(""),
        0x0fa => String::from("CaptureMasterHand"),
        //0x0fb => String::from(""),
        //0x0fc => String::from(""),
        //0x0fd => String::from(""),
        //0x0fe => String::from(""),
        //0x0ff => String::from(""),
        //0x100 => String::from(""),
        //0x101 => String::from(""),
        //0x102 => String::from(""),
        //0x103 => String::from(""),
        //0x104 => String::from(""),
        //0x105 => String::from(""),
        //0x106 => String::from(""),
        //0x107 => String::from(""),
        //0x108 => String::from(""),
        //0x109 => String::from(""),
        //0x10a => String::from(""),
        0x10b => String::from("Unloaded"),
        0x10c => String::from("Appeal"),
        0x10d => String::from("AppealSmash"),
        0x10e => String::from("Entrance"),
        0x10f => String::from("Victory"),
        0x110 => String::from("Loss"),
        //0x111 => String::from(""),
        0x112 => String::from("SpecialN"),
        0x113 => String::from("SpecialS"),
        0x114 => String::from("SpecialHi"),
        0x115 => String::from("SpecialLw"),
        0x116 => String::from("Final"),
        _ => format!("0x{:x}", index),
    }
}