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