fork/slippc
git clone https://git.julia.blue/fork/slippc
70d249b
compression
1#ifndef ENUMS_H_ 2#define ENUMS_H_ 3 4#include <string> 5 6//Frame count starts at -123, so there are 123 startup frames 7const int LOAD_FRAME = -123 ; 8//First playable frame is -39, according to Fizzi's parser 9const int PLAYABLE_FRAME = -39 ; 10//First actionable frame of the match (0-indexed, assuming frame 0 == internal frame -123) 11const int FIRST_FRAME = (PLAYABLE_FRAME - LOAD_FRAME ); 12 13// Info 14// https://docs.google.com/spreadsheets/d/1JX2w-r2fuvWuNgGb6D3Cs4wHQKLFegZe2jhbBuIhCG8/edit#gid=20 15// https://docs.google.com/spreadsheets/d/1JX2w-r2fuvWuNgGb6D3Cs4wHQKLFegZe2jhbBuIhCG8/edit#gid=13 16// https://smashboards.com/threads/official-ask-anyone-frame-things-thread.313889/page-20#post-18643652 17 18//.slp file event payloads 19namespace Event { 20enum { 21EV_PAYLOADS = 0x35 , 22GAME_START = 0x36 , 23PRE_FRAME = 0x37 , 24POST_FRAME = 0x38 , 25GAME_END = 0x39 , 26FRAME_START = 0x3A , 27ITEM_UPDATE = 0x3B , 28BOOKEND = 0x3C , 29GECKO_LIST = 0x3D , 30SPLIT_MSG = 0x10 , 31__LAST = 0xFF 32 }; 33 34const std ::string name [__LAST ]= { 35"EV_PAYLOADS" , 36"GAME_START" , 37"PRE_FRAME" , 38"POST_FRAME" , 39"GAME_END" 40 }; 41} 42 43//Directions (for blastzones, stick positions, momentum, or whatever else) 44namespace Dir { 45enum { 46NEUT = 0 , 47UP = 1 , 48RIGHT = 2 , 49DOWN = 3 , 50LEFT = 4 , 51UPRIGHT = 5 , 52UPLEFT = 6 , 53DOWNRIGHT = 7 , 54DOWNLEFT = 8 , 55__LAST = 9 56 }; 57 58const std ::string name [__LAST ]= { 59"NEUT" , 60"UP" , 61"RIGHT" , 62"DOWN" , 63"LEFT" , 64"UPRIGHT" , 65"UPLEFT" , 66"DOWNRIGHT" , 67"DOWNLEFT" 68 }; 69} 70 71//Various types of canceling for moves 72//TODO: technically some of these can be combined (e.g., DJC and EC); implement later 73namespace Cancel { 74enum { 75_NONE = 0 , 76L = 1 ,// L-cancel 77AUTO = 2 ,// Autocancel 78TEETER = 3 ,// Teeter cancel 79EDGE = 4 ,// Edge / ledge cancel 80JUMP = 5 ,// Jump cancel (for grabs / smashes) 81DJ = 6 ,// Double jump cancel 82FLOAT = 7 ,// Float cancel 83__LAST = 8 ,// 84 }; 85 86const std ::string name [__LAST ]= { 87"" , 88"L-canceled" , 89"Autocanceled" , 90"Teeter-canceled" , 91"Edge-canceled" , 92"Jump-canceled" , 93"Double-jump-canceled" , 94"Float-canceled" , 95 }; 96 97const std ::string shortname [__LAST ]= { 98"" , 99"LC" , 100"AC" , 101"TC" , 102"EC" , 103"JC" , 104"DJC" , 105"FC" , 106 }; 107} 108 109//Move IDs (from Fizzi's node.js parser -> moves.js) 110namespace Move { 111enum { 112_NONE = 0 , 113MISC = 1 , 114JAB = 2 , 115JAB2 = 3 , 116JAB3 = 4 , 117RJAB = 5 , 118DASH = 6 , 119FTILT = 7 , 120UTILT = 8 , 121DTILT = 9 , 122FSMASH = 10 , 123USMASH = 11 , 124DSMASH = 12 , 125NAIR = 13 , 126FAIR = 14 , 127BAIR = 15 , 128UAIR = 16 , 129DAIR = 17 , 130NSPEC = 18 , 131SSPEC = 19 , 132USPEC = 20 , 133DSPEC = 21 , 134//...unused 22-49 135FGETUP = 50 , 136SGETUP = 51 , 137PUMMEL = 52 , 138FTHROW = 53 , 139BTHROW = 54 , 140UTHROW = 55 , 141DTHROW = 56 , 142//...unused 57-60 143SEDGE = 61 , 144FEDGE = 62 , 145//...unknown 63 onwards 146BUBBLE = 255 ,//Bubble damage 147__LAST = 256 , 148 }; 149 150const std ::string name [__LAST ]= { 151"0" , 152"Miscellaneous" ,//Fizzi: "This includes all thrown items, zair, luigi's taunt, samus bombs, etc" 153"Jab 1" , 154"Jab 2" , 155"Jab 3" , 156"Rapid Jab" , 157"Dash Attack" , 158"Forward Tilt" , 159"Up Tilt" , 160"Down Tilt" , 161"Forward Smash" , 162"Up Smash" , 163"Down Smash" , 164"Neutral Air" , 165"Forward Air" , 166"Back Air" , 167"Up Air" , 168"Down Air" , 169"Neutral Special" , 170"Side Special" , 171"Up Special" , 172"Down Special" ,//21 173"22" ,"23" ,"24" ,"25" ,"26" ,"27" ,"28" ,"29" ,"30" ,"31" , 174"32" ,"33" ,"34" ,"35" ,"36" ,"37" ,"38" ,"39" ,"40" ,"41" , 175"42" ,"43" ,"44" ,"45" ,"46" ,"47" ,"48" ,"49" , 176"Fast Getup" ,//50 177"Slow Getup" , 178"Pummel" , 179"Forward Throw" , 180"Back Throw" , 181"Up Throw" , 182"Down Throw" ,//56 183"57" ,"58" ,"59" ,"60" , 184"Slow Edge" ,//61 185"Fast Edge" ,//62 186"63" ,"64" ,"65" ,"6" ,"67" ,"68" ,"69" ,"70" , 187"71" ,"72" ,"73" ,"74" ,"75" ,"76" ,"77" ,"78" ,"79" ,"80" , 188"81" ,"82" ,"83" ,"84" ,"85" ,"86" ,"87" ,"88" ,"89" ,"90" , 189"91" ,"92" ,"93" ,"94" ,"95" ,"96" ,"97" ,"98" ,"99" ,"100" , 190"101" ,"102" ,"103" ,"104" ,"105" ,"106" ,"107" ,"108" ,"109" ,"110" , 191"111" ,"112" ,"113" ,"114" ,"115" ,"116" ,"117" ,"118" ,"119" ,"120" , 192"121" ,"122" ,"123" ,"124" ,"125" ,"126" ,"127" ,"128" ,"129" ,"130" , 193"131" ,"132" ,"133" ,"134" ,"135" ,"136" ,"137" ,"138" ,"139" ,"140" , 194"141" ,"142" ,"143" ,"144" ,"145" ,"146" ,"147" ,"148" ,"149" ,"150" , 195"151" ,"152" ,"153" ,"154" ,"155" ,"156" ,"157" ,"158" ,"159" ,"160" , 196"161" ,"162" ,"163" ,"164" ,"165" ,"166" ,"167" ,"168" ,"169" ,"170" , 197"171" ,"172" ,"173" ,"174" ,"175" ,"176" ,"177" ,"178" ,"179" ,"180" , 198"181" ,"182" ,"183" ,"184" ,"185" ,"186" ,"187" ,"188" ,"189" ,"190" , 199"191" ,"192" ,"193" ,"194" ,"195" ,"196" ,"197" ,"198" ,"199" ,"200" , 200"201" ,"202" ,"203" ,"204" ,"205" ,"206" ,"207" ,"208" ,"209" ,"210" , 201"211" ,"212" ,"213" ,"214" ,"215" ,"216" ,"217" ,"218" ,"219" ,"220" , 202"221" ,"222" ,"223" ,"224" ,"225" ,"226" ,"227" ,"228" ,"229" ,"230" , 203"231" ,"232" ,"233" ,"234" ,"235" ,"236" ,"237" ,"238" ,"239" ,"240" , 204"241" ,"242" ,"243" ,"244" ,"245" ,"246" ,"247" ,"248" ,"249" ,"250" , 205"251" ,"252" ,"253" ,"254" , 206"[Bubble]" , 207 }; 208 209const std ::string shortname [__LAST ]= { 210"0" , 211"Misc." ,//Fizzi: "This includes all thrown items, zair, luigi's taunt, samus bombs, etc" 212"Jab1" , 213"Jab2" , 214"Jab3" , 215"JabM" , 216"Dash" , 217"Ftilt" , 218"Utilt" , 219"Dtilt" , 220"Fsmash" , 221"Usmash" , 222"Dsmash" , 223"Nair" , 224"Fair" , 225"Bair" , 226"Uair" , 227"Dair" , 228"NeutB" , 229"SideB" , 230"UpB" , 231"DownB" ,//21 232"22" ,"23" ,"24" ,"25" ,"26" ,"27" ,"28" ,"29" ,"30" ,"31" , 233"32" ,"33" ,"34" ,"35" ,"36" ,"37" ,"38" ,"39" ,"40" ,"41" , 234"42" ,"43" ,"44" ,"45" ,"46" ,"47" ,"48" ,"49" , 235"GetupF" ,//50 236"GetupS" , 237"Pummel" , 238"Fthrow" , 239"Bthrow" , 240"Uthrow" , 241"Dthrow" ,//56 242"57" ,"58" ,"59" ,"60" , 243"LedgeS" ,//61 244"LedgeF" ,//62 245"63" ,"64" ,"65" ,"6" ,"67" ,"68" ,"69" ,"70" , 246"71" ,"72" ,"73" ,"74" ,"75" ,"76" ,"77" ,"78" ,"79" ,"80" , 247"81" ,"82" ,"83" ,"84" ,"85" ,"86" ,"87" ,"88" ,"89" ,"90" , 248"91" ,"92" ,"93" ,"94" ,"95" ,"96" ,"97" ,"98" ,"99" ,"100" , 249"101" ,"102" ,"103" ,"104" ,"105" ,"106" ,"107" ,"108" ,"109" ,"110" , 250"111" ,"112" ,"113" ,"114" ,"115" ,"116" ,"117" ,"118" ,"119" ,"120" , 251"121" ,"122" ,"123" ,"124" ,"125" ,"126" ,"127" ,"128" ,"129" ,"130" , 252"131" ,"132" ,"133" ,"134" ,"135" ,"136" ,"137" ,"138" ,"139" ,"140" , 253"141" ,"142" ,"143" ,"144" ,"145" ,"146" ,"147" ,"148" ,"149" ,"150" , 254"151" ,"152" ,"153" ,"154" ,"155" ,"156" ,"157" ,"158" ,"159" ,"160" , 255"161" ,"162" ,"163" ,"164" ,"165" ,"166" ,"167" ,"168" ,"169" ,"170" , 256"171" ,"172" ,"173" ,"174" ,"175" ,"176" ,"177" ,"178" ,"179" ,"180" , 257"181" ,"182" ,"183" ,"184" ,"185" ,"186" ,"187" ,"188" ,"189" ,"190" , 258"191" ,"192" ,"193" ,"194" ,"195" ,"196" ,"197" ,"198" ,"199" ,"200" , 259"201" ,"202" ,"203" ,"204" ,"205" ,"206" ,"207" ,"208" ,"209" ,"210" , 260"211" ,"212" ,"213" ,"214" ,"215" ,"216" ,"217" ,"218" ,"219" ,"220" , 261"221" ,"222" ,"223" ,"224" ,"225" ,"226" ,"227" ,"228" ,"229" ,"230" , 262"231" ,"232" ,"233" ,"234" ,"235" ,"236" ,"237" ,"238" ,"239" ,"240" , 263"241" ,"242" ,"243" ,"244" ,"245" ,"246" ,"247" ,"248" ,"249" ,"250" , 264"251" ,"252" ,"253" ,"254" , 265"(o)" , 266 }; 267} 268 269//External character IDs 270namespace CharExt { 271enum { 272FALCON = 0X00 , 273KONG = 0X01 , 274FOX = 0X02 , 275WATCH = 0X03 , 276KIRBY = 0X04 , 277BOWSER = 0X05 , 278LINK = 0X06 , 279LUIGI = 0X07 , 280MARIO = 0X08 , 281MARTH = 0X09 , 282MEWTWO = 0X0A , 283NESS = 0X0B , 284PEACH = 0X0C , 285PIKACHU = 0X0D , 286CLIMBER = 0X0E , 287JIGGLY = 0X0F , 288SAMUS = 0X10 , 289YOSHI = 0X11 , 290ZELDA = 0X12 , 291SHEIK = 0X13 , 292FALCO = 0X14 , 293YOUNG = 0X15 , 294DOCTOR = 0X16 , 295ROY = 0X17 , 296PICHU = 0X18 , 297GANON = 0X19 , 298MASTER = 0X1A , 299MALE = 0X1B , 300FEMALE = 0X1C , 301GIGA = 0X1D , 302CRAZY = 0X1E , 303SAND = 0X1F , 304POPO = 0X20 , 305USER = 0X21 , 306__LAST = 0X22 , 307 }; 308 309const std ::string name [__LAST ]= { 310"FALCON" , 311"KONG" , 312"FOX" , 313"WATCH" , 314"KIRBY" , 315"BOWSER" , 316"LINK" , 317"LUIGI" , 318"MARIO" , 319"MARTH" , 320"MEWTWO" , 321"NESS" , 322"PEACH" , 323"PIKACHU" , 324"CLIMBER" , 325"JIGGLY" , 326"SAMUS" , 327"YOSHI" , 328"ZELDA" , 329"SHEIK" , 330"FALCO" , 331"YOUNG" , 332"DOCTOR" , 333"ROY" , 334"PICHU" , 335"GANON" , 336"MASTER" , 337"MALE" , 338"FEMALE" , 339"GIGA" , 340"CRAZY" , 341"SAND" , 342"POPO" , 343"USER" 344 }; 345 346//External character special move action state IDs 347// (used for tracking when special moves put out hitboxes) 348const int special [__LAST ][70 ]= { 349//FALCON: falcon punch (g/a), raptor boost (g/a), falcon dive (g/a), falcon kick (g/a) 350 {0x015B ,0x015C ,0x015D ,0x015F ,0x0161 ,0x0162 ,0x0165 ,0x0167 }, 351//KONG: punch (early/full, g/a), headbutt (g/a), spinning (g/a), slap 352 {0x0174 ,0x0175 ,0x0179 ,0x017A ,0x017B ,0x017C ,0x017D ,0x017E ,0x017F }, 353//FOX: blaster (g/a), illusion (g/a), firefox (g/a), shine(g/a) 354 {0x0155 ,0x0158 ,0x015B ,0x015F ,0x0161 ,0x0162 ,0x0168 ,0x016D }, 355//WATCH: jab, jab2, jab3, dtilt, fsmash, nair, bair, upair, chef (g/a), judgment (1-9,g/a), fire (g/a), oil (g/a) 356 {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 }, 357//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) 358 {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 }, 359//BOWSER: fire (g/a), koopa klaw (pummel/fthrow/bthrow,g/a), whirling fortress (g/a), bowser bomb 360 {0x0155 ,0x0158 ,0x015B ,0x015D ,0x015F ,0x0160 ,0x0161 ,0x0163 ,0x0165 ,0x0166 ,0x0167 ,0x0168 ,0x016A }, 361//LINK: fsmash2, bow (g/a), boomerang (g/a), spin attack (g/a), bomb (g/a), zair 362 {0x0155 ,0x015A ,0x015D ,0x015E ,0x0161 ,0x0164 ,0x0165 ,0x0166 ,0x0167 ,0x0168 }, 363//LUIGI: fireball (g/a), green missile (normal/misfire,g/a), super jump punch (g/a), cyclone (g/a) 364 {0x0155 ,0x0156 ,0x015B ,0x015C ,0x0161 ,0x0162 ,0x0163 ,0x0164 ,0x0165 ,0x0166 }, 365//MARIO: fireball (g/a), cape (g/a), super jump punch (g/a), tornado (g/a) 366 {0x0157 ,0x0158 ,0x0159 ,0x015A ,0x015B ,0x015C ,0x015D ,0x015E }, 367//MARTH: shield breaker (early/full,g/a), dancing blade (all variations, g/a), dolphin slash (g/a), counter (g/a) 368 {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 }, 369//MEWTWO: shadow ball (g/a), confusion (g/a), disable (g/a), 370 {0x0159 ,0x015E ,0x015F ,0x0160 ,0x0167 ,0x0168 }, 371//NESS: fsmash, upsmash, dsmash, PK Flash (g/a), PK Fire (g/a), PK Thunder (1/2,g/a) 372 {0x0155 ,0x0156 ,0x0159 ,0x015C ,0x0160 ,0x0164 ,0x0165 ,0x0166 ,0x0169 ,0x016B ,0x016D }, 373//PEACH: float nair/fair/bair/upair/dair, fsmash golf/pan/racket, veggie (g/a), bomber (g/a), parasol (g/a), toad (g/a) 374 {0x0158 ,0x0159 ,0x015A ,0x015B ,0x015C ,0x015D ,0x015E ,0x015F ,0x0160 ,0x0161 ,0x0162 ,0x0165 ,0x0169 ,0x016B ,0x016F ,0x016F }, 375//PIKACHU: jolt (g/a), skull bash (g/a), quick attack (g/a), thunder (g/a) 376 {0x0155 ,0x0156 ,0x015B ,0x0160 ,0x0162 ,0x0165 ,0x0167 ,0x016B }, 377//CLIMBER: ice shot (g/a), popo hammer (solo/duo,g/a), belay (g/a), blizzard (g/a), nana hammer (g/a) 378 {0x0155 ,0x0156 ,0x0157 ,0x0158 ,0x0159 ,0x015A ,0x015C ,0x0161 ,0x0165 ,0x0166 ,0x0167 ,0x0168 }, 379//JIGGLY: rollout (g/a), pound (g/a), rest (g/a,l/r) 380 {0x015E ,0x0166 ,0x016B ,0x016C ,0x0171 ,0x0172 ,0x0173 ,0x0174 }, 381//SAMUS: charge shot (g/a), missile (regular/smash,g/a), bomb (g/a), zair 382 {0x015A ,0x015C ,0x015D ,0x015E ,0x015F ,0x0160 ,0x0161 ,0x0162 ,0x0163 ,0x0164 ,0x0165 }, 383//YOSHI: egg lay (g/a), egg roll (g/a), egg throw (g/a), bomb 384 {0x015A ,0x015F ,0x0164 ,0x0168 ,0x016C ,0x016D ,0x0170 }, 385//ZELDA: nayru's (g/a), din's (g/a), farore's (g/a) 386 {0x0155 ,0x0156 ,0x0157 ,0x015A ,0x015D ,0x0160 }, 387//SHEIK: needles (g/a), chain (g/a), vanish (g/a) 388 {0x0158 ,0x015C ,0x015D ,0x0160 ,0x0163 ,0x0166 }, 389//FALCO: blaster (g/a), phantasm (g/a), firebird (g/a), shine (g/a) 390 {0x0155 ,0x0158 ,0x015B ,0x015E ,0x0161 ,0x0162 ,0x0168 ,0x016D }, 391//YOUNG: fsmash 2, bow (g/a), boomerang (g/a), spin attack (g/a), bomb (g/a), zair 392 {0x0155 ,0x015A ,0x015D ,0x015E ,0x0161 ,0x0164 ,0x0165 ,0x0166 ,0x0167 ,0x0168 }, 393//DOCTOR: pill (g/a), cape (g/a), super jump punch (g/a), tornado (g/a) 394 {0x0157 ,0x0158 ,0x0159 ,0x015A ,0x015B ,0x015C ,0x015D ,0x015E }, 395//ROY: flare blade (early/full,g/a), double edge dance (all variations, g/a), blazer (g/a), counter (g/a) 396 {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 }, 397//PICHU: jolt (g/a), skull bash (g/a), agility (g/a), thunder (g/a) 398 {0x0155 ,0x0156 ,0x015B ,0x0160 ,0x0162 ,0x0165 ,0x0167 ,0x016B }, 399//GANON: warlock punch (g/a), gerudo dragon (g/a), dark dive (g/a), wizard's foot (g/a) 400 {0x015B ,0x015C ,0x015D ,0x015F ,0x0161 ,0x0162 ,0x0165 ,0x0167 }, 401//MASTER 402 {}, 403//MALE 404 {}, 405//FEMALE 406 {}, 407//GIGA 408 {}, 409//CRAZY 410 {}, 411//SAND 412 {}, 413//POPO 414 {}, 415//USER 416 {} 417 }; 418} 419 420//Internal character IDs 421namespace CharInt { 422enum { 423MARIO = 0X00 , 424FOX = 0X01 , 425FALCON = 0X02 , 426KONG = 0X03 , 427KIRBY = 0X04 , 428BOWSER = 0X05 , 429LINK = 0X06 , 430SHEIK = 0X07 , 431NESS = 0X08 , 432PEACH = 0X09 , 433POPO = 0X0A , 434NANA = 0X0B , 435PIKACHU = 0X0C , 436SAMUS = 0X0D , 437YOSHI = 0X0E , 438JIGGLY = 0X0F , 439MEWTWO = 0X10 , 440LUIGI = 0X11 , 441MARTH = 0X12 , 442ZELDA = 0X13 , 443YOUNG = 0X14 , 444DOCTOR = 0X15 , 445FALCO = 0X16 , 446PICHU = 0X17 , 447WATCH = 0X18 , 448GANON = 0X19 , 449ROY = 0X1A , 450_NONE1 = 0X1B , 451_NONE2 = 0X1C , 452MALE = 0X1D , 453FEMALE = 0X1E , 454GIGA = 0X1F , 455SANDBAG = 0X20 , 456__LAST = 0X21 457 }; 458 459const std ::string name [__LAST ]= { 460"MARIO" , 461"FOX" , 462"FALCON" , 463"KONG" , 464"KIRBY" , 465"BOWSER" , 466"LINK" , 467"SHEIK" , 468"NESS" , 469"PEACH" , 470"POPO" , 471"NANA" , 472"PIKACHU" , 473"SAMUS" , 474"YOSHI" , 475"JIGGLY" , 476"MEWTWO" , 477"LUIGI" , 478"MARTH" , 479"ZELDA" , 480"YOUNG" , 481"DOCTOR" , 482"FALCO" , 483"PICHU" , 484"WATCH" , 485"GANON" , 486"ROY" , 487"_NONE1" , 488"_NONE2" , 489"MALE" , 490"FEMALE" , 491"GIGA" , 492"SANDBAG" 493 }; 494} 495 496//Stage IDs 497namespace Stage { 498enum { 499DUMMY = 0X00 , 500TEST = 0X01 , 501IZUMI = 0X02 , 502PSTADIUM = 0X03 , 503CASTLE = 0X04 , 504KONGO = 0X05 , 505ZEBES = 0X06 , 506CORNERIA = 0X07 , 507STORY = 0X08 , 508ONETT = 0X09 , 509MUTECITY = 0X0A , 510RCRUISE = 0X0B , 511GARDEN = 0X0C , 512GREATBAY = 0X0D , 513SHRINE = 0X0E , 514KRAID = 0X0F , 515YOSTER = 0X10 , 516GREENS = 0X11 , 517FOURSIDE = 0X12 , 518INISHIE1 = 0X13 , 519INISHIE2 = 0X14 , 520AKANEIA = 0X15 , 521VENOM = 0X16 , 522PURA = 0X17 , 523BIGBLUE = 0X18 , 524ICEMT = 0X19 , 525ICETOP = 0X1A , 526FLATZONE = 0X1B , 527OLD_PPP = 0X1C , 528OLD_YOSH = 0X1D , 529OLD_KONG = 0X1E , 530BATTLE = 0X1F , 531LAST = 0X20 , 532__LAST = 0X21 533 }; 534 535const std ::string name [__LAST ]= { 536"DUMMY" , 537"TEST" , 538"IZUMI" , 539"PSTADIUM" , 540"CASTLE" , 541"KONGO" , 542"ZEBES" , 543"CORNERIA" , 544"STORY" , 545"ONETT" , 546"MUTECITY" , 547"RCRUISE" , 548"GARDEN" , 549"GREATBAY" , 550"SHRINE" , 551"KRAID" , 552"YOSTER" , 553"GREENS" , 554"FOURSIDE" , 555"INISHIE1" , 556"INISHIE2" , 557"AKANEIA" , 558"VENOM" , 559"PURA" , 560"BIGBLUE" , 561"ICEMT" , 562"ICETOP" , 563"FLATZONE" , 564"OLD PPP" , 565"OLD YOSH" , 566"OLD KONG" , 567"BATTLE" , 568"LAST" 569 }; 570 571//X positions of right ledges for each tournament legal stage 572// Left ledges are symmetrical, so we can just negate those 573//From: https://smashboards.com/threads/official-ask-anyone-frame-things-thread.313889/page-20#post-18643652 574const float ledge [__LAST ]= { 5750.0f ,//DUMMY 5760.0f ,//TEST 57763.35f ,//FOUNTAIN 57887.75f ,//STADIUM 5790.0f ,//CASTLE 5800.0f ,//JUNGLE 5810.0f ,//BRINSTAR 5820.0f ,//CORNERIA 58356.0f ,//STORY 5840.0f ,//ONETT 5850.0f ,//MUTE 5860.0f ,//RAINBOW 5870.0f ,//JAPES 5880.0f ,//BAY 5890.0f ,//TEMPLE 5900.0f ,//DEPTHS 5910.0f ,//ISLAND 5920.0f ,//GREENS 5930.0f ,//FOURSIDE 5940.0f ,//KINGDOM1 5950.0f ,//KINGDOM2 5960.0f ,//AKANEIA 5970.0f ,//VENOM 5980.0f ,//FLOATS 5990.0f ,//_NONE1 6000.0f ,//_NONE2 6010.0f ,//ICETOP 6020.0f ,//FLATZONE 60377.27f ,//DREAMLAND 6040.0f ,//ISLAND64 6050.0f ,//JUNGLE64 60668.4f ,//BATTLE 60785.5606f //FINAL 608 }; 609 610//Y positions of top platforms for each tournament legal stage 611//From: https://smashboards.com/threads/official-ask-anyone-frame-things-thread.313889/page-20#post-18643652 612const float topplat [__LAST ]= { 6130.0f ,//DUMMY 6140.0f ,//TEST 61542.75f ,//FOUNTAIN 6160.0f ,//STADIUM 6170.0f ,//CASTLE 6180.0f ,//JUNGLE 6190.0f ,//BRINSTAR 6200.0f ,//CORNERIA 62142.0f ,//STORY 6220.0f ,//ONETT 6230.0f ,//MUTE 6240.0f ,//RAINBOW 6250.0f ,//JAPES 6260.0f ,//BAY 6270.0f ,//TEMPLE 6280.0f ,//DEPTHS 6290.0f ,//ISLAND 6300.0f ,//GREENS 6310.0f ,//FOURSIDE 6320.0f ,//KINGDOM1 6330.0f ,//KINGDOM2 6340.0f ,//AKANEIA 6350.0f ,//VENOM 6360.0f ,//FLOATS 6370.0f ,//_NONE1 6380.0f ,//_NONE2 6390.0f ,//ICETOP 6400.0f ,//FLATZONE 64151.4264f ,//DREAMLAND 6420.0f ,//ISLAND64 6430.0f ,//JUNGLE64 64454.4f ,//BATTLE 6450.0f //FINAL 646 }; 647} 648 649//Action state IDs 650namespace Action { 651enum { 652DeadDown = 0x0000 , 653DeadLeft = 0x0001 , 654DeadRight = 0x0002 , 655DeadUp = 0x0003 , 656DeadUpStar = 0x0004 , 657DeadUpStarIce = 0x0005 , 658_NONE1 = 0x0006 , 659DeadUpFallHitCamera = 0x0007 , 660DeadUpFallHitCameraFlat = 0x0008 , 661DeadUpFallIce = 0x0009 , 662DeadUpFallHitCameraIce = 0x000A , 663Sleep = 0x000B , 664Rebirth = 0x000C , 665RebirthWait = 0x000D , 666Wait = 0x000E , 667WalkSlow = 0x000F , 668WalkMiddle = 0x0010 , 669WalkFast = 0x0011 , 670Turn = 0x0012 , 671TurnRun = 0x0013 , 672Dash = 0x0014 , 673Run = 0x0015 , 674RunDirect = 0x0016 , 675RunBrake = 0x0017 , 676KneeBend = 0x0018 , 677JumpF = 0x0019 , 678JumpB = 0x001A , 679JumpAerialF = 0x001B , 680JumpAerialB = 0x001C , 681Fall = 0x001D , 682FallF = 0x001E , 683FallB = 0x001F , 684FallAerial = 0x0020 , 685FallAerialF = 0x0021 , 686FallAerialB = 0x0022 , 687FallSpecial = 0x0023 , 688FallSpecialF = 0x0024 , 689FallSpecialB = 0x0025 , 690DamageFall = 0x0026 , 691Squat = 0x0027 , 692SquatWait = 0x0028 , 693SquatRv = 0x0029 , 694Landing = 0x002A , 695LandingFallSpecial = 0x002B , 696Attack11 = 0x002C , 697Attack12 = 0x002D , 698Attack13 = 0x002E , 699Attack100Start = 0x002F , 700Attack100Loop = 0x0030 , 701Attack100End = 0x0031 , 702AttackDash = 0x0032 , 703AttackS3Hi = 0x0033 , 704AttackS3HiS = 0x0034 , 705AttackS3S = 0x0035 , 706AttackS3LwS = 0x0036 , 707AttackS3Lw = 0x0037 , 708AttackHi3 = 0x0038 , 709AttackLw3 = 0x0039 , 710AttackS4Hi = 0x003A , 711AttackS4HiS = 0x003B , 712AttackS4S = 0x003C , 713AttackS4LwS = 0x003D , 714AttackS4Lw = 0x003E , 715AttackHi4 = 0x003F , 716AttackLw4 = 0x0040 , 717AttackAirN = 0x0041 , 718AttackAirF = 0x0042 , 719AttackAirB = 0x0043 , 720AttackAirHi = 0x0044 , 721AttackAirLw = 0x0045 , 722LandingAirN = 0x0046 , 723LandingAirF = 0x0047 , 724LandingAirB = 0x0048 , 725LandingAirHi = 0x0049 , 726LandingAirLw = 0x004A , 727DamageHi1 = 0x004B , 728DamageHi2 = 0x004C , 729DamageHi3 = 0x004D , 730DamageN1 = 0x004E , 731DamageN2 = 0x004F , 732DamageN3 = 0x0050 , 733DamageLw1 = 0x0051 , 734DamageLw2 = 0x0052 , 735DamageLw3 = 0x0053 , 736DamageAir1 = 0x0054 , 737DamageAir2 = 0x0055 , 738DamageAir3 = 0x0056 , 739DamageFlyHi = 0x0057 , 740DamageFlyN = 0x0058 , 741DamageFlyLw = 0x0059 , 742DamageFlyTop = 0x005A , 743DamageFlyRoll = 0x005B , 744LightGet = 0x005C , 745HeavyGet = 0x005D , 746LightThrowF = 0x005E , 747LightThrowB = 0x005F , 748LightThrowHi = 0x0060 , 749LightThrowLw = 0x0061 , 750LightThrowDash = 0x0062 , 751LightThrowDrop = 0x0063 , 752LightThrowAirF = 0x0064 , 753LightThrowAirB = 0x0065 , 754LightThrowAirHi = 0x0066 , 755LightThrowAirLw = 0x0067 , 756HeavyThrowF = 0x0068 , 757HeavyThrowB = 0x0069 , 758HeavyThrowHi = 0x006A , 759HeavyThrowLw = 0x006B , 760LightThrowF4 = 0x006C , 761LightThrowB4 = 0x006D , 762LightThrowHi4 = 0x006E , 763LightThrowLw4 = 0x006F , 764LightThrowAirF4 = 0x0070 , 765LightThrowAirB4 = 0x0071 , 766LightThrowAirHi4 = 0x0072 , 767LightThrowAirLw4 = 0x0073 , 768HeavyThrowF4 = 0x0074 , 769HeavyThrowB4 = 0x0075 , 770HeavyThrowHi4 = 0x0076 , 771HeavyThrowLw4 = 0x0077 , 772SwordSwing1 = 0x0078 , 773SwordSwing3 = 0x0079 , 774SwordSwing4 = 0x007A , 775SwordSwingDash = 0x007B , 776BatSwing1 = 0x007C , 777BatSwing3 = 0x007D , 778BatSwing4 = 0x007E , 779BatSwingDash = 0x007F , 780ParasolSwing1 = 0x0080 , 781ParasolSwing3 = 0x0081 , 782ParasolSwing4 = 0x0082 , 783ParasolSwingDash = 0x0083 , 784HarisenSwing1 = 0x0084 , 785HarisenSwing3 = 0x0085 , 786HarisenSwing4 = 0x0086 , 787HarisenSwingDash = 0x0087 , 788StarRodSwing1 = 0x0088 , 789StarRodSwing3 = 0x0089 , 790StarRodSwing4 = 0x008A , 791StarRodSwingDash = 0x008B , 792LipStickSwing1 = 0x008C , 793LipStickSwing3 = 0x008D , 794LipStickSwing4 = 0x008E , 795LipStickSwingDash = 0x008F , 796ItemParasolOpen = 0x0090 , 797ItemParasolFall = 0x0091 , 798ItemParasolFallSpecial = 0x0092 , 799ItemParasolDamageFall = 0x0093 , 800LGunShoot = 0x0094 , 801LGunShootAir = 0x0095 , 802LGunShootEmpty = 0x0096 , 803LGunShootAirEmpty = 0x0097 , 804FireFlowerShoot = 0x0098 , 805FireFlowerShootAir = 0x0099 , 806ItemScrew = 0x009A , 807ItemScrewAir = 0x009B , 808DamageScrew = 0x009C , 809DamageScrewAir = 0x009D , 810ItemScopeStart = 0x009E , 811ItemScopeRapid = 0x009F , 812ItemScopeFire = 0x00A0 , 813ItemScopeEnd = 0x00A1 , 814ItemScopeAirStart = 0x00A2 , 815ItemScopeAirRapid = 0x00A3 , 816ItemScopeAirFire = 0x00A4 , 817ItemScopeAirEnd = 0x00A5 , 818ItemScopeStartEmpty = 0x00A6 , 819ItemScopeRapidEmpty = 0x00A7 , 820ItemScopeFireEmpty = 0x00A8 , 821ItemScopeEndEmpty = 0x00A9 , 822ItemScopeAirStartEmpty = 0x00AA , 823ItemScopeAirRapidEmpty = 0x00AB , 824ItemScopeAirFireEmpty = 0x00AC , 825ItemScopeAirEndEmpty = 0x00AD , 826LiftWait = 0x00AE , 827LiftWalk1 = 0x00AF , 828LiftWalk2 = 0x00B0 , 829LiftTurn = 0x00B1 , 830GuardOn = 0x00B2 , 831Guard = 0x00B3 , 832GuardOff = 0x00B4 , 833GuardSetOff = 0x00B5 , 834GuardReflect = 0x00B6 , 835DownBoundU = 0x00B7 , 836DownWaitU = 0x00B8 , 837DownDamageU = 0x00B9 , 838DownStandU = 0x00BA , 839DownAttackU = 0x00BB , 840DownFowardU = 0x00BC , 841DownBackU = 0x00BD , 842DownSpotU = 0x00BE , 843DownBoundD = 0x00BF , 844DownWaitD = 0x00C0 , 845DownDamageD = 0x00C1 , 846DownStandD = 0x00C2 , 847DownAttackD = 0x00C3 , 848DownFowardD = 0x00C4 , 849DownBackD = 0x00C5 , 850DownSpotD = 0x00C6 , 851Passive = 0x00C7 , 852PassiveStandF = 0x00C8 , 853PassiveStandB = 0x00C9 , 854PassiveWall = 0x00CA , 855PassiveWallJump = 0x00CB , 856PassiveCeil = 0x00CC , 857ShieldBreakFly = 0x00CD , 858ShieldBreakFall = 0x00CE , 859ShieldBreakDownU = 0x00CF , 860ShieldBreakDownD = 0x00D0 , 861ShieldBreakStandU = 0x00D1 , 862ShieldBreakStandD = 0x00D2 , 863FuraFura = 0x00D3 , 864Catch = 0x00D4 , 865CatchPull = 0x00D5 , 866CatchDash = 0x00D6 , 867CatchDashPull = 0x00D7 , 868CatchWait = 0x00D8 , 869CatchAttack = 0x00D9 , 870CatchCut = 0x00DA , 871ThrowF = 0x00DB , 872ThrowB = 0x00DC , 873ThrowHi = 0x00DD , 874ThrowLw = 0x00DE , 875CapturePulledHi = 0x00DF , 876CaptureWaitHi = 0x00E0 , 877CaptureDamageHi = 0x00E1 , 878CapturePulledLw = 0x00E2 , 879CaptureWaitLw = 0x00E3 , 880CaptureDamageLw = 0x00E4 , 881CaptureCut = 0x00E5 , 882CaptureJump = 0x00E6 , 883CaptureNeck = 0x00E7 , 884CaptureFoot = 0x00E8 , 885EscapeF = 0x00E9 , 886EscapeB = 0x00EA , 887Escape = 0x00EB , 888EscapeAir = 0x00EC , 889ReboundStop = 0x00ED , 890Rebound = 0x00EE , 891ThrownF = 0x00EF , 892ThrownB = 0x00F0 , 893ThrownHi = 0x00F1 , 894ThrownLw = 0x00F2 , 895ThrownLwWomen = 0x00F3 , 896Pass = 0x00F4 , 897Ottotto = 0x00F5 , 898OttottoWait = 0x00F6 , 899FlyReflectWall = 0x00F7 , 900FlyReflectCeil = 0x00F8 , 901StopWall = 0x00F9 , 902StopCeil = 0x00FA , 903MissFoot = 0x00FB , 904CliffCatch = 0x00FC , 905CliffWait = 0x00FD , 906CliffClimbSlow = 0x00FE , 907CliffClimbQuick = 0x00FF , 908CliffAttackSlow = 0x0100 , 909CliffAttackQuick = 0x0101 , 910CliffEscapeSlow = 0x0102 , 911CliffEscapeQuick = 0x0103 , 912CliffJumpSlow1 = 0x0104 , 913CliffJumpSlow2 = 0x0105 , 914CliffJumpQuick1 = 0x0106 , 915CliffJumpQuick2 = 0x0107 , 916AppealR = 0x0108 , 917AppealL = 0x0109 , 918ShoulderedWait = 0x010A , 919ShoulderedWalkSlow = 0x010B , 920ShoulderedWalkMiddle = 0x010C , 921ShoulderedWalkFast = 0x010D , 922ShoulderedTurn = 0x010E , 923ThrownFF = 0x010F , 924ThrownFB = 0x0110 , 925ThrownFHi = 0x0111 , 926ThrownFLw = 0x0112 , 927CaptureCaptain = 0x0113 , 928CaptureYoshi = 0x0114 , 929YoshiEgg = 0x0115 , 930CaptureKoopa = 0x0116 , 931CaptureDamageKoopa = 0x0117 , 932CaptureWaitKoopa = 0x0118 , 933ThrownKoopaF = 0x0119 , 934ThrownKoopaB = 0x011A , 935CaptureKoopaAir = 0x011B , 936CaptureDamageKoopaAir = 0x011C , 937CaptureWaitKoopaAir = 0x011D , 938ThrownKoopaAirF = 0x011E , 939ThrownKoopaAirB = 0x011F , 940CaptureKirby = 0x0120 , 941CaptureWaitKirby = 0x0121 , 942ThrownKirbyStar = 0x0122 , 943ThrownCopyStar = 0x0123 , 944ThrownKirby = 0x0124 , 945BarrelWait = 0x0125 , 946Bury = 0x0126 , 947BuryWait = 0x0127 , 948BuryJump = 0x0128 , 949DamageSong = 0x0129 , 950DamageSongWait = 0x012A , 951DamageSongRv = 0x012B , 952DamageBind = 0x012C , 953CaptureMewtwo = 0x012D , 954CaptureMewtwoAir = 0x012E , 955ThrownMewtwo = 0x012F , 956ThrownMewtwoAir = 0x0130 , 957WarpStarJump = 0x0131 , 958WarpStarFall = 0x0132 , 959HammerWait = 0x0133 , 960HammerWalk = 0x0134 , 961HammerTurn = 0x0135 , 962HammerKneeBend = 0x0136 , 963HammerFall = 0x0137 , 964HammerJump = 0x0138 , 965HammerLanding = 0x0139 , 966KinokoGiantStart = 0x013A , 967KinokoGiantStartAir = 0x013B , 968KinokoGiantEnd = 0x013C , 969KinokoGiantEndAir = 0x013D , 970KinokoSmallStart = 0x013E , 971KinokoSmallStartAir = 0x013F , 972KinokoSmallEnd = 0x0140 , 973KinokoSmallEndAir = 0x0141 , 974Entry = 0x0142 , 975EntryStart = 0x0143 , 976EntryEnd = 0x0144 , 977DamageIce = 0x0145 , 978DamageIceJump = 0x0146 , 979CaptureMasterhand = 0x0147 , 980CapturedamageMasterhand = 0x0148 , 981CapturewaitMasterhand = 0x0149 , 982ThrownMasterhand = 0x014A , 983CaptureKirbyYoshi = 0x014B , 984KirbyYoshiEgg = 0x014C , 985CaptureLeadead = 0x014D , 986CaptureLikelike = 0x014E , 987DownReflect = 0x014F , 988CaptureCrazyhand = 0x0150 , 989CapturedamageCrazyhand = 0x0151 , 990CapturewaitCrazyhand = 0x0152 , 991ThrownCrazyhand = 0x0153 , 992BarrelCannonWait = 0x0154 , 993Wait1 = 0x0155 , 994Wait2 = 0x0156 , 995Wait3 = 0x0157 , 996Wait4 = 0x0158 , 997WaitItem = 0x0159 , 998SquatWait1 = 0x015A , 999SquatWait2 = 0x015B , 1000SquatWaitItem = 0x015C , 1001GuardDamage = 0x015D , 1002EscapeN = 0x015E , 1003AttackS4Hold = 0x015F , 1004HeavyWalk1 = 0x0160 , 1005HeavyWalk2 = 0x0161 , 1006ItemHammerWait = 0x0162 , 1007ItemHammerMove = 0x0163 , 1008ItemBlind = 0x0164 , 1009DamageElec = 0x0165 , 1010FuraSleepStart = 0x0166 , 1011FuraSleepLoop = 0x0167 , 1012FuraSleepEnd = 0x0168 , 1013WallDamage = 0x0169 , 1014CliffWait1 = 0x016A , 1015CliffWait2 = 0x016B , 1016SlipDown = 0x016C , 1017Slip = 0x016D , 1018SlipTurn = 0x016E , 1019SlipDash = 0x016F , 1020SlipWait = 0x0170 , 1021SlipStand = 0x0171 , 1022SlipAttack = 0x0172 , 1023SlipEscapeF = 0x0173 , 1024SlipEscapeB = 0x0174 , 1025AppealS = 0x0175 , 1026Zitabata = 0x0176 , 1027CaptureKoopaHit = 0x0177 , 1028ThrownKoopaEndF = 0x0178 , 1029ThrownKoopaEndB = 0x0179 , 1030CaptureKoopaAirHit = 0x017A , 1031ThrownKoopaAirEndF = 0x017B , 1032ThrownKoopaAirEndB = 0x017C , 1033ThrownKirbyDrinkSShot = 0x017D , 1034ThrownKirbySpitSShot = 0x017E , 1035__LAST = 0x017F 1036 }; 1037 1038const std ::string name [__LAST ]= { 1039"DeadDown" , 1040"DeadLeft" , 1041"DeadRight" , 1042"DeadUp" , 1043"DeadUpStar" , 1044"DeadUpStarIce" , 1045"_NONE1" , 1046"DeadUpFallHitCamera" , 1047"DeadUpFallHitCameraFlat" , 1048"DeadUpFallIce" , 1049"DeadUpFallHitCameraIce" , 1050"Sleep" , 1051"Rebirth" , 1052"RebirthWait" , 1053"Wait" , 1054"WalkSlow" , 1055"WalkMiddle" , 1056"WalkFast" , 1057"Turn" , 1058"TurnRun" , 1059"Dash" , 1060"Run" , 1061"RunDirect" , 1062"RunBrake" , 1063"KneeBend" , 1064"JumpF" , 1065"JumpB" , 1066"JumpAerialF" , 1067"JumpAerialB" , 1068"Fall" , 1069"FallF" , 1070"FallB" , 1071"FallAerial" , 1072"FallAerialF" , 1073"FallAerialB" , 1074"FallSpecial" , 1075"FallSpecialF" , 1076"FallSpecialB" , 1077"DamageFall" , 1078"Squat" , 1079"SquatWait" , 1080"SquatRv" , 1081"Landing" , 1082"LandingFallSpecial" , 1083"Attack11" , 1084"Attack12" , 1085"Attack13" , 1086"Attack100Start" , 1087"Attack100Loop" , 1088"Attack100End" , 1089"AttackDash" , 1090"AttackS3Hi" , 1091"AttackS3HiS" , 1092"AttackS3S" , 1093"AttackS3LwS" , 1094"AttackS3Lw" , 1095"AttackHi3" , 1096"AttackLw3" , 1097"AttackS4Hi" , 1098"AttackS4HiS" , 1099"AttackS4S" , 1100"AttackS4LwS" , 1101"AttackS4Lw" , 1102"AttackHi4" , 1103"AttackLw4" , 1104"AttackAirN" , 1105"AttackAirF" , 1106"AttackAirB" , 1107"AttackAirHi" , 1108"AttackAirLw" , 1109"LandingAirN" , 1110"LandingAirF" , 1111"LandingAirB" , 1112"LandingAirHi" , 1113"LandingAirLw" , 1114"DamageHi1" , 1115"DamageHi2" , 1116"DamageHi3" , 1117"DamageN1" , 1118"DamageN2" , 1119"DamageN3" , 1120"DamageLw1" , 1121"DamageLw2" , 1122"DamageLw3" , 1123"DamageAir1" , 1124"DamageAir2" , 1125"DamageAir3" , 1126"DamageFlyHi" , 1127"DamageFlyN" , 1128"DamageFlyLw" , 1129"DamageFlyTop" , 1130"DamageFlyRoll" , 1131"LightGet" , 1132"HeavyGet" , 1133"LightThrowF" , 1134"LightThrowB" , 1135"LightThrowHi" , 1136"LightThrowLw" , 1137"LightThrowDash" , 1138"LightThrowDrop" , 1139"LightThrowAirF" , 1140"LightThrowAirB" , 1141"LightThrowAirHi" , 1142"LightThrowAirLw" , 1143"HeavyThrowF" , 1144"HeavyThrowB" , 1145"HeavyThrowHi" , 1146"HeavyThrowLw" , 1147"LightThrowF4" , 1148"LightThrowB4" , 1149"LightThrowHi4" , 1150"LightThrowLw4" , 1151"LightThrowAirF4" , 1152"LightThrowAirB4" , 1153"LightThrowAirHi4" , 1154"LightThrowAirLw4" , 1155"HeavyThrowF4" , 1156"HeavyThrowB4" , 1157"HeavyThrowHi4" , 1158"HeavyThrowLw4" , 1159"SwordSwing1" , 1160"SwordSwing3" , 1161"SwordSwing4" , 1162"SwordSwingDash" , 1163"BatSwing1" , 1164"BatSwing3" , 1165"BatSwing4" , 1166"BatSwingDash" , 1167"ParasolSwing1" , 1168"ParasolSwing3" , 1169"ParasolSwing4" , 1170"ParasolSwingDash" , 1171"HarisenSwing1" , 1172"HarisenSwing3" , 1173"HarisenSwing4" , 1174"HarisenSwingDash" , 1175"StarRodSwing1" , 1176"StarRodSwing3" , 1177"StarRodSwing4" , 1178"StarRodSwingDash" , 1179"LipStickSwing1" , 1180"LipStickSwing3" , 1181"LipStickSwing4" , 1182"LipStickSwingDash" , 1183"ItemParasolOpen" , 1184"ItemParasolFall" , 1185"ItemParasolFallSpecial" , 1186"ItemParasolDamageFall" , 1187"LGunShoot" , 1188"LGunShootAir" , 1189"LGunShootEmpty" , 1190"LGunShootAirEmpty" , 1191"FireFlowerShoot" , 1192"FireFlowerShootAir" , 1193"ItemScrew" , 1194"ItemScrewAir" , 1195"DamageScrew" , 1196"DamageScrewAir" , 1197"ItemScopeStart" , 1198"ItemScopeRapid" , 1199"ItemScopeFire" , 1200"ItemScopeEnd" , 1201"ItemScopeAirStart" , 1202"ItemScopeAirRapid" , 1203"ItemScopeAirFire" , 1204"ItemScopeAirEnd" , 1205"ItemScopeStartEmpty" , 1206"ItemScopeRapidEmpty" , 1207"ItemScopeFireEmpty" , 1208"ItemScopeEndEmpty" , 1209"ItemScopeAirStartEmpty" , 1210"ItemScopeAirRapidEmpty" , 1211"ItemScopeAirFireEmpty" , 1212"ItemScopeAirEndEmpty" , 1213"LiftWait" , 1214"LiftWalk1" , 1215"LiftWalk2" , 1216"LiftTurn" , 1217"GuardOn" , 1218"Guard" , 1219"GuardOff" , 1220"GuardSetOff" , 1221"GuardReflect" , 1222"DownBoundU" , 1223"DownWaitU" , 1224"DownDamageU" , 1225"DownStandU" , 1226"DownAttackU" , 1227"DownFowardU" , 1228"DownBackU" , 1229"DownSpotU" , 1230"DownBoundD" , 1231"DownWaitD" , 1232"DownDamageD" , 1233"DownStandD" , 1234"DownAttackD" , 1235"DownFowardD" , 1236"DownBackD" , 1237"DownSpotD" , 1238"Passive" , 1239"PassiveStandF" , 1240"PassiveStandB" , 1241"PassiveWall" , 1242"PassiveWallJump" , 1243"PassiveCeil" , 1244"ShieldBreakFly" , 1245"ShieldBreakFall" , 1246"ShieldBreakDownU" , 1247"ShieldBreakDownD" , 1248"ShieldBreakStandU" , 1249"ShieldBreakStandD" , 1250"FuraFura" , 1251"Catch" , 1252"CatchPull" , 1253"CatchDash" , 1254"CatchDashPull" , 1255"CatchWait" , 1256"CatchAttack" , 1257"CatchCut" , 1258"ThrowF" , 1259"ThrowB" , 1260"ThrowHi" , 1261"ThrowLw" , 1262"CapturePulledHi" , 1263"CaptureWaitHi" , 1264"CaptureDamageHi" , 1265"CapturePulledLw" , 1266"CaptureWaitLw" , 1267"CaptureDamageLw" , 1268"CaptureCut" , 1269"CaptureJump" , 1270"CaptureNeck" , 1271"CaptureFoot" , 1272"EscapeF" , 1273"EscapeB" , 1274"Escape" , 1275"EscapeAir" , 1276"ReboundStop" , 1277"Rebound" , 1278"ThrownF" , 1279"ThrownB" , 1280"ThrownHi" , 1281"ThrownLw" , 1282"ThrownLwWomen" , 1283"Pass" , 1284"Ottotto" , 1285"OttottoWait" , 1286"FlyReflectWall" , 1287"FlyReflectCeil" , 1288"StopWall" , 1289"StopCeil" , 1290"MissFoot" , 1291"CliffCatch" , 1292"CliffWait" , 1293"CliffClimbSlow" , 1294"CliffClimbQuick" , 1295"CliffAttackSlow" , 1296"CliffAttackQuick" , 1297"CliffEscapeSlow" , 1298"CliffEscapeQuick" , 1299"CliffJumpSlow1" , 1300"CliffJumpSlow2" , 1301"CliffJumpQuick1" , 1302"CliffJumpQuick2" , 1303"AppealR" , 1304"AppealL" , 1305"ShoulderedWait" , 1306"ShoulderedWalkSlow" , 1307"ShoulderedWalkMiddle" , 1308"ShoulderedWalkFast" , 1309"ShoulderedTurn" , 1310"ThrownFF" , 1311"ThrownFB" , 1312"ThrownFHi" , 1313"ThrownFLw" , 1314"CaptureCaptain" , 1315"CaptureYoshi" , 1316"YoshiEgg" , 1317"CaptureKoopa" , 1318"CaptureDamageKoopa" , 1319"CaptureWaitKoopa" , 1320"ThrownKoopaF" , 1321"ThrownKoopaB" , 1322"CaptureKoopaAir" , 1323"CaptureDamageKoopaAir" , 1324"CaptureWaitKoopaAir" , 1325"ThrownKoopaAirF" , 1326"ThrownKoopaAirB" , 1327"CaptureKirby" , 1328"CaptureWaitKirby" , 1329"ThrownKirbyStar" , 1330"ThrownCopyStar" , 1331"ThrownKirby" , 1332"BarrelWait" , 1333"Bury" , 1334"BuryWait" , 1335"BuryJump" , 1336"DamageSong" , 1337"DamageSongWait" , 1338"DamageSongRv" , 1339"DamageBind" , 1340"CaptureMewtwo" , 1341"CaptureMewtwoAir" , 1342"ThrownMewtwo" , 1343"ThrownMewtwoAir" , 1344"WarpStarJump" , 1345"WarpStarFall" , 1346"HammerWait" , 1347"HammerWalk" , 1348"HammerTurn" , 1349"HammerKneeBend" , 1350"HammerFall" , 1351"HammerJump" , 1352"HammerLanding" , 1353"KinokoGiantStart" , 1354"KinokoGiantStartAir" , 1355"KinokoGiantEnd" , 1356"KinokoGiantEndAir" , 1357"KinokoSmallStart" , 1358"KinokoSmallStartAir" , 1359"KinokoSmallEnd" , 1360"KinokoSmallEndAir" , 1361"Entry" , 1362"EntryStart" , 1363"EntryEnd" , 1364"DamageIce" , 1365"DamageIceJump" , 1366"CaptureMasterhand" , 1367"CapturedamageMasterhand" , 1368"CapturewaitMasterhand" , 1369"ThrownMasterhand" , 1370"CaptureKirbyYoshi" , 1371"KirbyYoshiEgg" , 1372"CaptureLeadead" , 1373"CaptureLikelike" , 1374"DownReflect" , 1375"CaptureCrazyhand" , 1376"CapturedamageCrazyhand" , 1377"CapturewaitCrazyhand" , 1378"ThrownCrazyhand" , 1379"BarrelCannonWait" , 1380"Wait1" , 1381"Wait2" , 1382"Wait3" , 1383"Wait4" , 1384"WaitItem" , 1385"SquatWait1" , 1386"SquatWait2" , 1387"SquatWaitItem" , 1388"GuardDamage" , 1389"EscapeN" , 1390"AttackS4Hold" , 1391"HeavyWalk1" , 1392"HeavyWalk2" , 1393"ItemHammerWait" , 1394"ItemHammerMove" , 1395"ItemBlind" , 1396"DamageElec" , 1397"FuraSleepStart" , 1398"FuraSleepLoop" , 1399"FuraSleepEnd" , 1400"WallDamage" , 1401"CliffWait1" , 1402"CliffWait2" , 1403"SlipDown" , 1404"Slip" , 1405"SlipTurn" , 1406"SlipDash" , 1407"SlipWait" , 1408"SlipStand" , 1409"SlipAttack" , 1410"SlipEscapeF" , 1411"SlipEscapeB" , 1412"AppealS" , 1413"Zitabata" , 1414"CaptureKoopaHit" , 1415"ThrownKoopaEndF" , 1416"ThrownKoopaEndB" , 1417"CaptureKoopaAirHit" , 1418"ThrownKoopaAirEndF" , 1419"ThrownKoopaAirEndB" , 1420"ThrownKirbyDrinkSShot" , 1421"ThrownKirbySpitSShot" 1422 }; 1423} 1424 1425//Offensive, neutral, and defensive gameplay dynamics 1426//WARNING: if this is ever updated, offensive and defensive types need to be 1427// symmetric around neutral (e.g., NEUTRAL muse equal __LAST/2 and PRESSURED must equal __LAST-PRESSURING) 1428namespace Dynamic { 1429enum { 1430__FIRST = 0 , 1431RECOVERING = 1 , 1432ESCAPING = 2 , 1433PUNISHED = 3 , 1434GROUNDING = 4 , 1435PRESSURED = 5 , 1436DEFENSIVE = 6 , 1437TRADING = 7 , 1438POKING = 8 , 1439NEUTRAL = 9 , 1440POSITIONING = 10 , 1441FOOTSIES = 11 , 1442OFFENSIVE = 12 , 1443PRESSURING = 13 , 1444SHARKING = 14 , 1445PUNISHING = 15 , 1446TECHCHASING = 16 , 1447EDGEGUARDING = 17 , 1448__LAST = 18 1449 }; 1450 1451const std ::string name [__LAST ]= { 1452"__FIRST" , 1453"RECOVERING" , 1454"ESCAPING" , 1455"PUNISHED" , 1456"GROUNDING" , 1457"PRESSURED" , 1458"DEFENSIVE" , 1459"TRADING" , 1460"POKING" , 1461"NEUTRAL" , 1462"POSITIONING" , 1463"FOOTSIES" , 1464"OFFENSIVE" , 1465"PRESSURING" , 1466"SHARKING" , 1467"PUNISHING" , 1468"TECHCHASING" , 1469"EDGEGUARDING" 1470 }; 1471} 1472 1473namespace EndType { 1474// game end type, dependent on slippi version: 1475// 0.1.0 -0 = Unresolved, 3 = resolved 1476// 2.0.0 -1 = TIME!, 2 = GAME!, 7 = No Contest 1477enum { 1478UNRESOLVED = 0 , 1479RESOLVED = 3 , 1480 1481TIME = 1 , 1482GAME = 2 , 1483NO_CONTEST = 7 1484 }; 1485} 1486 1487#endif /* ENUMS_H_ */