#ifndef ENUMS_H_ #define ENUMS_H_ #include //Frame count starts at -123, so there are 123 startup frames const int LOAD_FRAME = -123; //First playable frame is -39, according to Fizzi's parser const int PLAYABLE_FRAME = -39; //First actionable frame of the match (0-indexed, assuming frame 0 == internal frame -123) const int FIRST_FRAME = (PLAYABLE_FRAME-LOAD_FRAME); // Info // https://docs.google.com/spreadsheets/d/1JX2w-r2fuvWuNgGb6D3Cs4wHQKLFegZe2jhbBuIhCG8/edit#gid=20 // https://docs.google.com/spreadsheets/d/1JX2w-r2fuvWuNgGb6D3Cs4wHQKLFegZe2jhbBuIhCG8/edit#gid=13 // https://smashboards.com/threads/official-ask-anyone-frame-things-thread.313889/page-20#post-18643652 //.slp file event payloads namespace Event { enum { EV_PAYLOADS = 0x35, GAME_START = 0x36, PRE_FRAME = 0x37, POST_FRAME = 0x38, GAME_END = 0x39, FRAME_START = 0x3A, ITEM_UPDATE = 0x3B, BOOKEND = 0x3C, GECKO_LIST = 0x3D, SPLIT_MSG = 0x10, __LAST = 0xFF }; const std::string name[__LAST] = { "EV_PAYLOADS", "GAME_START", "PRE_FRAME", "POST_FRAME", "GAME_END" }; } //Directions (for blastzones, stick positions, momentum, or whatever else) namespace Dir { enum { NEUT = 0, UP = 1, RIGHT = 2, DOWN = 3, LEFT = 4, UPRIGHT = 5, UPLEFT = 6, DOWNRIGHT = 7, DOWNLEFT = 8, __LAST = 9 }; const std::string name[__LAST] = { "NEUT", "UP", "RIGHT", "DOWN", "LEFT", "UPRIGHT", "UPLEFT", "DOWNRIGHT", "DOWNLEFT" }; } //Various types of canceling for moves //TODO: technically some of these can be combined (e.g., DJC and EC); implement later namespace Cancel { enum { _NONE = 0, L = 1, // L-cancel AUTO = 2, // Autocancel TEETER = 3, // Teeter cancel EDGE = 4, // Edge / ledge cancel JUMP = 5, // Jump cancel (for grabs / smashes) DJ = 6, // Double jump cancel FLOAT = 7, // Float cancel __LAST = 8, // }; const std::string name[__LAST] = { "", "L-canceled", "Autocanceled", "Teeter-canceled", "Edge-canceled", "Jump-canceled", "Double-jump-canceled", "Float-canceled", }; const std::string shortname[__LAST] = { "", "LC", "AC", "TC", "EC", "JC", "DJC", "FC", }; } //Move IDs (from Fizzi's node.js parser -> moves.js) namespace Move { enum { _NONE = 0, MISC = 1, JAB = 2, JAB2 = 3, JAB3 = 4, RJAB = 5, DASH = 6, FTILT = 7, UTILT = 8, DTILT = 9, FSMASH = 10, USMASH = 11, DSMASH = 12, NAIR = 13, FAIR = 14, BAIR = 15, UAIR = 16, DAIR = 17, NSPEC = 18, SSPEC = 19, USPEC = 20, DSPEC = 21, //...unused 22-49 FGETUP = 50, SGETUP = 51, PUMMEL = 52, FTHROW = 53, BTHROW = 54, UTHROW = 55, DTHROW = 56, //...unused 57-60 SEDGE = 61, FEDGE = 62, //...unknown 63 onwards BUBBLE = 255, //Bubble damage __LAST = 256, }; const std::string name[__LAST] = { "0", "Miscellaneous", //Fizzi: "This includes all thrown items, zair, luigi's taunt, samus bombs, etc" "Jab 1", "Jab 2", "Jab 3", "Rapid Jab", "Dash Attack", "Forward Tilt", "Up Tilt", "Down Tilt", "Forward Smash", "Up Smash", "Down Smash", "Neutral Air", "Forward Air", "Back Air", "Up Air", "Down Air", "Neutral Special", "Side Special", "Up Special", "Down Special", //21 "22","23","24","25","26","27","28","29","30","31", "32","33","34","35","36","37","38","39","40","41", "42","43","44","45","46","47","48","49", "Fast Getup", //50 "Slow Getup", "Pummel", "Forward Throw", "Back Throw", "Up Throw", "Down Throw", //56 "57","58","59","60", "Slow Edge", //61 "Fast Edge", //62 "63","64","65","6","67","68","69","70", "71","72","73","74","75","76","77","78","79","80", "81","82","83","84","85","86","87","88","89","90", "91","92","93","94","95","96","97","98","99","100", "101","102","103","104","105","106","107","108","109","110", "111","112","113","114","115","116","117","118","119","120", "121","122","123","124","125","126","127","128","129","130", "131","132","133","134","135","136","137","138","139","140", "141","142","143","144","145","146","147","148","149","150", "151","152","153","154","155","156","157","158","159","160", "161","162","163","164","165","166","167","168","169","170", "171","172","173","174","175","176","177","178","179","180", "181","182","183","184","185","186","187","188","189","190", "191","192","193","194","195","196","197","198","199","200", "201","202","203","204","205","206","207","208","209","210", "211","212","213","214","215","216","217","218","219","220", "221","222","223","224","225","226","227","228","229","230", "231","232","233","234","235","236","237","238","239","240", "241","242","243","244","245","246","247","248","249","250", "251","252","253","254", "[Bubble]", }; const std::string shortname[__LAST] = { "0", "Misc.", //Fizzi: "This includes all thrown items, zair, luigi's taunt, samus bombs, etc" "Jab1", "Jab2", "Jab3", "JabM", "Dash", "Ftilt", "Utilt", "Dtilt", "Fsmash", "Usmash", "Dsmash", "Nair", "Fair", "Bair", "Uair", "Dair", "NeutB", "SideB", "UpB", "DownB", //21 "22","23","24","25","26","27","28","29","30","31", "32","33","34","35","36","37","38","39","40","41", "42","43","44","45","46","47","48","49", "GetupF", //50 "GetupS", "Pummel", "Fthrow", "Bthrow", "Uthrow", "Dthrow", //56 "57","58","59","60", "LedgeS", //61 "LedgeF", //62 "63","64","65","6","67","68","69","70", "71","72","73","74","75","76","77","78","79","80", "81","82","83","84","85","86","87","88","89","90", "91","92","93","94","95","96","97","98","99","100", "101","102","103","104","105","106","107","108","109","110", "111","112","113","114","115","116","117","118","119","120", "121","122","123","124","125","126","127","128","129","130", "131","132","133","134","135","136","137","138","139","140", "141","142","143","144","145","146","147","148","149","150", "151","152","153","154","155","156","157","158","159","160", "161","162","163","164","165","166","167","168","169","170", "171","172","173","174","175","176","177","178","179","180", "181","182","183","184","185","186","187","188","189","190", "191","192","193","194","195","196","197","198","199","200", "201","202","203","204","205","206","207","208","209","210", "211","212","213","214","215","216","217","218","219","220", "221","222","223","224","225","226","227","228","229","230", "231","232","233","234","235","236","237","238","239","240", "241","242","243","244","245","246","247","248","249","250", "251","252","253","254", "(o)", }; } //External character IDs namespace CharExt { enum { FALCON = 0X00, KONG = 0X01, FOX = 0X02, WATCH = 0X03, KIRBY = 0X04, BOWSER = 0X05, LINK = 0X06, LUIGI = 0X07, MARIO = 0X08, MARTH = 0X09, MEWTWO = 0X0A, NESS = 0X0B, PEACH = 0X0C, PIKACHU = 0X0D, CLIMBER = 0X0E, JIGGLY = 0X0F, SAMUS = 0X10, YOSHI = 0X11, ZELDA = 0X12, SHEIK = 0X13, FALCO = 0X14, YOUNG = 0X15, DOCTOR = 0X16, ROY = 0X17, PICHU = 0X18, GANON = 0X19, MASTER = 0X1A, MALE = 0X1B, FEMALE = 0X1C, GIGA = 0X1D, CRAZY = 0X1E, SAND = 0X1F, POPO = 0X20, USER = 0X21, __LAST = 0X22, }; const std::string name[__LAST] = { "FALCON", "KONG", "FOX", "WATCH", "KIRBY", "BOWSER", "LINK", "LUIGI", "MARIO", "MARTH", "MEWTWO", "NESS", "PEACH", "PIKACHU", "CLIMBER", "JIGGLY", "SAMUS", "YOSHI", "ZELDA", "SHEIK", "FALCO", "YOUNG", "DOCTOR", "ROY", "PICHU", "GANON", "MASTER", "MALE", "FEMALE", "GIGA", "CRAZY", "SAND", "POPO", "USER" }; //External character special move action state IDs // (used for tracking when special moves put out hitboxes) const int special[__LAST][70] = { //FALCON: falcon punch (g/a), raptor boost (g/a), falcon dive (g/a), falcon kick (g/a) {0x015B,0x015C,0x015D,0x015F,0x0161,0x0162,0x0165,0x0167}, //KONG: punch (early/full, g/a), headbutt (g/a), spinning (g/a), slap {0x0174,0x0175,0x0179,0x017A,0x017B,0x017C,0x017D,0x017E,0x017F}, //FOX: blaster (g/a), illusion (g/a), firefox (g/a), shine(g/a) {0x0155,0x0158,0x015B,0x015F,0x0161,0x0162,0x0168,0x016D}, //WATCH: jab, jab2, jab3, dtilt, fsmash, nair, bair, upair, chef (g/a), judgment (1-9,g/a), fire (g/a), oil (g/a) {0x0155,0x0156,0x0157,0x0159,0x015A,0x015B,0x015C,0x015D,0x0161,0x0162,0x0163,0x0164,0x0165,0x0166,0x0167,0x0168,0x0169,0x016A,0x016B,0x016C,0x016D,0x016E,0x016F,0x0170,0x0171,0x0172,0x0173,0x0174,0x0175,0x0176,0x0179,0x017C}, //KIRBY: dashattack (g/a), swallow (g/a), hammer (g/a), cutter (g/a), stone (g/a), mario (g/a), link (g/a), samus (g/a), yoshi (g/a), fox (g/a), pikachu (g/a), luigi (g/a), falcon (g/a), ness (g/a), bowser (g/a), peach (g/a), ice climbers (g/a), dk (early/full,g/a), zelda (g/a), sheik (g/a), jigglypuff (g/a), marth (early/full,g/a), mewtwo (g/a), g&w (g/a), doc (g/a), younglink (g/a), falco (g/a), pichu (g/a), ganon (g/a), roy (early/full,g/a) {0x015F,0x0160,0x0161,0x0173,0x017F,0x0180,0x0181,0x0185,0x0189,0x018C,0x018F,0x0190,0x0193,0x0196,0x019A,0x019C,0x019D,0x01A2,0x01A7,0x01AA,0x01AD,0x01AE,0x01AF,0x01B0,0x01B1,0x01B2,0x01B3,0x01B7,0x01BB,0x01BE,0x01C1,0x01C3,0x01C5,0x01C6,0x01CA,0x01CB,0x01CF,0x01D0,0x01D1,0x01D2,0x01D6,0x01DA,0x01DF,0x01E7,0x01EE,0x01EF,0x01F2,0x01F3,0x01F8,0x01FD,0x01FE,0x01FF,0x0200,0x0201,0x0204,0x0207,0x0208,0x020B,0x020E,0x020F,0x0210,0x0211,0x0214,0x0215,0x0218,0x0219}, //BOWSER: fire (g/a), koopa klaw (pummel/fthrow/bthrow,g/a), whirling fortress (g/a), bowser bomb {0x0155,0x0158,0x015B,0x015D,0x015F,0x0160,0x0161,0x0163,0x0165,0x0166,0x0167,0x0168,0x016A}, //LINK: fsmash2, bow (g/a), boomerang (g/a), spin attack (g/a), bomb (g/a), zair {0x0155,0x015A,0x015D,0x015E,0x0161,0x0164,0x0165,0x0166,0x0167,0x0168}, //LUIGI: fireball (g/a), green missile (normal/misfire,g/a), super jump punch (g/a), cyclone (g/a) {0x0155,0x0156,0x015B,0x015C,0x0161,0x0162,0x0163,0x0164,0x0165,0x0166}, //MARIO: fireball (g/a), cape (g/a), super jump punch (g/a), tornado (g/a) {0x0157,0x0158,0x0159,0x015A,0x015B,0x015C,0x015D,0x015E}, //MARTH: shield breaker (early/full,g/a), dancing blade (all variations, g/a), dolphin slash (g/a), counter (g/a) {0x0157,0x0158,0x015B,0x015C,0x015D,0x015E,0x015F,0x0160,0x0161,0x0162,0x0163,0x0164,0x0165,0x0166,0x0167,0x0168,0x0169,0x016A,0x016B,0x016C,0x016D,0x016E,0x016F,0x0170,0x0171,0x0173}, //MEWTWO: shadow ball (g/a), confusion (g/a), disable (g/a), {0x0159,0x015E,0x015F,0x0160,0x0167,0x0168}, //NESS: fsmash, upsmash, dsmash, PK Flash (g/a), PK Fire (g/a), PK Thunder (1/2,g/a) {0x0155,0x0156,0x0159,0x015C,0x0160,0x0164,0x0165,0x0166,0x0169,0x016B,0x016D}, //PEACH: float nair/fair/bair/upair/dair, fsmash golf/pan/racket, veggie (g/a), bomber (g/a), parasol (g/a), toad (g/a) {0x0158,0x0159,0x015A,0x015B,0x015C,0x015D,0x015E,0x015F,0x0160,0x0161,0x0162,0x0165,0x0169,0x016B,0x016F,0x016F}, //PIKACHU: jolt (g/a), skull bash (g/a), quick attack (g/a), thunder (g/a) {0x0155,0x0156,0x015B,0x0160,0x0162,0x0165,0x0167,0x016B}, //CLIMBER: ice shot (g/a), popo hammer (solo/duo,g/a), belay (g/a), blizzard (g/a), nana hammer (g/a) {0x0155,0x0156,0x0157,0x0158,0x0159,0x015A,0x015C,0x0161,0x0165,0x0166,0x0167,0x0168}, //JIGGLY: rollout (g/a), pound (g/a), rest (g/a,l/r) {0x015E,0x0166,0x016B,0x016C,0x0171,0x0172,0x0173,0x0174}, //SAMUS: charge shot (g/a), missile (regular/smash,g/a), bomb (g/a), zair {0x015A,0x015C,0x015D,0x015E,0x015F,0x0160,0x0161,0x0162,0x0163,0x0164,0x0165}, //YOSHI: egg lay (g/a), egg roll (g/a), egg throw (g/a), bomb {0x015A,0x015F,0x0164,0x0168,0x016C,0x016D,0x0170}, //ZELDA: nayru's (g/a), din's (g/a), farore's (g/a) {0x0155,0x0156,0x0157,0x015A,0x015D,0x0160}, //SHEIK: needles (g/a), chain (g/a), vanish (g/a) {0x0158,0x015C,0x015D,0x0160,0x0163,0x0166}, //FALCO: blaster (g/a), phantasm (g/a), firebird (g/a), shine (g/a) {0x0155,0x0158,0x015B,0x015E,0x0161,0x0162,0x0168,0x016D}, //YOUNG: fsmash 2, bow (g/a), boomerang (g/a), spin attack (g/a), bomb (g/a), zair {0x0155,0x015A,0x015D,0x015E,0x0161,0x0164,0x0165,0x0166,0x0167,0x0168}, //DOCTOR: pill (g/a), cape (g/a), super jump punch (g/a), tornado (g/a) {0x0157,0x0158,0x0159,0x015A,0x015B,0x015C,0x015D,0x015E}, //ROY: flare blade (early/full,g/a), double edge dance (all variations, g/a), blazer (g/a), counter (g/a) {0x0157,0x0158,0x015B,0x015C,0x015D,0x015E,0x015F,0x0160,0x0161,0x0162,0x0163,0x0164,0x0165,0x0166,0x0167,0x0168,0x0169,0x016A,0x016B,0x016C,0x016D,0x016E,0x016F,0x0170,0x0171,0x0173}, //PICHU: jolt (g/a), skull bash (g/a), agility (g/a), thunder (g/a) {0x0155,0x0156,0x015B,0x0160,0x0162,0x0165,0x0167,0x016B}, //GANON: warlock punch (g/a), gerudo dragon (g/a), dark dive (g/a), wizard's foot (g/a) {0x015B,0x015C,0x015D,0x015F,0x0161,0x0162,0x0165,0x0167}, //MASTER {}, //MALE {}, //FEMALE {}, //GIGA {}, //CRAZY {}, //SAND {}, //POPO {}, //USER {} }; } //Internal character IDs namespace CharInt { enum { MARIO = 0X00, FOX = 0X01, FALCON = 0X02, KONG = 0X03, KIRBY = 0X04, BOWSER = 0X05, LINK = 0X06, SHEIK = 0X07, NESS = 0X08, PEACH = 0X09, POPO = 0X0A, NANA = 0X0B, PIKACHU = 0X0C, SAMUS = 0X0D, YOSHI = 0X0E, JIGGLY = 0X0F, MEWTWO = 0X10, LUIGI = 0X11, MARTH = 0X12, ZELDA = 0X13, YOUNG = 0X14, DOCTOR = 0X15, FALCO = 0X16, PICHU = 0X17, WATCH = 0X18, GANON = 0X19, ROY = 0X1A, _NONE1 = 0X1B, _NONE2 = 0X1C, MALE = 0X1D, FEMALE = 0X1E, GIGA = 0X1F, SANDBAG = 0X20, __LAST = 0X21 }; const std::string name[__LAST] = { "MARIO", "FOX", "FALCON", "KONG", "KIRBY", "BOWSER", "LINK", "SHEIK", "NESS", "PEACH", "POPO", "NANA", "PIKACHU", "SAMUS", "YOSHI", "JIGGLY", "MEWTWO", "LUIGI", "MARTH", "ZELDA", "YOUNG", "DOCTOR", "FALCO", "PICHU", "WATCH", "GANON", "ROY", "_NONE1", "_NONE2", "MALE", "FEMALE", "GIGA", "SANDBAG" }; } //Stage IDs namespace Stage { enum { DUMMY = 0X00, TEST = 0X01, IZUMI = 0X02, PSTADIUM = 0X03, CASTLE = 0X04, KONGO = 0X05, ZEBES = 0X06, CORNERIA = 0X07, STORY = 0X08, ONETT = 0X09, MUTECITY = 0X0A, RCRUISE = 0X0B, GARDEN = 0X0C, GREATBAY = 0X0D, SHRINE = 0X0E, KRAID = 0X0F, YOSTER = 0X10, GREENS = 0X11, FOURSIDE = 0X12, INISHIE1 = 0X13, INISHIE2 = 0X14, AKANEIA = 0X15, VENOM = 0X16, PURA = 0X17, BIGBLUE = 0X18, ICEMT = 0X19, ICETOP = 0X1A, FLATZONE = 0X1B, OLD_PPP = 0X1C, OLD_YOSH = 0X1D, OLD_KONG = 0X1E, BATTLE = 0X1F, LAST = 0X20, __LAST = 0X21 }; const std::string name[__LAST] = { "DUMMY" , "TEST" , "IZUMI" , "PSTADIUM", "CASTLE" , "KONGO" , "ZEBES" , "CORNERIA", "STORY" , "ONETT" , "MUTECITY", "RCRUISE" , "GARDEN" , "GREATBAY", "SHRINE" , "KRAID" , "YOSTER" , "GREENS" , "FOURSIDE", "INISHIE1", "INISHIE2", "AKANEIA" , "VENOM" , "PURA" , "BIGBLUE" , "ICEMT" , "ICETOP" , "FLATZONE", "OLD PPP" , "OLD YOSH", "OLD KONG", "BATTLE" , "LAST" }; //X positions of right ledges for each tournament legal stage // Left ledges are symmetrical, so we can just negate those //From: https://smashboards.com/threads/official-ask-anyone-frame-things-thread.313889/page-20#post-18643652 const float ledge[__LAST] = { 0.0f, //DUMMY 0.0f, //TEST 63.35f, //FOUNTAIN 87.75f, //STADIUM 0.0f, //CASTLE 0.0f, //JUNGLE 0.0f, //BRINSTAR 0.0f, //CORNERIA 56.0f, //STORY 0.0f, //ONETT 0.0f, //MUTE 0.0f, //RAINBOW 0.0f, //JAPES 0.0f, //BAY 0.0f, //TEMPLE 0.0f, //DEPTHS 0.0f, //ISLAND 0.0f, //GREENS 0.0f, //FOURSIDE 0.0f, //KINGDOM1 0.0f, //KINGDOM2 0.0f, //AKANEIA 0.0f, //VENOM 0.0f, //FLOATS 0.0f, //_NONE1 0.0f, //_NONE2 0.0f, //ICETOP 0.0f, //FLATZONE 77.27f, //DREAMLAND 0.0f, //ISLAND64 0.0f, //JUNGLE64 68.4f, //BATTLE 85.5606f //FINAL }; //Y positions of top platforms for each tournament legal stage //From: https://smashboards.com/threads/official-ask-anyone-frame-things-thread.313889/page-20#post-18643652 const float topplat[__LAST] = { 0.0f, //DUMMY 0.0f, //TEST 42.75f, //FOUNTAIN 0.0f, //STADIUM 0.0f, //CASTLE 0.0f, //JUNGLE 0.0f, //BRINSTAR 0.0f, //CORNERIA 42.0f, //STORY 0.0f, //ONETT 0.0f, //MUTE 0.0f, //RAINBOW 0.0f, //JAPES 0.0f, //BAY 0.0f, //TEMPLE 0.0f, //DEPTHS 0.0f, //ISLAND 0.0f, //GREENS 0.0f, //FOURSIDE 0.0f, //KINGDOM1 0.0f, //KINGDOM2 0.0f, //AKANEIA 0.0f, //VENOM 0.0f, //FLOATS 0.0f, //_NONE1 0.0f, //_NONE2 0.0f, //ICETOP 0.0f, //FLATZONE 51.4264f, //DREAMLAND 0.0f, //ISLAND64 0.0f, //JUNGLE64 54.4f, //BATTLE 0.0f //FINAL }; } //Action state IDs namespace Action { enum { DeadDown = 0x0000, DeadLeft = 0x0001, DeadRight = 0x0002, DeadUp = 0x0003, DeadUpStar = 0x0004, DeadUpStarIce = 0x0005, _NONE1 = 0x0006, DeadUpFallHitCamera = 0x0007, DeadUpFallHitCameraFlat = 0x0008, DeadUpFallIce = 0x0009, DeadUpFallHitCameraIce = 0x000A, Sleep = 0x000B, Rebirth = 0x000C, RebirthWait = 0x000D, Wait = 0x000E, WalkSlow = 0x000F, WalkMiddle = 0x0010, WalkFast = 0x0011, Turn = 0x0012, TurnRun = 0x0013, Dash = 0x0014, Run = 0x0015, RunDirect = 0x0016, RunBrake = 0x0017, KneeBend = 0x0018, JumpF = 0x0019, JumpB = 0x001A, JumpAerialF = 0x001B, JumpAerialB = 0x001C, Fall = 0x001D, FallF = 0x001E, FallB = 0x001F, FallAerial = 0x0020, FallAerialF = 0x0021, FallAerialB = 0x0022, FallSpecial = 0x0023, FallSpecialF = 0x0024, FallSpecialB = 0x0025, DamageFall = 0x0026, Squat = 0x0027, SquatWait = 0x0028, SquatRv = 0x0029, Landing = 0x002A, LandingFallSpecial = 0x002B, Attack11 = 0x002C, Attack12 = 0x002D, Attack13 = 0x002E, Attack100Start = 0x002F, Attack100Loop = 0x0030, Attack100End = 0x0031, AttackDash = 0x0032, AttackS3Hi = 0x0033, AttackS3HiS = 0x0034, AttackS3S = 0x0035, AttackS3LwS = 0x0036, AttackS3Lw = 0x0037, AttackHi3 = 0x0038, AttackLw3 = 0x0039, AttackS4Hi = 0x003A, AttackS4HiS = 0x003B, AttackS4S = 0x003C, AttackS4LwS = 0x003D, AttackS4Lw = 0x003E, AttackHi4 = 0x003F, AttackLw4 = 0x0040, AttackAirN = 0x0041, AttackAirF = 0x0042, AttackAirB = 0x0043, AttackAirHi = 0x0044, AttackAirLw = 0x0045, LandingAirN = 0x0046, LandingAirF = 0x0047, LandingAirB = 0x0048, LandingAirHi = 0x0049, LandingAirLw = 0x004A, DamageHi1 = 0x004B, DamageHi2 = 0x004C, DamageHi3 = 0x004D, DamageN1 = 0x004E, DamageN2 = 0x004F, DamageN3 = 0x0050, DamageLw1 = 0x0051, DamageLw2 = 0x0052, DamageLw3 = 0x0053, DamageAir1 = 0x0054, DamageAir2 = 0x0055, DamageAir3 = 0x0056, DamageFlyHi = 0x0057, DamageFlyN = 0x0058, DamageFlyLw = 0x0059, DamageFlyTop = 0x005A, DamageFlyRoll = 0x005B, LightGet = 0x005C, HeavyGet = 0x005D, LightThrowF = 0x005E, LightThrowB = 0x005F, LightThrowHi = 0x0060, LightThrowLw = 0x0061, LightThrowDash = 0x0062, LightThrowDrop = 0x0063, LightThrowAirF = 0x0064, LightThrowAirB = 0x0065, LightThrowAirHi = 0x0066, LightThrowAirLw = 0x0067, HeavyThrowF = 0x0068, HeavyThrowB = 0x0069, HeavyThrowHi = 0x006A, HeavyThrowLw = 0x006B, LightThrowF4 = 0x006C, LightThrowB4 = 0x006D, LightThrowHi4 = 0x006E, LightThrowLw4 = 0x006F, LightThrowAirF4 = 0x0070, LightThrowAirB4 = 0x0071, LightThrowAirHi4 = 0x0072, LightThrowAirLw4 = 0x0073, HeavyThrowF4 = 0x0074, HeavyThrowB4 = 0x0075, HeavyThrowHi4 = 0x0076, HeavyThrowLw4 = 0x0077, SwordSwing1 = 0x0078, SwordSwing3 = 0x0079, SwordSwing4 = 0x007A, SwordSwingDash = 0x007B, BatSwing1 = 0x007C, BatSwing3 = 0x007D, BatSwing4 = 0x007E, BatSwingDash = 0x007F, ParasolSwing1 = 0x0080, ParasolSwing3 = 0x0081, ParasolSwing4 = 0x0082, ParasolSwingDash = 0x0083, HarisenSwing1 = 0x0084, HarisenSwing3 = 0x0085, HarisenSwing4 = 0x0086, HarisenSwingDash = 0x0087, StarRodSwing1 = 0x0088, StarRodSwing3 = 0x0089, StarRodSwing4 = 0x008A, StarRodSwingDash = 0x008B, LipStickSwing1 = 0x008C, LipStickSwing3 = 0x008D, LipStickSwing4 = 0x008E, LipStickSwingDash = 0x008F, ItemParasolOpen = 0x0090, ItemParasolFall = 0x0091, ItemParasolFallSpecial = 0x0092, ItemParasolDamageFall = 0x0093, LGunShoot = 0x0094, LGunShootAir = 0x0095, LGunShootEmpty = 0x0096, LGunShootAirEmpty = 0x0097, FireFlowerShoot = 0x0098, FireFlowerShootAir = 0x0099, ItemScrew = 0x009A, ItemScrewAir = 0x009B, DamageScrew = 0x009C, DamageScrewAir = 0x009D, ItemScopeStart = 0x009E, ItemScopeRapid = 0x009F, ItemScopeFire = 0x00A0, ItemScopeEnd = 0x00A1, ItemScopeAirStart = 0x00A2, ItemScopeAirRapid = 0x00A3, ItemScopeAirFire = 0x00A4, ItemScopeAirEnd = 0x00A5, ItemScopeStartEmpty = 0x00A6, ItemScopeRapidEmpty = 0x00A7, ItemScopeFireEmpty = 0x00A8, ItemScopeEndEmpty = 0x00A9, ItemScopeAirStartEmpty = 0x00AA, ItemScopeAirRapidEmpty = 0x00AB, ItemScopeAirFireEmpty = 0x00AC, ItemScopeAirEndEmpty = 0x00AD, LiftWait = 0x00AE, LiftWalk1 = 0x00AF, LiftWalk2 = 0x00B0, LiftTurn = 0x00B1, GuardOn = 0x00B2, Guard = 0x00B3, GuardOff = 0x00B4, GuardSetOff = 0x00B5, GuardReflect = 0x00B6, DownBoundU = 0x00B7, DownWaitU = 0x00B8, DownDamageU = 0x00B9, DownStandU = 0x00BA, DownAttackU = 0x00BB, DownFowardU = 0x00BC, DownBackU = 0x00BD, DownSpotU = 0x00BE, DownBoundD = 0x00BF, DownWaitD = 0x00C0, DownDamageD = 0x00C1, DownStandD = 0x00C2, DownAttackD = 0x00C3, DownFowardD = 0x00C4, DownBackD = 0x00C5, DownSpotD = 0x00C6, Passive = 0x00C7, PassiveStandF = 0x00C8, PassiveStandB = 0x00C9, PassiveWall = 0x00CA, PassiveWallJump = 0x00CB, PassiveCeil = 0x00CC, ShieldBreakFly = 0x00CD, ShieldBreakFall = 0x00CE, ShieldBreakDownU = 0x00CF, ShieldBreakDownD = 0x00D0, ShieldBreakStandU = 0x00D1, ShieldBreakStandD = 0x00D2, FuraFura = 0x00D3, Catch = 0x00D4, CatchPull = 0x00D5, CatchDash = 0x00D6, CatchDashPull = 0x00D7, CatchWait = 0x00D8, CatchAttack = 0x00D9, CatchCut = 0x00DA, ThrowF = 0x00DB, ThrowB = 0x00DC, ThrowHi = 0x00DD, ThrowLw = 0x00DE, CapturePulledHi = 0x00DF, CaptureWaitHi = 0x00E0, CaptureDamageHi = 0x00E1, CapturePulledLw = 0x00E2, CaptureWaitLw = 0x00E3, CaptureDamageLw = 0x00E4, CaptureCut = 0x00E5, CaptureJump = 0x00E6, CaptureNeck = 0x00E7, CaptureFoot = 0x00E8, EscapeF = 0x00E9, EscapeB = 0x00EA, Escape = 0x00EB, EscapeAir = 0x00EC, ReboundStop = 0x00ED, Rebound = 0x00EE, ThrownF = 0x00EF, ThrownB = 0x00F0, ThrownHi = 0x00F1, ThrownLw = 0x00F2, ThrownLwWomen = 0x00F3, Pass = 0x00F4, Ottotto = 0x00F5, OttottoWait = 0x00F6, FlyReflectWall = 0x00F7, FlyReflectCeil = 0x00F8, StopWall = 0x00F9, StopCeil = 0x00FA, MissFoot = 0x00FB, CliffCatch = 0x00FC, CliffWait = 0x00FD, CliffClimbSlow = 0x00FE, CliffClimbQuick = 0x00FF, CliffAttackSlow = 0x0100, CliffAttackQuick = 0x0101, CliffEscapeSlow = 0x0102, CliffEscapeQuick = 0x0103, CliffJumpSlow1 = 0x0104, CliffJumpSlow2 = 0x0105, CliffJumpQuick1 = 0x0106, CliffJumpQuick2 = 0x0107, AppealR = 0x0108, AppealL = 0x0109, ShoulderedWait = 0x010A, ShoulderedWalkSlow = 0x010B, ShoulderedWalkMiddle = 0x010C, ShoulderedWalkFast = 0x010D, ShoulderedTurn = 0x010E, ThrownFF = 0x010F, ThrownFB = 0x0110, ThrownFHi = 0x0111, ThrownFLw = 0x0112, CaptureCaptain = 0x0113, CaptureYoshi = 0x0114, YoshiEgg = 0x0115, CaptureKoopa = 0x0116, CaptureDamageKoopa = 0x0117, CaptureWaitKoopa = 0x0118, ThrownKoopaF = 0x0119, ThrownKoopaB = 0x011A, CaptureKoopaAir = 0x011B, CaptureDamageKoopaAir = 0x011C, CaptureWaitKoopaAir = 0x011D, ThrownKoopaAirF = 0x011E, ThrownKoopaAirB = 0x011F, CaptureKirby = 0x0120, CaptureWaitKirby = 0x0121, ThrownKirbyStar = 0x0122, ThrownCopyStar = 0x0123, ThrownKirby = 0x0124, BarrelWait = 0x0125, Bury = 0x0126, BuryWait = 0x0127, BuryJump = 0x0128, DamageSong = 0x0129, DamageSongWait = 0x012A, DamageSongRv = 0x012B, DamageBind = 0x012C, CaptureMewtwo = 0x012D, CaptureMewtwoAir = 0x012E, ThrownMewtwo = 0x012F, ThrownMewtwoAir = 0x0130, WarpStarJump = 0x0131, WarpStarFall = 0x0132, HammerWait = 0x0133, HammerWalk = 0x0134, HammerTurn = 0x0135, HammerKneeBend = 0x0136, HammerFall = 0x0137, HammerJump = 0x0138, HammerLanding = 0x0139, KinokoGiantStart = 0x013A, KinokoGiantStartAir = 0x013B, KinokoGiantEnd = 0x013C, KinokoGiantEndAir = 0x013D, KinokoSmallStart = 0x013E, KinokoSmallStartAir = 0x013F, KinokoSmallEnd = 0x0140, KinokoSmallEndAir = 0x0141, Entry = 0x0142, EntryStart = 0x0143, EntryEnd = 0x0144, DamageIce = 0x0145, DamageIceJump = 0x0146, CaptureMasterhand = 0x0147, CapturedamageMasterhand = 0x0148, CapturewaitMasterhand = 0x0149, ThrownMasterhand = 0x014A, CaptureKirbyYoshi = 0x014B, KirbyYoshiEgg = 0x014C, CaptureLeadead = 0x014D, CaptureLikelike = 0x014E, DownReflect = 0x014F, CaptureCrazyhand = 0x0150, CapturedamageCrazyhand = 0x0151, CapturewaitCrazyhand = 0x0152, ThrownCrazyhand = 0x0153, BarrelCannonWait = 0x0154, Wait1 = 0x0155, Wait2 = 0x0156, Wait3 = 0x0157, Wait4 = 0x0158, WaitItem = 0x0159, SquatWait1 = 0x015A, SquatWait2 = 0x015B, SquatWaitItem = 0x015C, GuardDamage = 0x015D, EscapeN = 0x015E, AttackS4Hold = 0x015F, HeavyWalk1 = 0x0160, HeavyWalk2 = 0x0161, ItemHammerWait = 0x0162, ItemHammerMove = 0x0163, ItemBlind = 0x0164, DamageElec = 0x0165, FuraSleepStart = 0x0166, FuraSleepLoop = 0x0167, FuraSleepEnd = 0x0168, WallDamage = 0x0169, CliffWait1 = 0x016A, CliffWait2 = 0x016B, SlipDown = 0x016C, Slip = 0x016D, SlipTurn = 0x016E, SlipDash = 0x016F, SlipWait = 0x0170, SlipStand = 0x0171, SlipAttack = 0x0172, SlipEscapeF = 0x0173, SlipEscapeB = 0x0174, AppealS = 0x0175, Zitabata = 0x0176, CaptureKoopaHit = 0x0177, ThrownKoopaEndF = 0x0178, ThrownKoopaEndB = 0x0179, CaptureKoopaAirHit = 0x017A, ThrownKoopaAirEndF = 0x017B, ThrownKoopaAirEndB = 0x017C, ThrownKirbyDrinkSShot = 0x017D, ThrownKirbySpitSShot = 0x017E, __LAST = 0x017F }; const std::string name[__LAST] = { "DeadDown", "DeadLeft", "DeadRight", "DeadUp", "DeadUpStar", "DeadUpStarIce", "_NONE1", "DeadUpFallHitCamera", "DeadUpFallHitCameraFlat", "DeadUpFallIce", "DeadUpFallHitCameraIce", "Sleep", "Rebirth", "RebirthWait", "Wait", "WalkSlow", "WalkMiddle", "WalkFast", "Turn", "TurnRun", "Dash", "Run", "RunDirect", "RunBrake", "KneeBend", "JumpF", "JumpB", "JumpAerialF", "JumpAerialB", "Fall", "FallF", "FallB", "FallAerial", "FallAerialF", "FallAerialB", "FallSpecial", "FallSpecialF", "FallSpecialB", "DamageFall", "Squat", "SquatWait", "SquatRv", "Landing", "LandingFallSpecial", "Attack11", "Attack12", "Attack13", "Attack100Start", "Attack100Loop", "Attack100End", "AttackDash", "AttackS3Hi", "AttackS3HiS", "AttackS3S", "AttackS3LwS", "AttackS3Lw", "AttackHi3", "AttackLw3", "AttackS4Hi", "AttackS4HiS", "AttackS4S", "AttackS4LwS", "AttackS4Lw", "AttackHi4", "AttackLw4", "AttackAirN", "AttackAirF", "AttackAirB", "AttackAirHi", "AttackAirLw", "LandingAirN", "LandingAirF", "LandingAirB", "LandingAirHi", "LandingAirLw", "DamageHi1", "DamageHi2", "DamageHi3", "DamageN1", "DamageN2", "DamageN3", "DamageLw1", "DamageLw2", "DamageLw3", "DamageAir1", "DamageAir2", "DamageAir3", "DamageFlyHi", "DamageFlyN", "DamageFlyLw", "DamageFlyTop", "DamageFlyRoll", "LightGet", "HeavyGet", "LightThrowF", "LightThrowB", "LightThrowHi", "LightThrowLw", "LightThrowDash", "LightThrowDrop", "LightThrowAirF", "LightThrowAirB", "LightThrowAirHi", "LightThrowAirLw", "HeavyThrowF", "HeavyThrowB", "HeavyThrowHi", "HeavyThrowLw", "LightThrowF4", "LightThrowB4", "LightThrowHi4", "LightThrowLw4", "LightThrowAirF4", "LightThrowAirB4", "LightThrowAirHi4", "LightThrowAirLw4", "HeavyThrowF4", "HeavyThrowB4", "HeavyThrowHi4", "HeavyThrowLw4", "SwordSwing1", "SwordSwing3", "SwordSwing4", "SwordSwingDash", "BatSwing1", "BatSwing3", "BatSwing4", "BatSwingDash", "ParasolSwing1", "ParasolSwing3", "ParasolSwing4", "ParasolSwingDash", "HarisenSwing1", "HarisenSwing3", "HarisenSwing4", "HarisenSwingDash", "StarRodSwing1", "StarRodSwing3", "StarRodSwing4", "StarRodSwingDash", "LipStickSwing1", "LipStickSwing3", "LipStickSwing4", "LipStickSwingDash", "ItemParasolOpen", "ItemParasolFall", "ItemParasolFallSpecial", "ItemParasolDamageFall", "LGunShoot", "LGunShootAir", "LGunShootEmpty", "LGunShootAirEmpty", "FireFlowerShoot", "FireFlowerShootAir", "ItemScrew", "ItemScrewAir", "DamageScrew", "DamageScrewAir", "ItemScopeStart", "ItemScopeRapid", "ItemScopeFire", "ItemScopeEnd", "ItemScopeAirStart", "ItemScopeAirRapid", "ItemScopeAirFire", "ItemScopeAirEnd", "ItemScopeStartEmpty", "ItemScopeRapidEmpty", "ItemScopeFireEmpty", "ItemScopeEndEmpty", "ItemScopeAirStartEmpty", "ItemScopeAirRapidEmpty", "ItemScopeAirFireEmpty", "ItemScopeAirEndEmpty", "LiftWait", "LiftWalk1", "LiftWalk2", "LiftTurn", "GuardOn", "Guard", "GuardOff", "GuardSetOff", "GuardReflect", "DownBoundU", "DownWaitU", "DownDamageU", "DownStandU", "DownAttackU", "DownFowardU", "DownBackU", "DownSpotU", "DownBoundD", "DownWaitD", "DownDamageD", "DownStandD", "DownAttackD", "DownFowardD", "DownBackD", "DownSpotD", "Passive", "PassiveStandF", "PassiveStandB", "PassiveWall", "PassiveWallJump", "PassiveCeil", "ShieldBreakFly", "ShieldBreakFall", "ShieldBreakDownU", "ShieldBreakDownD", "ShieldBreakStandU", "ShieldBreakStandD", "FuraFura", "Catch", "CatchPull", "CatchDash", "CatchDashPull", "CatchWait", "CatchAttack", "CatchCut", "ThrowF", "ThrowB", "ThrowHi", "ThrowLw", "CapturePulledHi", "CaptureWaitHi", "CaptureDamageHi", "CapturePulledLw", "CaptureWaitLw", "CaptureDamageLw", "CaptureCut", "CaptureJump", "CaptureNeck", "CaptureFoot", "EscapeF", "EscapeB", "Escape", "EscapeAir", "ReboundStop", "Rebound", "ThrownF", "ThrownB", "ThrownHi", "ThrownLw", "ThrownLwWomen", "Pass", "Ottotto", "OttottoWait", "FlyReflectWall", "FlyReflectCeil", "StopWall", "StopCeil", "MissFoot", "CliffCatch", "CliffWait", "CliffClimbSlow", "CliffClimbQuick", "CliffAttackSlow", "CliffAttackQuick", "CliffEscapeSlow", "CliffEscapeQuick", "CliffJumpSlow1", "CliffJumpSlow2", "CliffJumpQuick1", "CliffJumpQuick2", "AppealR", "AppealL", "ShoulderedWait", "ShoulderedWalkSlow", "ShoulderedWalkMiddle", "ShoulderedWalkFast", "ShoulderedTurn", "ThrownFF", "ThrownFB", "ThrownFHi", "ThrownFLw", "CaptureCaptain", "CaptureYoshi", "YoshiEgg", "CaptureKoopa", "CaptureDamageKoopa", "CaptureWaitKoopa", "ThrownKoopaF", "ThrownKoopaB", "CaptureKoopaAir", "CaptureDamageKoopaAir", "CaptureWaitKoopaAir", "ThrownKoopaAirF", "ThrownKoopaAirB", "CaptureKirby", "CaptureWaitKirby", "ThrownKirbyStar", "ThrownCopyStar", "ThrownKirby", "BarrelWait", "Bury", "BuryWait", "BuryJump", "DamageSong", "DamageSongWait", "DamageSongRv", "DamageBind", "CaptureMewtwo", "CaptureMewtwoAir", "ThrownMewtwo", "ThrownMewtwoAir", "WarpStarJump", "WarpStarFall", "HammerWait", "HammerWalk", "HammerTurn", "HammerKneeBend", "HammerFall", "HammerJump", "HammerLanding", "KinokoGiantStart", "KinokoGiantStartAir", "KinokoGiantEnd", "KinokoGiantEndAir", "KinokoSmallStart", "KinokoSmallStartAir", "KinokoSmallEnd", "KinokoSmallEndAir", "Entry", "EntryStart", "EntryEnd", "DamageIce", "DamageIceJump", "CaptureMasterhand", "CapturedamageMasterhand", "CapturewaitMasterhand", "ThrownMasterhand", "CaptureKirbyYoshi", "KirbyYoshiEgg", "CaptureLeadead", "CaptureLikelike", "DownReflect", "CaptureCrazyhand", "CapturedamageCrazyhand", "CapturewaitCrazyhand", "ThrownCrazyhand", "BarrelCannonWait", "Wait1", "Wait2", "Wait3", "Wait4", "WaitItem", "SquatWait1", "SquatWait2", "SquatWaitItem", "GuardDamage", "EscapeN", "AttackS4Hold", "HeavyWalk1", "HeavyWalk2", "ItemHammerWait", "ItemHammerMove", "ItemBlind", "DamageElec", "FuraSleepStart", "FuraSleepLoop", "FuraSleepEnd", "WallDamage", "CliffWait1", "CliffWait2", "SlipDown", "Slip", "SlipTurn", "SlipDash", "SlipWait", "SlipStand", "SlipAttack", "SlipEscapeF", "SlipEscapeB", "AppealS", "Zitabata", "CaptureKoopaHit", "ThrownKoopaEndF", "ThrownKoopaEndB", "CaptureKoopaAirHit", "ThrownKoopaAirEndF", "ThrownKoopaAirEndB", "ThrownKirbyDrinkSShot", "ThrownKirbySpitSShot" }; } //Offensive, neutral, and defensive gameplay dynamics //WARNING: if this is ever updated, offensive and defensive types need to be // symmetric around neutral (e.g., NEUTRAL muse equal __LAST/2 and PRESSURED must equal __LAST-PRESSURING) namespace Dynamic { enum { __FIRST = 0, RECOVERING = 1, ESCAPING = 2, PUNISHED = 3, GROUNDING = 4, PRESSURED = 5, DEFENSIVE = 6, TRADING = 7, POKING = 8, NEUTRAL = 9, POSITIONING = 10, FOOTSIES = 11, OFFENSIVE = 12, PRESSURING = 13, SHARKING = 14, PUNISHING = 15, TECHCHASING = 16, EDGEGUARDING = 17, __LAST = 18 }; const std::string name[__LAST] = { "__FIRST", "RECOVERING", "ESCAPING", "PUNISHED", "GROUNDING", "PRESSURED", "DEFENSIVE", "TRADING", "POKING", "NEUTRAL", "POSITIONING", "FOOTSIES", "OFFENSIVE", "PRESSURING", "SHARKING", "PUNISHING", "TECHCHASING", "EDGEGUARDING" }; } #endif /* ENUMS_H_ */