fork/m-overlay

git clone https://git.julia.blue/fork/m-overlay

blackops7799I lost track of what I'm even doing lola7d6bcc

GUI
57.3 KiB1777 linesraw
1require("smash.enums")
2
3local state = {}
4
5local reactions = {
6	-- Actions that SHOULD NOT count towards APM
7	[0x000] = "dead (down)",				-- DeadDown
8	[0x001] = "dead (left)",				-- DeadLeft
9	[0x002] = "dead (right)",				-- DeadRight
10	[0x003] = "dead (up)",					-- DeadUp
11	[0x004] = "dead (star)",				-- DeadUpStar
12	[0x005] = "dead (star)",				-- DeadUpStarIce
13	[0x006] = "dead (up, fall)",			-- DeadUpFall
14	[0x007] = "dead (up, fall, hit camera)",-- DeadUpFallHitCamera
15	[0x008] = "dead (up, fall, hit camera)",-- DeadUpFallHitCameraFlat
16	[0x009] = "dead (up, fall)",			-- DeadUpFallIce
17	[0x00A] = "dead (up, fall, hit camera)",-- DeadUpFallHitCameraIce
18	[0x00B] = "dead (sleep)",				-- Sleep
19	[0x00C] = "spawning",					-- Rebirth
20	[0x00D] = "spawn platform",				-- RebirthWait
21	[0x00E] = "wait",						-- Wait
22
23	-- We bend our knees first before these happen, so, ignore these
24	[0x019] = "jump forward",				-- JumpF
25	[0x01A] = "jump backward",				-- JumpB
26
27	[0x01D] = "fall",						-- Fall
28	[0x01E] = "fall forward",				-- FallF
29	[0x01F] = "fall backward",				-- FallB
30	[0x020] = "fall areial",				-- FallAerial
31	[0x021] = "fall areial forward",		-- FallAerialF
32	[0x022] = "fall areial backward",		-- FallAerialB
33	[0x023] = "fall special",				-- FallSpecial
34	[0x024] = "fall special forward",		-- FallSpecialF
35	[0x025] = "fall special backward",		-- FallSpecialB
36	[0x026] = "fall damage",				-- DamageFall
37
38	[0x02A] = "landing",					-- Landing
39
40	[0x046] = "landing neutral air",		-- LandingAirN
41	[0x047] = "landing forward air",		-- LandingAirF
42	[0x048] = "landing back air",			-- LandingAirB
43	[0x049] = "landing air high",			-- LandingAirHi
44	[0x04A] = "landing air low",			-- LandingAirLw
45	[0x04B] = "damage high 1",				-- DamageHi1
46	[0x04C] = "damage high 2",				-- DamageHi2
47	[0x04D] = "damage high 3",				-- DamageHi3
48	[0x04E] = "damage neutral 3",			-- DamageN1
49	[0x04F] = "damage neutral 3",			-- DamageN2
50	[0x050] = "damage neutral 3",			-- DamageN3
51	[0x051] = "damage low 1",				-- DamageLw1
52	[0x052] = "damage low 2",				-- DamageLw2
53	[0x053] = "damage low 3",				-- DamageLw3
54	[0x054] = "damage air 1",				-- DamageAir1
55	[0x055] = "damage air 2",				-- DamageAir2
56	[0x056] = "damage air 3",				-- DamageAir3
57	[0x057] = "damage fly high",			-- DamageFlyHi
58	[0x058] = "damage fly neutral",			-- DamageFlyN
59	[0x059] = "damage fly low",				-- DamageFlyLw
60	[0x05A] = "damage fly top",				-- DamageFlyTop
61	[0x05B] = "damage fly roll",			-- DamageFlyRoll
62
63	-- Knocked down animations
64	[0x0B7] = "down",						-- DownBoundU
65	[0x0B8] = "down",						-- DownWaitU
66	[0x0B9] = "down damaged",				-- DownDamageU
67	[0x0BF] = "down",						-- DownBoundD
68	[0x0C0] = "down idle",					-- DownWaitD
69	[0x0C1] = "down damaged",				-- DownDamageD
70	[0x0C2] = "down and standing",			-- DownStandD
71
72	-- ???
73	[0x0C7] = "Passive",					-- Passive
74	[0x0C8] = "PassiveStandF",				-- PassiveStandF
75	[0x0C9] = "PassiveStandB",				-- PassiveStandB
76	[0x0CA] = "PassiveWall",				-- PassiveWall
77	[0x0CB] = "PassiveWallJump",			-- PassiveWallJump
78	[0x0CC] = "PassiveCeil",				-- PassiveCeil
79
80	-- Shield breaking
81	[0x0CD] = "shield break pop",			-- ShieldBreakFly
82	[0x0CE] = "shield break falling",		-- ShieldBreakFall
83	[0x0CF] = "shield break fall down",		-- ShieldBreakDownU
84	[0x0D0] = "shield break fall down",		-- ShieldBreakDownD
85	[0x0D1] = "shield break stand",			-- ShieldBreakStandU
86	[0x0D2] = "shield break stand",			-- ShieldBreakStandD
87	[0x0D3] = "stunned",					-- FuraFura
88
89	-- When the player is holding another character
90	[0x0D8] = "hold",						-- CatchWait
91
92	-- When moves "clink"
93	[0x0ED] = "clink",						-- ReboundStop
94	[0x0EE] = "clink recoil",				-- Rebound
95
96	-- Character being thrown
97	[0x0EF] = "forward thrown",				-- ThrownF
98	[0x0F0] = "back thrown",				-- ThrownB
99	[0x0F1] = "up thrown",					-- ThrownHi
100	[0x0F2] = "down thrown", 				-- ThrownLw
101	[0x0F3] = "down thrown",				-- ThrownLwWomen
102
103	[0x0DF] = "pull into grab from air",	-- CapturePulledHi
104	[0x0E0] = "hold air",					-- CaptureWaitHi
105	[0x0E1] = "hold air damage",			-- CaptureDamageHi
106	[0x0E2] = "pulled into grab",			-- CapturePulledLw
107	[0x0E3] = "hold ground",				-- CaptureWaitLw
108	[0x0E4] = "hold damage",				-- CaptureDamageLw
109
110	[0x0E5] = "release from grab",			-- CaptureCut
111	[0x0E6] = "jump from grab",				-- CaptureJump
112	[0x0E7] = "grab neck",					-- CaptureNeck
113	[0x0E8] = "grab foot",					-- CaptureFoot
114
115	-- DK Grab stuff
116	[0x10A] = "shouldered",					-- ShoulderedWait
117	[0x10B] = "shouldered walk",			-- ShoulderedWalkSlow
118	[0x10C] = "shouldered run",				-- ShoulderedWalkMiddle
119	[0x10D] = "shouldered dash",			-- ShoulderedWalkFast
120	[0x10E] = "Shouldered turn",			-- ShoulderedTurn
121
122	-- Being thrown
123	[0x10F] = "forward thrown",				-- ThrownFF
124	[0x110] = "backward thrown",			-- ThrownFB
125	[0x111] = "up thrown",					-- ThrownFHi
126	[0x112] = "down thrown",				-- ThrownFLw
127
128	[0x113] = "grabbed by cpt. falcon",		-- CaptureCaptain
129
130	[0x114] = "grabbed by yoshi",			-- CaptureYoshi
131	[0x115] = "yoshi egg",					-- YoshiEgg
132
133	[0x116] = "grabbed by bowser",			-- CaptureKoopa
134	[0x117] = "hit by bowser while grabbed",-- CaptureDamageKoopa
135	[0x118] = "held by bowser",				-- CaptureWaitKoopa
136	[0x119] = "forward thrown by bowser",	-- ThrownKoopaF
137	[0x11A] = "backwards thrown by bowser",	-- ThrownKoopaB
138	[0x11B] = "areial grabbed by bowser",	-- CaptureKoopaAir
139	[0x11C] = "areial hit by bowser while grabbed", -- CaptureDamageKoopaAir
140	[0x11D] = "areial held by bowser",		-- CaptureWaitKoopaAir
141	[0x11E] = "areial thrown forward by bowser",	-- ThrownKoopaAirF
142	[0x11F] = "areial thrown backwards by bowser",	-- ThrownKoopaAirB
143
144	[0x120] = "inhaled by kirby",			-- CaptureKirby
145	[0x121] = "held by kirby",				-- CaptureWaitKirby
146	[0x122] = "spat out as star", 			-- ThrownKirbyStar
147	[0x123] = "kirby stole ability",		-- ThrownCopyStar
148	[0x124] = "spat out",					-- ThrownKirby
149
150	[0x125] = "barrel idle",				-- BarrelWait
151
152	[0x126] = "burried",					-- Bury
153	[0x127] = "burried idle",				-- BuryWait
154	[0x128] = "burried jump",				-- BuryJump
155
156	[0x129] = "fall asleep",				-- DamageSong
157	[0x12A] = "sleeping",					-- DamageSongWait
158	[0x12B] = "wake up",					-- DamageSongRv
159
160	[0x12C] = "damaged by bind",			-- DamageBind
161
162	[0x12D] = "grabbed by mewtwo",			-- CaptureMewtwo
163	[0x12E] = "areial grabbed by mewtwo",	-- CaptureMewtwoAir
164	[0x12F] = "thrown by mewtwo",			-- ThrownMewtwo
165	[0x130] = "areial thrown by mewtwo",	-- ThrownMewtwoAir
166
167	[0x131] = "warp star jump",					-- WarpStarJump
168	[0x132] = "warp star fall",					-- WarpStarFall
169
170	[0x133] = "hammer idle",					-- HammerWait
171	[0x137] = "hammer fall",					-- HammerFall
172	[0x139] = "hammer landing",					-- HammerLanding
173
174	[0x13A] = "giant mushroom start",			-- KinokoGiantStart
175	[0x13B] = "areial giant mushroom start",	-- KinokoGiantStartAir
176	[0x13C] = "giant mushroom end",				-- KinokoGiantEnd
177	[0x13D] = "areial giant mushroom end",		-- KinokoGiantEndAir
178	[0x13E] = "mini mushroom start",			-- KinokoSmallStart
179	[0x13F] = "areial mini mushroom start",		-- KinokoSmallStartAir
180	[0x140] = "mini mushroom end",				-- KinokoSmallEnd
181	[0x141] = "areial mini mushroom end",		-- KinokoSmallEndAir
182
183	[0x142] = "spawn start",					-- Entry
184	[0x143]	= "Spawn drop in",					-- EntryStart
185	[0x144] = "spawn end",						-- EntryEnd
186
187	[0x145] = "damaged by ice",					-- DamageIce
188	[0x146] = "damaged and launced by ice",		-- DamageIceJump
189
190	[0x147] = "grabbed by master hand",		-- CaptureMasterhand
191	[0x148] = "squeezed by master hand",	-- CapturedamageMasterhand
192	[0x149] = "held by master hand",		-- CapturewaitMasterhand
193	[0x14A] = "thrown by master hand",		-- ThrownMasterhand
194
195	[0x14B] = "grabbed by kirby",			-- CaptureKirbyYoshi
196	[0x14C] = "KirbyYoshiEgg",				-- KirbyYoshiEgg
197	[0x14D] = "grabbed by redead",			-- CaptureLeadead
198	[0x14E] = "grabbed by likelike",		-- CaptureLikelike
199
200	[0x14F] = "DownReflect",				-- DownReflect
201
202	[0x150] = "grabbed by crazy hand",		-- CaptureCrazyhand
203	[0x151] = "squeezed by crazy hand",		-- CapturedamageCrazyhand
204	[0x152] = "held by crazy hand",			-- CapturewaitCrazyhand
205	[0x153] = "thrown by crazy hand",		-- ThrownCrazyhand
206
207	[0x154] = "barrel cannon wait",			-- BarrelCannonWait
208
209	[0x155] = "wait 1",		-- Wait1
210	[0x156] = "wait 2",		-- Wait2
211	[0x157] = "wait 3",		-- Wait3
212	[0x158] = "wait 4",		-- Wait4
213	[0x159] = "wait item",	-- WaitItem
214
215	[0x15A] = "crouch wait 1",			-- SquatWait1
216	[0x15B] = "crouch wait 2",			-- SquatWait2
217	[0x15C] = "crouch wait with item",	-- SquatWaitItem
218
219	[0x15D] = "shield damaged",			-- GuardDamage
220
221	[0x15E] = "EscapeN",				-- EscapeN
222
223	[0x15F] = "AttackS4Hold",			-- AttackS4Hold
224
225	[0x160] = "heavy walk",				-- HeavyWalk1
226	[0x161] = "heavy walk",				-- HeavyWalk2
227
228	[0x162] = "ItemHammerWait",			-- ItemHammerWait
229
230	[0x164] = "invisible",				-- ItemBlind
231
232	[0x165] = "damaged by electricity",	-- DamageElec
233
234	[0x166] = "stunned start",			-- FuraSleepStart
235	[0x167] = "stunned",				-- FuraSleepLoop
236	[0x168] = "stunned end",			-- FuraSleepEnd
237
238	[0x169] = "wall damage",			-- WallDamage
239
240	[0x16A] = "ledge hold",				-- CliffWait1
241	[0x16B] = "ledge hold",				-- CliffWait2
242
243	[0x16C] = "slip fall down",			-- SlipDown
244	[0x16D] = "slip",					-- Slip
245	[0x170] = "slip idle",				-- SlipWait
246	[0x171] = "slip stand up",			-- SlipStand
247
248	[0x176] = "struggle", -- Zitabata
249
250	[0x177] = "hit by bowser while grabbed",	-- CaptureKoopaHit
251	[0x178] = "thrown forward by bowser",		-- ThrownKoopaEndF
252	[0x179] = "thrown backward by bowser",		-- ThrownKoopaEndB
253	[0x17A] = "hit by bowser while grabbed",	-- CaptureKoopaAirHit
254	[0x17B] = "thrown forward by bowser",		-- ThrownKoopaAirEndF
255	[0x17C] = "thrown backward by bowser",		-- ThrownKoopaAirEndB
256
257	[0x17D] = "ThrownKirbyDrinkSShot",			-- ThrownKirbyDrinkSShot
258	[0x17E] = "ThrownKirbySpitSShot",			-- ThrownKirbySpitSShot
259}
260
261local character_states = {
262	[CHARACTER_INTERNAL.CPTFALCON] = {
263		[0x155] = "falcon unknown 1",
264		[0x156] = "falcon unknown 2",
265		[0x157] = "falcon unknown 3",
266		[0x158] = "falcon unknown 4",
267		[0x159] = "falcon unknown 5",
268		[0x15A] = "falcon unknown 6",
269		[0x15B] = "falcon unknown 7",
270
271		[0x15B] = "falcon punch",
272		[0x15C] = "aerial falcon punch",
273		[0x15D] = "raptor boost",
274		[0x15E] = "raptor boost uppercut", -- (collision)
275		[0x15F] = "aerial raptor boost",
276		[0x160] = "aerial raptor boost dunked", -- (collision)
277		[0x161] = "falcon dive",
278		[0x162] = "aerial falcon dive",
279		[0x165] = "falcon kick",
280		[0x166] = "falcon kick end", -- (finish)
281		[0x167] = "aerial falcon kick",
282		[0x168] = "aerial falcon kick end", -- (finish)
283	},
284	[CHARACTER_INTERNAL.GANONDORF] = {
285		[0x155] = "ganon unknown 1",
286		[0x156] = "ganon unknown 2",
287		[0x157] = "ganon unknown 3",
288		[0x158] = "ganon unknown 4",
289		[0x159] = "ganon unknown 5",
290		[0x15A] = "ganon unknown 6",
291		[0x15B] = "ganon unknown 7",
292
293		[0x15B] = "warlock punch",
294		[0x15C] = "aerial warlock punch",
295		[0x15D] = "gerudo dragon",
296		[0x15E] = "gerudo dragon uppercut", -- (collision)
297		[0x15F] = "aerial gerudo dragon",
298		[0x160] = "aerial gerudo dragon dunk", -- (collision)
299		[0x161] = "dark dive",
300		[0x162] = "aerial dark dive",
301		[0x165] = "wizards foot",
302		[0x166] = "wizards foot end", -- (finish)
303		[0x167] = "aerial wizards foot",
304		[0x168] = "aerial wizards foot end", -- (finish)
305	},
306	[CHARACTER_INTERNAL.MARIO] = {
307		[0x155] = "mario unknown 1",
308		[0x156] = "mario unknown 2",
309
310		[0x157] = "fireball",
311		[0x158] = "aerial fireball",
312		[0x159] = "cape",
313		[0x15A] = "aerial cape",
314		[0x15B] = "coin uppercut",
315		[0x15C] = "aerial coin uppercut",
316		[0x15D] = "spin punch",
317		[0x15E] = "aerial spin punch",
318	},
319	[CHARACTER_INTERNAL.BOWSER] = {
320		[0x155] = "fire breath start", -- (start)
321		[0x156] = "fire breath",
322		[0x157] = "fire breath finish", -- (finish)
323
324		[0x158] = "aerial fire breath start", -- (start)
325		[0x159] = "aerial fire breath",
326		[0x15A] = "aerial fire breath finish", -- (finish)
327
328		[0x15B] = "koopa klaw swipe",
329		[0x15C] = "koopa klaw grab",
330		[0x15D] = "koopa klaw bite",
331		[0x15E] = "koopa klaw hold",
332		[0x15F] = "koopa klaw throw headbutt",
333		[0x160] = "koopa klaw throw backwards",
334
335		[0x161] = "aerial koopa klaw swipe",
336		[0x162] = "aerial koopa klaw grab",
337		[0x163] = "aerial koopa klaw bite",
338		[0x164] = "aerial koopa klaw hold",
339		[0x165] = "aerial koopa klaw throw headbutt",
340		[0x166] = "aerial koopa klaw throw backwards",
341
342		[0x167] = "whirling fortress",
343		[0x168] = "aerial whirling fortress",
344
345		[0x169] = "bowser bomb start", -- (start)
346		[0x16A] = "bowser bomb",
347		[0x16B] = "bowser bomb end", -- (finish)
348	},
349	[CHARACTER_INTERNAL.LUIGI] = {
350		[0x155] = "fireball",
351		[0x156] = "aerial fireball",
352
353		[0x157] = "diving headbutt windup",
354		[0x158] = "diving headbutt charge",
355		[0x159] = "diving headbutt fly", -- Grounded "flying" (I think this isn't possible, but who knows!)
356		[0x15A] = "diving headbutt fall",
357		[0x15B] = "diving headbutt launch",
358		[0x15C] = "diving headbutt misfire",
359
360		[0x15D] = "aerial diving headbutt windup",
361		[0x15E] = "aerial diving headbutt charge",
362		[0x15F] = "aerial diving headbutt fly",
363		[0x160] = "aerial diving headbutt fall",
364		[0x161] = "aerial diving headbutt launch",
365		[0x162] = "areial diving headbutt misfire",
366
367		[0x163] = "coin uppercut",
368		[0x164] = "aerial coin uppercut",
369		[0x165] = "spin punch",
370		[0x166] = "aerial spin punch",
371	},
372	[CHARACTER_INTERNAL.PEACH] = {
373		[0x155] = "hover start", -- (start)
374		[0x156] = "hover finish", -- (finish)
375		[0x157] = "hover timeout", -- (timeout)
376
377		[0x158] = "peach unknown 1",
378		[0x159] = "peach unknown 2",
379
380		[0x160] = "pull turnip",
381		[0x161] = "aerial pull turnip", -- I think this isn't possible..
382
383		[0x162] = "peach bomber windup", -- (start)
384		[0x163] = "peach bomber finish", -- (finish)
385		[0x164] = "peach bomber explosion", -- (finish)
386
387		[0x165] = "aerial peach bomber windup", -- (start)
388		[0x166] = "aerial peach bomber finish", -- (finish)
389		[0x167] = "aerial peach bomber explosion", -- (bounce back)
390		[0x168] = "aerial peach bomber fly",
391
392		[0x169] = "parasol jump",
393		[0x16B] = "aerial parasol jump",
394
395		[0x16C] = "peach unknown 3",
396
397		[0x16D] = "toad",
398		[0x16E] = "toad recoil",
399		[0x16F] = "aerial toad",
400		[0x170] = "aerial toad recoil",
401
402		[0x171] = "parasol open start", -- (start)
403		[0x172] = "parasol open finish", -- (finish)
404	},
405	[CHARACTER_INTERNAL.YOSHI] = {
406		[0x155] = "egg shield windup",				-- GuardOn
407		[0x156] = "egg shield",						-- Guard
408		[0x157] = "egg unshield",					-- GuardOff
409		[0x158] = "egg shield off",					-- GuardSetOff
410		[0x159] = "egg shield reflect",				-- GuardReflect
411
412		[0x15A] = "tongue",
413		[0x15B] = "tongue grab",
414		[0x15D] = "lay egg",
415
416		[0x15F] = "aerial tongue",
417		[0x160] = "aerial tongue grab",
418		[0x161] = "aerial lay egg",
419		[0x162] = "aerial tongue pull",
420
421		[0x163] = "yoshi unknown 1",
422		[0x164] = "yoshi unknown 2",
423
424		[0x165] = "egg roll accelerate", -- (accelerate)
425		[0x166] = "egg roll turn", -- (turn)
426		[0x167] = "egg roll finish", -- (finish)
427		[0x168] = "egg roll windup", -- (start)
428		[0x169] = "egg roll airborn", -- (airborn)
429		[0x16A] = "egg roll collide", -- (collision)
430
431		[0x16B] = "yoshi unknown 3",
432
433		[0x16C] = "throw egg",
434		[0x16D] = "aerial throw egg",
435		[0x16E] = "yoshi bomb jump", -- (jump)
436		[0x16F] = "yoshi bomb slam", -- (finish)
437		[0x170] = "yoshi bomb fall",
438	},
439	[CHARACTER_INTERNAL.DK] = {
440		[0x155] = "DK unknown 1",
441		[0x156] = "DK unknown 2",
442		[0x157] = "DK unknown 3",
443		[0x158] = "DK unknown 4",
444		[0x159] = "DK unknown 5",
445		[0x160] = "DK unknown 6",
446		[0x161] = "DK unknown 7",
447		[0x162] = "DK unknown 8",
448		[0x163] = "DK unknown 9",
449		[0x164] = "DK unknown 10",
450		[0x165] = "DK unknown 11",
451		[0x166] = "DK unknown 12",
452		[0x167] = "DK unknown 13",
453		[0x168] = "DK unknown 14",
454		[0x169] = "DK unknown 15",
455		[0x170] = "DK unknown 16",
456
457		[0x171] = "giant punch start", -- (start)
458		[0x172] = "giant punch charge", -- (charge)
459		[0x174] = "giant punch release",
460		[0x175] = "giant PUNCH", -- (fully charged)
461
462		[0x176] = "aerial giant punch start", -- (start)
463		[0x177] = "aerial giant punch charge", -- (charge)
464		[0x179] = "aerial giant punch",
465		[0x17A] = "aerial giant PUNCH", -- (fully charged)
466
467		[0x17B] = "headbutt",
468		[0x17C] = "aerial headbutt",
469
470		[0x17D] = "spinning kong",
471		[0x17E] = "aerial spinning kong",
472
473		[0x17F] = "hand slap start", -- (start)
474		[0x180] = "hand slap",
475		[0x181] = "hand slap end", -- (finish)
476	},
477	[CHARACTER_INTERNAL.FOX] = {
478		[0x155] = "pull gun", -- (start)
479		[0x156] = "laser",
480		[0x157] = "holster gun", -- (finish)
481		[0x158] = "aerial pull gun", -- (start)
482		[0x159] = "aerial laser",
483		[0x15A] = "aerial holster gun", -- (finish)
484
485		[0x15B] = "illusion start", -- (start)
486		[0x15C] = "illusion",
487		[0x15D] = "illusion end", -- (finish)
488		[0x15E] = "aerial illusion", -- (start)
489		[0x15F] = "aerial illusion",
490		[0x160] = "aerial illusion", -- (finish)
491
492		[0x161] = "firefox start", -- (start)
493		[0x162] = "aerial firefox start", -- (start)
494		[0x163] = "firefox",
495		[0x164] = "aerial firefox",
496		[0x165] = "firefox end", -- (finish)
497		[0x166] = "aerial firefox end", -- (finish)
498		[0x167] = "firefox collision", -- (collision)
499
500		[0x168] = "shine start", -- (start)
501		[0x169] = "shine",
502		[0x16A] = "shine reflected", -- (reflect)
503		[0x16B] = "shine end", -- (finish)
504		[0x16C] = "shine turn", -- (turn)
505
506		[0x16D] = "aerial shine start", -- (start)
507		[0x16E] = "aerial shin",
508		[0x16F] = "aerial shine reflected", -- (reflect)
509		[0x170] = "aerial shin end", -- (finish)
510		[0x171] = "aerial shine turn", -- (turn)
511	},
512	[CHARACTER_INTERNAL.FALCO] = {
513		[0x155] = "pull gun", -- (start)
514		[0x156] = "laser",
515		[0x157] = "holster gun", -- (finish)
516		[0x158] = "aerial pull gun", -- (start)
517		[0x159] = "aerial laser",
518		[0x15A] = "aerial holster gun", -- (finish)
519
520		[0x15B] = "illusion start", -- (start)
521		[0x15C] = "illusion",
522		[0x15D] = "illusion end", -- (finish)
523		[0x15E] = "aerial illusion", -- (start)
524		[0x15F] = "aerial illusion",
525		[0x160] = "aerial illusion", -- (finish)
526
527		[0x161] = "firebird start", -- (start)
528		[0x162] = "aerial firebird start", -- (start)
529		[0x163] = "firebird",
530		[0x164] = "aerial firebird",
531		[0x165] = "firebird end", -- (finish)
532		[0x166] = "aerial firebird end", -- (finish)
533		[0x167] = "firebird collision", -- (collision)
534
535		[0x168] = "shine start", -- (start)
536		[0x169] = "shine",
537		[0x16A] = "shine reflected", -- (reflect)
538		[0x16B] = "shine end", -- (finish)
539		[0x16C] = "shine turn", -- (turn)
540
541		[0x16D] = "aerial shine start", -- (start)
542		[0x16E] = "aerial shine",
543		[0x16F] = "aerial shine reflected", -- (reflect)
544		[0x170] = "aerial shine end", -- (finish)
545		[0x171] = "aerial shine turn", -- (turn)
546	},
547	[CHARACTER_INTERNAL.DRMARIO] = {
548		[0x157] = "vitamin",
549		[0x158] = "aerial vitamin",
550
551		[0x159] = "super sheet",
552		[0x15A] = "aerial super sheet",
553
554		[0x15B] = "super jump punch",
555		[0x15C] = "aerial super jump punch",
556
557		[0x15D] = "Dr. Tornado",
558		[0x15E] = "aerial Dr. Tornado",
559	},
560	[CHARACTER_INTERNAL.NESS] = {
561		[0x15C] = "PK flash windup", -- (start)
562		[0x15D] = "PK flash charge", -- (charge)
563		[0x15E] = "PK flash explosion", -- (explode)
564		[0x15F] = "PK flash end", -- (finish)
565
566		[0x160] = "aerial PK flash windup", -- (start)
567		[0x161] = "aerial PK flash charge", -- (charge)
568		[0x162] = "aerial PK flash explosion", -- (explode)
569		[0x163] = "aerial PK flash end", -- (finish)
570
571		[0x164] = "PK fire",
572		[0x165] = "aerial PK fire",
573
574		[0x166] = "PK thunder start", -- (start)
575		[0x167] = "PK thunder",
576		[0x168] = "PK thunder end", -- (finish)
577		[0x169] = "PK thunder boosted", -- (self)
578
579		[0x16A] = "aerial PK thunder start", -- (start)
580		[0x16B] = "aerial PK thunder",
581		[0x16C] = "aerial PK thunder end", -- (finish)
582		[0x16D] = "aerial PK thunder boosted", -- (self)
583
584		[0x16E] = "PK thunder collision", -- (self)
585
586		[0x16F] = "PSI magnet windup", -- (start)
587		[0x170] = "PSI magnet",
588		[0x171] = "PSI magnet absorb", -- (absorb)
589		[0x172] = "PSI magnet end", -- (finish)
590		[0x174] = "aerial PSI magnet windup", -- (start)
591		[0x175] = "aerial PSI magnet",
592		[0x176] = "aerial PSI magnet absorb", -- (absorb)
593		[0x177] = "aerial PSI magnet end", -- (finish)
594	},
595	[CHARACTER_INTERNAL.POPO] = {
596		[0x155] = "ice shot",
597		[0x156] = "aerial ice shot",
598
599		[0x157] = "squall hammer", -- (main solo)
600		[0x158] = "squall hammer", -- (main)
601		[0x159] = "aerial squall hammer", -- (main solo)
602		[0x15A] = "aerial squall hammer", -- (main)
603		
604		[0x15B] = "belay windup", -- (main start)
605		[0x15C] = "belay",
606
607		[0x15E] = "fail belay", -- (no latch start on ground)
608		[0x15F] = "fail belay", -- (no latch start on ground finish)
609
610		[0x160] = "aerial belay", -- (main start)
611		[0x161] = "aerial belay",
612
613		[0x162] = "belay launch", -- (launched)
614
615		[0x163] = "fail belay", -- (no latch start)
616		[0x164] = "fail belay", -- (no latch finish)
617
618		[0x166] = "aerial blizzard",
619		[0x165] = "blizzard",
620
621		[0x167] = "partner squall hammer", -- (partner)
622		[0x168] = "partner aerial squall hammer", -- (partner)
623
624		[0x169] = "partner belay", -- (partner start)
625		[0x16D] = "partner belay",
626	},
627	[CHARACTER_INTERNAL.KIRBY] = {
628		[0x155] = "jump 1",
629		[0x156] = "jump 2",
630		[0x157] = "jump 3",
631		[0x158] = "jump 4",
632		[0x159] = "jump 5",
633
634		[0x160] = "kirby unknown 1",
635
636		[0x161] = "open mouth", -- (start)
637		[0x162] = "inhale",
638		[0x163] = "close mouth", -- (finish)
639		[0x164] = "pull in", -- (sucked in player)
640
641		[0x165] = "kirby unknown 2",
642
643		[0x166] = "swallow", -- (fully swallowed player)
644		[0x167] = "swallow stop", -- (sucked in player now walking)
645		[0x168] = "swallow start walk", -- (started to walk while holding a swallowed player)
646		[0x169] = "swallow walking", -- (walking while holding a swallowed player)
647		[0x16A] = "swallow slow", -- (slowing down to a stop while holding a swallowed player)
648		[0x16B] = "swallow turn", -- (turned around while holding a swallowed player)
649
650		[0x16C] = "inhale jump windup", -- (start)
651		[0x16D] = "inhale jump",
652		[0x16E] = "inhale land", -- (finish)
653
654		[0x16F] = "gain power", -- (spit out and gained their power)
655		[0x170] = "areial gain power",
656
657		[0x171] = "spit out", -- (spit out with star animation)
658		[0x172] = "areial spit out",
659
660		[0x173] = "aerial open mouth", -- (start)
661		[0x174] = "aerial inhale",
662		[0x175] = "aerial close mouth", -- (finish)
663
664		[0x176] = "aerial suck in", -- (sucked in player)
665		[0x165] = "kirby unknown 3",
666		[0x178] = "aerial inhale", -- (fully swallowed player)
667		[0x179] = "aerial gain power", -- (spit out and gained their power)
668		[0x17A] = "aerial inhale release", -- (spit out and gained their power)
669
670		[0x17B] = "kirby unknown 4",
671
672		[0x17C] = "aerial spit out", -- (spit out with star animation)
673
674		[0x17D] = "kirby unknown 5",
675
676		[0x17F] = "hammer",
677		[0x180] = "aerial hammer",
678
679		[0x181] = "final cutter windup", -- (start)
680		[0x182] = "final cutter jump",
681		[0x183] = "final cutter fall",
682		[0x184] = "final cutter slam", -- (finish)
683
684		[0x185] = "aerial final cutter windup", -- (start)
685		[0x186] = "aerial final cutter jump", -- (fall?)
686		[0x187] = "aerial final cutter fall", -- (fall?)
687		[0x188] = "aerial final cutter slam",
688
689		[0x189] = "stone", -- (start)
690		[0x18A] = "stone fall", -- (fall)
691		[0x18B] = "stone revert", -- (finish)
692
693		[0x18C] = "aerial stone", -- (start)
694		[0x18D] = "aerial stone fall", -- (fall)
695		[0x18E] = "aerial stone revert", -- (finish)
696
697		-- Mario
698		[0x18F] = "fireball",
699		[0x190] = "aerial fireball",
700
701		-- Link
702		[0x191] = "link bow ready",
703		[0x192] = "link bow fully charged",
704		[0x193] = "link bow shot",
705		[0x194] = "aerial link bow ready",
706		[0x195] = "aerial link bow fully charged",
707		[0x196] = "aerial link bow shot",
708
709		-- Samus
710		[0x197] = "samus pull gun",
711		[0x198] = "samus charging shot",
712		[0x199] = "samus charge complete",
713		[0x19A] = "samus charge shot",
714		[0x19B] = "aerial samus pull gun",
715		[0x19C] = "aerial samus charge shot",
716
717		-- Yoshi
718		[0x19D] = "yoshi tongue",
719		[0x19E] = "yoshi tongue grab",
720		[0x19F] = "kirby/yoshi unknown egg 1",
721		[0x1A0] = "lay egg",
722		[0x1A1] = "kirby/yoshi unknown egg 2",
723		[0x1A2] = "aerial yoshi tongue",
724		[0x1A3] = "aerial yoshi tongue grab",
725		[0x1A4] = "kirby/yoshi unknown egg 4",
726		[0x1A5] = "aerial yoshi lay egg",
727		[0x1A6] = "kirby/yoshi unknown egg 5",
728
729		-- Fox
730		[0x1A7] = "fox pull gun",
731		[0x1A8] = "fox laser",
732		[0x1A9] = "fox holster gun",
733		[0x1AA] = "aerial fox pull gun",
734		[0x1AB] = "aerial fox laser",
735		[0x1AC] = "aerial fox holster gun",
736
737		-- Pikachu
738		[0x1AD] = "pikachu thunder jolt",
739		[0x1AE] = "aerial pikachu thunder jolt",
740
741		-- Luigi
742		[0x1AF] = "green fireball",
743		[0x1B0] = "aerial green fireball",
744
745		-- Captain Falcon
746		[0x1B1] = "falcon punch",
747		[0x1B2] = "aerial falcon punch",
748
749		-- Ness
750		[0x1B3] = "PK flash windup", -- (start)
751		[0x1B4] = "PK flash charge", -- (charge)
752		[0x1B5] = "PK flash explosion", -- (explode)
753		[0x1B6] = "PK flash end", -- (finish)
754		[0x1B7] = "aerial PK flash windup", -- (start)
755		[0x1B8] = "aerial PK flash charge", -- (charge)
756		[0x1B9] = "aerial PK flash explosion", -- (explode)
757		[0x1BA] = "aerial PK flash end", -- (finish)
758
759		-- Bowser
760		[0x1BB] = "bowser breath inhale",
761		[0x1BC] = "bowser breathe fire",
762		[0x1BD] = "bowser breath stop",
763		[0x1BE] = "aerial breath inhale",
764		[0x1BF] = "aerial breathe fire",
765		[0x1C0] = "aerial breath stop",
766
767		-- Peach
768		[0x1C1] = "toad",
769		[0x1C2] = "toad recoil",
770		[0x1C3] = "aerial toad",
771		[0x1C4] = "aerial toad recoil",
772
773		-- Ice-Climbers
774		[0x1C5] = "ice shot",
775		[0x1C6] = "aerial ice shot",
776
777		-- Donkey Kong
778		[0x1C7] = "giant punch start",
779		[0x1C8] = "giant punch windup",
780		[0x1C9] = "giant punch charge",
781		[0x1CA] = "giant punch",
782		[0x1CB] = "giant PUNCH", -- (Fully charged)
783		[0x1CC] = "aerial giant punch windup",
784		[0x1CD] = "aerial giant punch charge",
785		[0x1CF] = "aerial giant punch",
786		[0x1D0] = "aerial giant PUNCH",
787
788		-- Zelda
789		[0x1D1] = "Nayru's love",
790		[0x1D2] = "aerial Nayru's love",
791
792		-- Sheik
793		[0x1D3] = "sheik needles ready",
794		[0x1D4] = "sheik needles charge",
795		[0x1D5] = "sheik needles stop",
796		[0x1D6] = "sheik needles",
797		[0x1D7] = "aerial sheik needles ready",
798		[0x1D8] = "aerial sheik needles charge",
799		[0x1D9] = "aerial sheik needles stop",
800		[0x1DA] = "aerial sheik needles",
801
802		-- Jigglypuff
803		[0x1DB] = "jigglypuff rollout prepare",
804		[0x1DC] = "jigglypuff rollout start",
805		[0x1DD] = "jigglypuff rollout windup",
806		[0x1DE] = "jigglypuff rollout charge",
807		[0x1DF] = "jigglypuff rollout release",
808		[0x1E0] = "jigglypuff rollout turn",
809		[0x1E1] = "jigglypuff rollout skid stop",
810		[0x1E2] = "jigglypuff rollout accelerate",
811
812		[0x1E3] = "aerial jigglypuff rollout prepare",
813		[0x1E4] = "aerial jigglypuff rollout start",
814		[0x1E5] = "aerial jigglypuff rollout windup",
815		[0x1E6] = "aerial jigglypuff rollout charge",
816		[0x1E7] = "aerial jigglypuff rollout release",
817		[0x1E8] = "aerial jigglypuff rollout turn",
818		[0x1E9] = "aerial jigglypuff rollout skid stop",
819		[0x1EA] = "aerial jigglypuff rollout accelerate",
820
821		[0x1EB] = "jigglypuff rollout collision",
822
823		-- Marth
824		[0x1EC] = "marth shield breaker ready",
825		[0x1ED] = "marth shield breaker charge",
826		[0x1EE] = "marth shield breaker release",
827		[0x1EF] = "marth shield breaker max power",
828
829		[0x1F0] = "aerial marth shield breaker ready",
830		[0x1F1] = "aerial marth shield breaker charge",
831		[0x1F2] = "aerial marth shield breaker release",
832		[0x1F3] = "aerial marth shield breaker max power",
833
834		-- Mewtwo
835		[0x1F4] = "mewtwo shadow ball prepare",
836		[0x1F5] = "mewtwo shadow ball ready",
837		[0x1F6] = "mewtwo shadow ball charge",
838		[0x1F7] = "mewtwo shadow ball stop",
839		[0x1F8] = "mewtwo shadow ball release",
840
841		[0x1F9] = "aerial mewtwo shadow ball prepare",
842		[0x1FA] = "aerial mewtwo shadow ball ready",
843		[0x1FB] = "aerial mewtwo shadow ball charge",
844		[0x1FC] = "aerial mewtwo shadow ball stop",
845		[0x1FD] = "aerial mewtwo shadow ball release",
846
847		-- Mr. Game&Watch
848		[0x1FE] = "game&watch bacon",
849		[0x1FF] = "aerial game&watch bacon",
850
851		-- Dr. Mario
852		[0x200] = "vitamin",
853		[0x201] = "aerial vitamin",
854
855		-- Young Link
856		[0x202] = "young link bow ready",
857		[0x203] = "young link bow fully charge",
858		[0x204] = "young link bow shot",
859		[0x205] = "aerial young link bow ready",
860		[0x206] = "aerial young link bow fully charge",
861		[0x207] = "aerial young link bow shot",
862
863		-- Falco
864		[0x208] = "falco pull gun",
865		[0x209] = "falco laser",
866		[0x20A] = "falco holster gun",
867		[0x20B] = "aerial falco pull gun",
868		[0x20C] = "aerial falco laser",
869		[0x20D] = "aerial falco holster gun",
870
871		-- pichu
872		[0x20E] = "pichu thunder jolt",
873		[0x20F] = "aerial pichu thunder jolt",
874
875		-- Ganondorf
876		[0x210] = "warlock punch",
877		[0x211] = "aerial warlock punch",
878
879		-- Roy
880		[0x212] = "roy flare blade ready",
881		[0x213] = "roy flare blade charge",
882		[0x214] = "roy flare blade release",
883		[0x215] = "roy flare blade max power",
884	
885		[0x216] = "aerial roy flare blade ready",
886		[0x217] = "aerial roy flare blade charge",
887		[0x218] = "aerial roy flare blade release",
888		[0x219] = "aerial roy flare blade max power",
889	},
890	[CHARACTER_INTERNAL.SAMUS] = {
891		[0x155] = "samus unknown 1",
892		[0x156] = "bomb jump",
893		[0x157] = "pull gun",
894		[0x158] = "charging shot",
895		[0x159] = "charge complete",
896		[0x15A] = "charge shot",
897		[0x15B] = "aerial pull gun",
898		[0x15C] = "aerial charge shot",
899		[0x15D] = "homing missile",
900		[0x15E] = "power missile",
901		[0x15F] = "aerial homing missile",
902		[0x160] = "aerial power missile",
903		[0x161] = "screw attack",
904		[0x162] = "aerial screw attack",
905		[0x163] = "bomb bounce",
906		[0x164] = "bomb",
907	},
908	[CHARACTER_INTERNAL.ZELDA] = {
909		[0x155] = "Nayru's love",
910		[0x156] = "aerial Nayru's love",
911
912		[0x157] = "Din's fire ready",
913		[0x158] = "Din's fire end",
914		[0x159] = "Din's fire explosion",
915
916		[0x15A] = "aerial Din's fire ready",
917		[0x15B] = "aerial Din's fire end",
918		[0x15C] = "aerial Din's fire explosion",
919
920		[0x15D] = "Farore's wind cast",
921		[0x15E] = "Farore's wind",
922		[0x15F] = "Farore's wind end",
923
924		[0x160] = "aerial Farore's wind cast",
925		[0x161] = "aerial Farore's wind",
926		[0x162] = "aerial Farore's wind end",
927
928		[0x163] = "transform sheik",
929		[0x164] = "awaken",
930		[0x165] = "aerial transform sheik",
931		[0x166] = "aerial awaken",
932	},
933	[CHARACTER_INTERNAL.SHEIK] = {
934		[0x155] = "sheik needles ready",
935		[0x156] = "sheik needles charge",
936		[0x157] = "sheik needles stop",
937		[0x158] = "sheik needles",
938
939		[0x159] = "aerial sheik needles ready",
940		[0x15A] = "aerial sheik needles charge",
941		[0x15B] = "aerial sheik needles stop",
942		[0x15C] = "aerial sheik needles",
943
944		[0x15D] = "whip cast",
945		[0x15E] = "whip",
946		[0x15F] = "whip end",
947
948		[0x160] = "aerial whip cast",
949		[0x161] = "aerial whip",
950		[0x162] = "aerial whip end",
951
952		[0x163] = "vanish cast",
953		[0x164] = "vanish",
954		[0x165] = "vanish end",
955
956		[0x166] = "aerial vanish cast",
957		[0x167] = "aerial vanish",
958		[0x168] = "aerial vanish end",
959
960		[0x169] = "transform zelda",
961		[0x16A] = "awaken",
962		[0x16B] = "aerial transform zelda",
963		[0x16C] = "aerial awaken",
964	},
965	[CHARACTER_INTERNAL.LINK] = {
966		[0x155] = "forward smash (link)",
967		[0x156] = "link unknown 1",
968		[0x157] = "link unknown 2",
969
970		[0x158] = "bow ready",
971		[0x159] = "bow fully charge",
972		[0x15A] = "bow shot",
973
974		[0x15B] = "aerial bow ready",
975		[0x15C] = "aerial bow fully charge",
976		[0x15D] = "aerial bow shot",
977
978		[0x15E] = "boomerang",
979		[0x15F] = "boomerang catch",
980		[0x160] = "boomerang empty handed",
981
982		[0x161] = "aerial boomerang",
983		[0x162] = "aerial boomerang catch",
984		[0x163] = "aerial boomerang empty handed",
985
986		[0x164] = "hero spin",
987		[0x165] = "aerial hero spin",
988
989		[0x166] = "bomb pull",
990		[0x167] = "aerial bomb pull",
991	},
992	[CHARACTER_INTERNAL.YOUNGLINK] = {
993		[0x155] = "forward smash (younglink)",
994		[0x156] = "younglink unknown 1",
995		[0x157] = "younglink unknown 2",
996
997		[0x158] = "bow ready",
998		[0x159] = "bow fully charge",
999		[0x15A] = "bow shot",
1000
1001		[0x15B] = "aerial bow ready",
1002		[0x15C] = "aerial bow fully charge",
1003		[0x15D] = "aerial bow shot",
1004
1005		[0x15E] = "boomerang",
1006		[0x15F] = "boomerang catch",
1007		[0x160] = "boomerang empty handed",
1008
1009		[0x161] = "aerial boomerang",
1010		[0x162] = "aerial boomerang catch",
1011		[0x163] = "aerialboomerang empty handed",
1012
1013		[0x164] = "hero spin",
1014		[0x165] = "aerial hero spin",
1015
1016		[0x166] = "bomb pull",
1017		[0x167] = "aerial bomb pull",
1018	},
1019	[CHARACTER_INTERNAL.PICHU] = {
1020		[0x155] = "thunder jolt",
1021		[0x156] = "aerial thunder jolt",
1022
1023		[0x157] = "skull bash cast",
1024		[0x158] = "skull bash charge",
1025		[0x159] = "skull bash release",
1026		[0x15A] = "skull bash end",
1027
1028		[0x15B] = "aerial skull bash prepare",
1029		[0x15C] = "aerial skull bash cast",
1030		[0x15D] = "aerial skull bash charge",
1031		[0x15E] = "aerial skull bash fly",
1032
1033		[0x15F] = "skull bash hit",
1034
1035		[0x160] = "aerial skull bash release",
1036
1037		[0x161] = "quick attack cast",
1038		[0x162] = "quick attack",
1039		[0x163] = "quick attack end",
1040
1041		[0x164] = "aerial quick attack cast",
1042		[0x165] = "aerial quick attack",
1043		[0x166] = "aerial quick attack end",
1044
1045		[0x167] = "thunder cast",
1046		[0x168] = "thunder",
1047		[0x169] = "thunder self",
1048		[0x16A] = "thunder end",
1049		[0x16B] = "aerial thunder cast",
1050		[0x16C] = "aerial thunder",
1051		[0x16D] = "aerial thunder self",
1052		[0x16E] = "aerial thunder end",
1053	},
1054	[CHARACTER_INTERNAL.PIKACHU] = {
1055		[0x155] = "thunder jolt",
1056		[0x156] = "aerial thunder jolt",
1057
1058		[0x157] = "skull bash cast",
1059		[0x158] = "skull bash charge",
1060		[0x159] = "skull bash release",
1061		[0x15A] = "skull bash end",
1062
1063		[0x15B] = "aerial skull bash prepare",
1064		[0x15C] = "aerial skull bash cast",
1065		[0x15D] = "aerial skull bash charge",
1066		[0x15E] = "aerial skull bash fly",
1067
1068		[0x15F] = "skull bash hit",
1069
1070		[0x160] = "aerial skull bash release",
1071
1072		[0x161] = "quick attack cast",
1073		[0x162] = "quick attack",
1074		[0x163] = "quick attack end",
1075
1076		[0x164] = "aerial quick attack cast",
1077		[0x165] = "aerial quick attack",
1078		[0x166] = "aerial quick attack end",
1079
1080		[0x167] = "thunder cast",
1081		[0x168] = "thunder",
1082		[0x169] = "thunder self",
1083		[0x16A] = "thunder end",
1084		[0x16B] = "aerial thunder cast",
1085		[0x16C] = "aerial thunder",
1086		[0x16D] = "aerial thunder self",
1087		[0x16E] = "aerial thunder end",
1088	},
1089	[CHARACTER_INTERNAL.JIGGLYPUFF] = {
1090		[0x155] = "jump 1",
1091		[0x156] = "jump 2",
1092		[0x157] = "jump 3",
1093		[0x158] = "jump 4",
1094		[0x159] = "jump 5",
1095
1096		[0x15A] = "rollout prepare",
1097		[0x15B] = "rollout start",
1098		[0x15C] = "rollout windup",
1099		[0x15D] = "rollout charge",
1100		[0x15E] = "rollout release",
1101		[0x15F] = "rollout turn",
1102		[0x160] = "rollout skid stop",
1103		[0x161] = "rollout accelerate",
1104
1105		[0x162] = "aerial rollout prepare",
1106		[0x163] = "aerial rollout start",
1107		[0x164] = "aerial rollout windup",
1108		[0x165] = "aerial rollout charge",
1109		[0x166] = "aerial rollout release",
1110		[0x167] = "aerial rollout turn",
1111		[0x168] = "aerial rollout skid stop",
1112		[0x169] = "aerial rollout accelerate",
1113
1114		[0x16A] = "rollout collision",
1115
1116		[0x16B] = "double slap",
1117		[0x16C] = "aerial double slap",
1118
1119		[0x16D] = "sing",
1120		[0x16E] = "aerial sing",
1121
1122		[0x170] = "jigglypuff unknown 1",
1123		[0x171] = "jigglypuff unknown 2",
1124		[0x172] = "jigglypuff unknown 3",
1125
1126		[0x173] = "rest",
1127		[0x174] = "aerial rest",
1128	},
1129	[CHARACTER_INTERNAL.MEWTWO] = {
1130		[0x155] = "shadow ball prepare",
1131		[0x156] = "shadow ball ready",
1132		[0x157] = "shadow ball charge",
1133		[0x158] = "shadow ball stop",
1134		[0x159] = "shadow ball release",
1135
1136		[0x15A] = "aerial shadow ball prepare",
1137		[0x15B] = "aerial shadow ball ready",
1138		[0x15C] = "aerial shadow ball charge",
1139		[0x15D] = "aerial shadow ball stop",
1140		[0x15E] = "aerial shadow ball release",
1141
1142		[0x15F] = "confusion",
1143		[0x160] = "aerial confusion",
1144
1145		[0x161] = "teleport cast",
1146		[0x162] = "teleport",
1147		[0x163] = "teleport end",
1148
1149		[0x164] = "aerial teleport cast",
1150		[0x165] = "aerial teleport",
1151		[0x166] = "aerial teleport end",
1152
1153		[0x167] = "disable",
1154		[0x168] = "aerial disable",
1155	},
1156	[CHARACTER_INTERNAL.MRGAMEWATCH] = {
1157		[0x155] = "jab 1",
1158		[0x156] = "jab 2",
1159		[0x157] = "jab 3",
1160		[0x158] = "jab finish",
1161		[0x159] = "game&watch unknown 1",
1162		[0x159] = "down tilt (G&W)",
1163		[0x15A] = "forward smash (G&W)",
1164		[0x15B] = "neutral air (G&W)",
1165		[0x15C] = "foward air (G&W)",
1166		[0x15D] = "up air (G&W)",
1167		[0x15E] = "landing neutral air (G&W)",
1168		[0x15F] = "landing foward air (G&W)",
1169		[0x160] = "landing up air (G&W)",
1170
1171		[0x161] = "bacon",
1172		[0x162] = "aerial bacon",
1173
1174		[0x163] = "number 1",
1175		[0x164] = "number 2",
1176		[0x165] = "number 3",
1177		[0x166] = "number 4",
1178		[0x167] = "number 5",
1179		[0x168] = "number 6",
1180		[0x169] = "number 7",
1181		[0x16A] = "number 8",
1182		[0x16B] = "number 9",
1183		[0x16C] = "aerial number 1",
1184		[0x16D] = "aerial number 2",
1185		[0x16E] = "aerial number 3",
1186		[0x16F] = "aerial number 4",
1187		[0x170] = "aerial number 5",
1188		[0x171] = "aerial number 6",
1189		[0x172] = "aerial number 7",
1190		[0x173] = "aerial number 8",
1191		[0x174] = "aerial number 9",
1192
1193		[0x175] = "fire jump",
1194		[0x176] = "aerial fire jump",
1195
1196		[0x177] = "oil panic empty",
1197		[0x178] = "oil panic 1/3",
1198		[0x179] = "oil panic 2/3",
1199		[0x17A] = "aerial oil panic",
1200		[0x17B] = "aerial oil panic 1/3",
1201		[0x17C] = "aerial oil panic 2/3",
1202		[0x17D] = "oil panic countered",
1203		[0x17E] = "aerial oil panic countered",
1204	},
1205	[CHARACTER_INTERNAL.MARTH] = {
1206		[0x155] = "shield breaker ready",
1207		[0x156] = "shield breaker charge",
1208		[0x157] = "shield breaker release",
1209		[0x158] = "shield breaker max power",
1210
1211		[0x159] = "aerial shield breaker ready",
1212		[0x15A] = "aerial shield breaker charge",
1213		[0x15B] = "aerial shield breaker release",
1214		[0x15C] = "aerial shield breaker max power",
1215
1216		[0x15D] = "sword dance 1",
1217		[0x15E] = "sword dance 2",
1218		[0x15F] = "sword dance 3",
1219		[0x160] = "sword dance 4",
1220		[0x161] = "sword dance 5",
1221		[0x162] = "sword dance 6",
1222		[0x163] = "sword dance 7",
1223		[0x164] = "sword dance 8",
1224		[0x165] = "sword dance 9",
1225
1226		[0x166] = "aerial sword dance 1",
1227		[0x167] = "aerial sword dance 2",
1228		[0x168] = "aerial sword dance 3",
1229		[0x169] = "aerial sword dance 4",
1230		[0x16A] = "aerial sword dance 5",
1231		[0x16B] = "aerial sword dance 6",
1232		[0x16C] = "aerial sword dance 7",
1233		[0x16D] = "aerial sword dance 8",
1234		[0x16E] = "aerial sword dance 9",
1235
1236		[0x16F] = "dolphin slash",
1237		[0x170] = "aerial dolphin slash",
1238		[0x171] = "counter",
1239		[0x172] = "countered",
1240		[0x173] = "aerial counter",
1241		[0x174] = "aerial countered",
1242	},
1243	[CHARACTER_INTERNAL.ROY] = {
1244		[0x155] = "flare blade ready",
1245		[0x156] = "flare blade charge",
1246		[0x157] = "flare blade release",
1247		[0x158] = "flare blade max power",
1248
1249		[0x159] = "aerial flare blade ready",
1250		[0x15A] = "aerial flare blade charge",
1251		[0x15B] = "aerial flare blade release",
1252		[0x15C] = "aerial flare blade max power",
1253
1254		[0x15D] = "double-edged dance 1",
1255		[0x15E] = "double-edged dance 2",
1256		[0x15F] = "double-edged dance 3",
1257		[0x160] = "double-edged dance 4",
1258		[0x161] = "double-edged dance 5",
1259		[0x162] = "double-edged dance 6",
1260		[0x163] = "double-edged dance 7",
1261		[0x164] = "double-edged dance 8",
1262		[0x165] = "double-edged dance 9",
1263
1264		[0x166] = "aerial double-edged dance 1",
1265		[0x167] = "aerial double-edged dance 2",
1266		[0x168] = "aerial double-edged dance 3",
1267		[0x169] = "aerial double-edged dance 4",
1268		[0x16A] = "aerial double-edged dance 5",
1269		[0x16B] = "aerial double-edged dance 6",
1270		[0x16C] = "aerial double-edged dance 7",
1271		[0x16D] = "aerial double-edged dance 8",
1272		[0x16E] = "aerial double-edged dance 9",
1273
1274		[0x16F] = "blazer",
1275		[0x170] = "aerial blazer",
1276		[0x171] = "counter",
1277		[0x172] = "countered",
1278		[0x173] = "aerial counter",
1279		[0x174] = "aerial countered",
1280	}
1281}
1282character_states[CHARACTER_INTERNAL.NANA] = character_states[CHARACTER_INTERNAL.POPO]
1283
1284local player_states = {
1285	[0x000] = "dead (down)",				-- DeadDown
1286	[0x001] = "dead (left)",				-- DeadLeft
1287	[0x002] = "dead (right)",				-- DeadRight
1288	[0x003] = "dead (up)",					-- DeadUp
1289	[0x004] = "dead (star)",				-- DeadUpStar
1290	[0x005] = "dead (star)",				-- DeadUpStarIce
1291	[0x006] = "dead (up, fall)",			-- DeadUpFall
1292	[0x007] = "dead (up, fall, hit camera)",-- DeadUpFallHitCamera
1293	[0x008] = "dead (up, fall, hit camera)",-- DeadUpFallHitCameraFlat
1294	[0x009] = "dead (up, fall)",			-- DeadUpFallIce
1295	[0x00A] = "dead (up, fall, hit camera)",-- DeadUpFallHitCameraIce
1296	[0x00B] = "dead (sleep)",				-- Sleep
1297
1298	[0x00C] = "spawning",					-- Rebirth
1299	[0x00D] = "spawn platform",				-- RebirthWait
1300	[0x00E] = "wait",						-- Wait
1301
1302	[0x00F] = "walk slow",					-- WalkSlow
1303	[0x010] = "walk",						-- WalkMiddle
1304	[0x011] = "walk fast",					-- WalkFast
1305	[0x012] = "turn",						-- Turn
1306	[0x013] = "turn fast",					-- TurnRun
1307	[0x014] = "dash",						-- Dash
1308
1309	[0x015] = "run",						-- run
1310	[0x016] = "run direct",					-- RunDirect
1311	[0x017] = "run brake",					-- RunBrake
1312
1313	[0x018] = "jump bend knee",				-- KneeBend
1314	[0x019] = "jump forward",				-- JumpF
1315	[0x01A] = "jump backward",				-- JumpB
1316	[0x01B] = "jump areial forward",		-- JumpAerialF
1317	[0x01C] = "jump areial backward",		-- JumpAerialB
1318
1319	[0x01D] = "fall",						-- Fall
1320	[0x01E] = "fall forward",				-- FallF
1321	[0x01F] = "fall backward",				-- FallB
1322	[0x020] = "fall areial",				-- FallAerial
1323	[0x021] = "fall areial forward",		-- FallAerialF
1324	[0x022] = "fall areial backward",		-- FallAerialB
1325	[0x023] = "fall special",				-- FallSpecial
1326	[0x024] = "fall special forward",		-- FallSpecialF
1327	[0x025] = "fall special backward",		-- FallSpecialB
1328	[0x026] = "fall damage",				-- DamageFall
1329
1330	[0x027] = "crouch",						-- Squat
1331	[0x028] = "courching",					-- SquatWait
1332	[0x029] = "stand up",					-- SquatRv
1333
1334	[0x02A] = "landing",					-- Landing
1335	[0x02B] = "landing fall special",		-- LandingFallSpecial
1336
1337	[0x02C] = "jab 1",						-- Attack11
1338	[0x02D] = "jab 2",						-- Attack12
1339	[0x02E] = "jab 3",						-- Attack13
1340	[0x02F] = "flurry punch windup",		-- Attack100Start
1341	[0x030] = "flurry punch",				-- Attack100Loop
1342	[0x031] = "flurry punch end",			-- Attack100End
1343	[0x032] = "dash attack",				-- AttackDash
1344	[0x033] = "forward tilt (up-angle)",	-- AttackS3Hi
1345	[0x034] = "forward tilt (up-angle)",	-- AttackS3HiS
1346	[0x035] = "forward tilt",				-- AttackS3S
1347	[0x036] = "forward tilt (down-angle)",	-- AttackS3LwS
1348	[0x037] = "forward tilt (down-angle)",	-- AttackS3Lw
1349	[0x038] = "up tilt",					-- AttackHi3
1350	[0x039] = "down tilt",					-- AttackLw3
1351	[0x03A] = "forward smash (up-angle)",	-- AttackS4Hi
1352	[0x03B] = "forward smash (up-angle)",	-- AttackS4HiS
1353	[0x03C] = "forward smash",				-- AttackS4S
1354	[0x03D] = "forward smash (down-angle)",	-- AttackS4LwS
1355	[0x03E] = "forward smash (down-angle)",	-- AttackS4Lw
1356	[0x03F] = "up smash",					-- AttackHi4
1357	[0x040] = "down smash",					-- AttackLw4
1358	[0x041] = "neutral air",				-- AttackAirN
1359	[0x042] = "forward air",				-- AttackAirF
1360	[0x043] = "back air",					-- AttackAirB
1361	[0x044] = "up air",						-- AttackAirHi
1362	[0x045] = "down air",					-- AttackAirLw
1363
1364	[0x046] = "landing neutral air",		-- LandingAirN
1365	[0x047] = "landing forward air",		-- LandingAirF
1366	[0x048] = "landing back air",			-- LandingAirB
1367	[0x049] = "landing air high",			-- LandingAirHi
1368	[0x04A] = "landing air low",			-- LandingAirLw
1369
1370	[0x04B] = "damage high 1",				-- DamageHi1
1371	[0x04C] = "damage high 2",				-- DamageHi2
1372	[0x04D] = "damage high 3",				-- DamageHi3
1373	[0x04E] = "damage neutral 3",			-- DamageN1
1374	[0x04F] = "damage neutral 3",			-- DamageN2
1375	[0x050] = "damage neutral 3",			-- DamageN3
1376	[0x051] = "damage low 1",				-- DamageLw1
1377	[0x052] = "damage low 2",				-- DamageLw2
1378	[0x053] = "damage low 3",				-- DamageLw3
1379	[0x054] = "damage air 1",				-- DamageAir1
1380	[0x055] = "damage air 2",				-- DamageAir2
1381	[0x056] = "damage air 3",				-- DamageAir3
1382	[0x057] = "damage fly high",			-- DamageFlyHi
1383	[0x058] = "damage fly neutral",			-- DamageFlyN
1384	[0x059] = "damage fly low",				-- DamageFlyLw
1385	[0x05A] = "damage fly top",				-- DamageFlyTop
1386	[0x05B] = "damage fly roll",			-- DamageFlyRoll
1387
1388	-- Items
1389	[0x05C] = "light item pickup",			-- LightGet
1390	[0x05D] = "heavy item pickup",			-- HeavyGet
1391
1392	[0x05E] = "throw item forward",			-- LightThrowF
1393	[0x05F] = "throw item backward",		-- LightThrowB
1394	[0x060] = "throw item up",				-- LightThrowHi
1395	[0x061]	= "throw item down",			-- LightThrowLw
1396	[0x062]	= "throw item dash",			-- LightThrowDash
1397	[0x063]	= "drop item",					-- LightThrowDrop
1398	[0x064]	= "areial throw item forward",	-- LightThrowAirF
1399	[0x065]	= "areial throw item backward",	-- LightThrowAirB
1400	[0x066]	= "areial throw item up",		-- LightThrowAirHi
1401	[0x067]	= "areial throw item down",		-- LightThrowAirLw
1402
1403	[0x068]	= "throw heavy item forward",	-- HeavyThrowF
1404	[0x069]	= "throw heavy item backward",	-- HeavyThrowB
1405	[0x06A]	= "throw heavy item up",		-- HeavyThrowHi
1406	[0x06B]	= "throw heavy item down",		-- HeavyThrowLw
1407
1408	[0x06C]	= "throw light item forward",	-- LightThrowF4
1409	[0x06D]	= "throw light item backward",	-- LightThrowB4
1410	[0x06E]	= "throw light item up",		-- LightThrowHi4
1411	[0x06F]	= "throw light item down",		-- LightThrowLw4
1412	[0x070]	= "areial throw light item forward",	-- LightThrowAirF4
1413	[0x071]	= "areial throw light item backward",	-- LightThrowAirB4
1414	[0x072]	= "areial throw light item up",		-- LightThrowAirHi4
1415	[0x073]	= "areial throw light item down",		-- LightThrowAirLw4
1416
1417	[0x074]	= "throw heavy item forward",	-- HeavyThrowF4
1418	[0x075]	= "throw heavy item backward",	-- HeavyThrowB4
1419	[0x076]	= "throw heavy item up",		-- HeavyThrowHi4
1420	[0x077]	= "throw heavy item down",		-- HeavyThrowLw4
1421
1422	[0x078]	= "sword swing 1",				-- SwordSwing1
1423	[0x079]	= "sword swing 2",				-- SwordSwing3
1424	[0x07A]	= "sword swing 3",				-- SwordSwing4
1425	[0x07B]	= "sword swing dash",			-- SwordSwingDash
1426
1427	[0x07C]	= "bat swing 1",				-- BatSwing1
1428	[0x07D]	= "bat swing 2",				-- BatSwing3
1429	[0x07E]	= "bat swing 3",				-- BatSwing4
1430	[0x07F]	= "bat swing dash",				-- BatSwingDash
1431
1432	[0x080]	= "parasol swing 1",			-- ParasolSwing1
1433	[0x081]	= "parasol swing 2",			-- ParasolSwing3
1434	[0x082]	= "parasol swing 3",			-- ParasolSwing4
1435	[0x083]	= "parasol swing dash",			-- ParasolSwingDash
1436
1437	[0x084]	= "fan swing 1",				-- HarisenSwing1
1438	[0x085]	= "fan swing 2",				-- HarisenSwing3
1439	[0x086]	= "fan swing 3",				-- HarisenSwing4
1440	[0x087]	= "fan swing dash",				-- HarisenSwingDash
1441
1442	[0x088]	= "star rod swing 1",			-- StarRodSwing1
1443	[0x089]	= "star rod swing 2",			-- StarRodSwing3
1444	[0x08A]	= "star rod swing 3",			-- StarRodSwing4
1445	[0x08B]	= "star rod swing dash",		-- StarRodSwingDash
1446
1447	[0x08C]	= "lip-stick swing 1",			-- LipStickSwing1
1448	[0x08D]	= "lip-stick swing 2",			-- LipStickSwing3
1449	[0x08E]	= "lip-stick swing 3",			-- LipStickSwing4
1450	[0x08F]	= "lip-stick swing dash",		-- LipStickSwingDash
1451
1452	[0x090]	= "parasol open",				-- ItemParasolOpen
1453	[0x091]	= "parasol fall",				-- ItemParasolFall
1454	[0x092]	= "parasol special",			-- ItemParasolFallSpecial
1455	[0x093]	= "parasol damage fall",		-- ItemParasolDamageFall
1456
1457	[0x094] = "gun shoot",					-- LGunShoot
1458	[0x095] = "aerial gun shoot",			-- LGunShootAir
1459	[0x096] = "empty gun shoot",			-- LGunShootEmpty
1460	[0x097] = "aerial empty gun shoot",		-- LGunShootAirEmpty
1461
1462	[0x098] = "fire flower shoot",			-- FireFlowerShoot
1463	[0x099] = "areial fire flower shoot",	-- FireFlowerShootAir
1464
1465	[0x09A] = "screw attack",							-- ItemScrew
1466	[0x09B] = "areial screw attack",					-- ItemScrewAir
1467	[0x09C] = "screw attack damage",					-- DamageScrew
1468	[0x09D] = "areial screw attack damage",				-- DamageScrewAir
1469	[0x09E] = "super scope start",						-- ItemScopeStart
1470	[0x09F] = "super scope rapid fire",					-- ItemScopeRapid
1471	[0x0A0] = "super scope fire",						-- ItemScopeFire
1472	[0x0A1] = "super scope end",						-- ItemScopeEnd
1473	[0x0A2] = "areial super scope start",				-- ItemScopeAirStart
1474	[0x0A3] = "areial super scope rapid fire",			-- ItemScopeAirRapid
1475	[0x0A4] = "areial super scope fire",				-- ItemScopeAirFire
1476	[0x0A5] = "areial super scope end",					-- ItemScopeAirEnd
1477	[0x0A6] = "super scope start empty",				-- ItemScopeStartEmpty
1478	[0x0A7] = "super scope rapid fire empty",			-- ItemScopeRapidEmpty
1479	[0x0A8] = "super scope fire empty",					-- ItemScopeFireEmpty
1480	[0x0A9] = "super scope end empty",					-- ItemScopeEndEmpty
1481	[0x0AA] = "areial super scope start empty",			-- ItemScopeAirStartEmpty
1482	[0x0AB] = "areial super scope rapid fire empty",	-- ItemScopeAirRapidEmpty
1483	[0x0AC] = "areial super scope fire empty",			-- ItemScopeAirFireEmpty
1484	[0x0AD] = "areial super scope end empty",			-- ItemScopeAirEndEmpty
1485
1486	[0x0AE] = "lift idle",					-- LiftWait
1487	[0x0AF] = "lift walk 1",				-- LiftWalk1
1488	[0x0B0] = "lift walk 2",				-- LiftWalk2
1489	[0x0B1] = "lift turn",					-- LiftTurn
1490
1491	-- Shielding
1492	[0x0B2] = "shield windup",				-- GuardOn
1493	[0x0B3] = "shield",						-- Guard
1494	[0x0B4] = "unshield",					-- GuardOff
1495	[0x0B5] = "shield off",					-- GuardSetOff
1496	[0x0B6] = "shield reflect",				-- GuardReflect
1497
1498	-- Knocked down animations
1499	[0x0B7] = "down",						-- DownBoundU
1500	[0x0B8] = "down",						-- DownWaitU
1501	[0x0B9] = "down damaged",				-- DownDamageU
1502	[0x0BA] = "down stand up",				-- DownStandU
1503	[0x0BB] = "down attack",				-- DownAttackU
1504	[0x0BC] = "down roll forward",			-- DownFowardU
1505	[0x0BD] = "down roll backward",			-- DownBackU
1506	[0x0BE] = "down spot?",					-- DownSpotU
1507	[0x0BF] = "down",						-- DownBoundD
1508	[0x0C0] = "down idle",					-- DownWaitD
1509	[0x0C1] = "down damaged",				-- DownDamageD
1510	[0x0C2] = "down and standing",			-- DownStandD
1511	[0x0C3] = "down attack",				-- DownAttackD
1512	[0x0C4] = "down roll forward",			-- DownFowardD
1513	[0x0C5] = "down roll backwards",		-- DownBackD
1514	[0x0C6] = "down spot?",					-- DownSpotD
1515
1516	-- ???
1517	[0x0C7] = "Passive",					-- Passive
1518	[0x0C8] = "PassiveStandF",				-- PassiveStandF
1519	[0x0C9] = "PassiveStandB",				-- PassiveStandB
1520	[0x0CA] = "PassiveWall",				-- PassiveWall
1521	[0x0CB] = "PassiveWallJump",			-- PassiveWallJump
1522	[0x0CC] = "PassiveCeil",				-- PassiveCeil
1523
1524	-- Shield breaking
1525	[0x0CD] = "shield break pop",			-- ShieldBreakFly
1526	[0x0CE] = "shield break falling",		-- ShieldBreakFall
1527	[0x0CF] = "shield break fall down",		-- ShieldBreakDownU
1528	[0x0D0] = "shield break fall down",		-- ShieldBreakDownD
1529	[0x0D1] = "shield break stand",			-- ShieldBreakStandU
1530	[0x0D2] = "shield break stand",			-- ShieldBreakStandD
1531	[0x0D3] = "stunned",					-- FuraFura
1532
1533	-- A character grabbing someone
1534	[0x0D4] = "grab",						-- Catch
1535	[0x0D5] = "pull grab",					-- CatchPull
1536	[0x0D6] = "dash grab",					-- CatchDash
1537	[0x0D7] = "dash pull grab",				-- CatchDashPull
1538	[0x0D8] = "hold",						-- CatchWait
1539	[0x0D9] = "grab attack",				-- CatchAttack
1540	[0x0DA] = "grab release",				-- CatchCut
1541
1542	-- A character being thrown
1543	[0x0DB] = "forward throw",				-- ThrowF
1544	[0x0DC] = "back throw",					-- ThrowB
1545	[0x0DD] = "up throw",					-- ThrowHi
1546	[0x0DE] = "down throw",					-- ThrowLw
1547
1548	[0x0DF] = "pull into grab from air",	-- CapturePulledHi
1549	[0x0E0] = "hold air",					-- CaptureWaitHi
1550	[0x0E1] = "hold air damage",			-- CaptureDamageHi
1551	[0x0E2] = "pulled into grab",			-- CapturePulledLw
1552	[0x0E3] = "hold ground",				-- CaptureWaitLw
1553	[0x0E4] = "hold damage",				-- CaptureDamageLw
1554
1555	[0x0E5] = "release from grab",			-- CaptureCut
1556	[0x0E6] = "jump from grab",				-- CaptureJump
1557	[0x0E7] = "grab neck",					-- CaptureNeck
1558	[0x0E8] = "grab foot",					-- CaptureFoot
1559
1560	[0x0E9] = "roll forward",				-- EscapeF
1561	[0x0EA] = "roll backward",				-- EscapeB
1562	[0x0EB] = "spot dodge",					-- Escape
1563	[0x0EC] = "air dodge",					-- EscapeAir
1564
1565	-- When moves "clank"
1566	[0x0ED] = "clank",						-- ReboundStop
1567	[0x0EE] = "clank recoil",				-- Rebound
1568
1569	-- Character being thrown
1570	[0x0EF] = "forward thrown",				-- ThrownF
1571	[0x0F0] = "back thrown",				-- ThrownB
1572	[0x0F1] = "up thrown",					-- ThrownHi
1573	[0x0F2] = "down thrown", 				-- ThrownLw
1574	[0x0F3] = "down thrown",				-- ThrownLwWomen
1575
1576	[0x0F4] = "platform drop",				-- Pass
1577
1578	[0x0F5] = "teeter start",				-- Ottotto
1579	[0x0F6] = "teetering",					-- OttottoWait
1580
1581	[0x0F7] = "wall bounce",				-- FlyReflectWall
1582	[0x0F8] = "ceiling bounce",				-- FlyReflectCeil
1583	[0x0F9] = "wall stop",					-- StopWall
1584	[0x0FA]	= "ceiling stop",				-- StopCeil
1585	[0x0FB]	= "miss foot",					-- MissFoot
1586
1587	[0x0FC]	= "ledge grab",					-- CliffCatch
1588	[0x0FD]	= "ledge hold",					-- CliffWait
1589	[0x0FE]	= "ledge climb slow",			-- CliffClimbSlow
1590	[0x0FF]	= "ledge climb fast",			-- CliffClimbQuick
1591	[0x100]	= "ledge slow-attack",			-- CliffAttackSlow
1592	[0x101]	= "ledge fast-attack",			-- CliffAttackQuick
1593	[0x102]	= "ledge roll slow",			-- CliffEscapeSlow
1594	[0x103]	= "ledge roll fast",			-- CliffEscapeQuick
1595	[0x104]	= "ledge slow jump",			-- CliffJumpSlow1
1596	[0x105]	= "ledge slow jump",			-- CliffJumpSlow2
1597	[0x106]	= "ledge fast jump",			-- CliffJumpQuick1
1598	[0x107]	= "ledge fast jump",			-- CliffJumpQuick2
1599
1600	-- Taunting
1601	[0x108]	= "taunt left face",			-- AppealR
1602	[0x109]	= "taunt right face",			-- AppealL
1603
1604	-- DK Grab stuff
1605	[0x10A] = "shouldered",					-- ShoulderedWait
1606	[0x10B] = "shouldered walk",			-- ShoulderedWalkSlow
1607	[0x10C] = "shouldered run",				-- ShoulderedWalkMiddle
1608	[0x10D] = "shouldered dash",			-- ShoulderedWalkFast
1609	[0x10E] = "Shouldered turn",			-- ShoulderedTurn
1610
1611	-- Being thrown
1612	[0x10F] = "forward thrown",				-- ThrownFF
1613	[0x110] = "backward thrown",			-- ThrownFB
1614	[0x111] = "up thrown",					-- ThrownFHi
1615	[0x112] = "down thrown",				-- ThrownFLw
1616
1617	[0x113] = "grabbed by cpt. falcon",		-- CaptureCaptain
1618
1619	[0x114] = "grabbed by yoshi",			-- CaptureYoshi
1620	[0x115] = "yoshi egg",					-- YoshiEgg
1621
1622	[0x116] = "grabbed by bowser",			-- CaptureKoopa
1623	[0x117] = "hit by bowser while grabbed",-- CaptureDamageKoopa
1624	[0x118] = "held by bowser",				-- CaptureWaitKoopa
1625	[0x119] = "forward thrown by bowser",	-- ThrownKoopaF
1626	[0x11A] = "backwards thrown by bowser",	-- ThrownKoopaB
1627	[0x11B] = "areial grabbed by bowser",	-- CaptureKoopaAir
1628	[0x11C] = "areial hit by bowser while grabbed", -- CaptureDamageKoopaAir
1629	[0x11D] = "areial held by bowser",		-- CaptureWaitKoopaAir
1630	[0x11E] = "areial thrown forward by bowser",	-- ThrownKoopaAirF
1631	[0x11F] = "areial thrown backwards by bowser",	-- ThrownKoopaAirB
1632
1633	[0x120] = "inhaled by kirby",			-- CaptureKirby
1634	[0x121] = "held by kirby",				-- CaptureWaitKirby
1635	[0x122] = "spat out as star", 			-- ThrownKirbyStar
1636	[0x123] = "kirby stole ability",		-- ThrownCopyStar
1637	[0x124] = "spat out",					-- ThrownKirby
1638
1639	[0x125] = "barrel idle",				-- BarrelWait
1640
1641	[0x126] = "burried",					-- Bury
1642	[0x127] = "burried idle",				-- BuryWait
1643	[0x128] = "burried jump",				-- BuryJump
1644
1645	[0x129] = "fall asleep",				-- DamageSong
1646	[0x12A] = "sleeping",					-- DamageSongWait
1647	[0x12B] = "wake up",					-- DamageSongRv
1648	[0x12C] = "damaged by bind",			-- DamageBind
1649
1650	[0x12D] = "grabbed by mewtwo",			-- CaptureMewtwo
1651	[0x12E] = "areial grabbed by mewtwo",	-- CaptureMewtwoAir
1652	[0x12F] = "thrown by mewtwo",			-- ThrownMewtwo
1653	[0x130] = "areial thrown by mewtwo",	-- ThrownMewtwoAir
1654
1655	[0x131] = "warp star jump",					-- WarpStarJump
1656	[0x132] = "warp star fall",					-- WarpStarFall
1657
1658	[0x133] = "hammer idle",					-- HammerWait
1659	[0x134] = "hammer walk",					-- HammerWalk
1660	[0x135] = "hammer turn",					-- HammerTurn
1661	[0x136] = "hammer knee bend",				-- HammerKneeBend
1662	[0x137] = "hammer fall",					-- HammerFall
1663	[0x138] = "hammer jump",					-- HammerJump
1664	[0x139] = "hammer landing",					-- HammerLanding
1665
1666	[0x13A] = "giant mushroom start",			-- KinokoGiantStart
1667	[0x13B] = "areial giant mushroom start",	-- KinokoGiantStartAir
1668	[0x13C] = "giant mushroom end",				-- KinokoGiantEnd
1669	[0x13D] = "areial giant mushroom end",		-- KinokoGiantEndAir
1670	[0x13E] = "mini mushroom start",			-- KinokoSmallStart
1671	[0x13F] = "areial mini mushroom start",		-- KinokoSmallStartAir
1672	[0x140] = "mini mushroom end",				-- KinokoSmallEnd
1673	[0x141] = "areial mini mushroom end",		-- KinokoSmallEndAir
1674
1675	[0x142] = "spawn start",					-- Entry
1676	[0x143]	= "Spawn drop in",					-- EntryStart
1677	[0x144] = "spawn end",						-- EntryEnd
1678
1679	[0x145] = "damaged by ice",					-- DamageIce
1680	[0x146] = "damaged and launced by ice",		-- DamageIceJump
1681
1682	[0x147] = "grabbed by master hand",		-- CaptureMasterhand
1683	[0x148] = "squeezed by master hand",	-- CapturedamageMasterhand
1684	[0x149] = "held by master hand",		-- CapturewaitMasterhand
1685	[0x14A] = "thrown by master hand",		-- ThrownMasterhand
1686
1687	[0x14B] = "grabbed by kirby",			-- CaptureKirbyYoshi
1688	[0x14C] = "KirbyYoshiEgg",				-- KirbyYoshiEgg
1689	[0x14D] = "grabbed by redead",			-- CaptureLeadead
1690	[0x14E] = "grabbed by likelike",		-- CaptureLikelike
1691
1692	[0x14F] = "down reflect?",				-- DownReflect
1693
1694	[0x150] = "grabbed by crazy hand",		-- CaptureCrazyhand
1695	[0x151] = "squeezed by crazy hand",		-- CapturedamageCrazyhand
1696	[0x152] = "held by crazy hand",			-- CapturewaitCrazyhand
1697	[0x153] = "thrown by crazy hand",		-- ThrownCrazyhand
1698
1699	[0x154] = "barrel cannon wait",			-- BarrelCannonWait
1700
1701	[0x155] = "wait 1",		-- Wait1
1702	[0x156] = "wait 2",		-- Wait2
1703	[0x157] = "wait 3",		-- Wait3
1704	[0x158] = "wait 4",		-- Wait4
1705	[0x159] = "wait item",	-- WaitItem
1706
1707	[0x15A] = "crouch wait 1",			-- SquatWait1
1708	[0x15B] = "crouch wait 2",			-- SquatWait2
1709	[0x15C] = "crouch wait with item",	-- SquatWaitItem
1710
1711	[0x15D] = "shield damaged",			-- GuardDamage
1712
1713	[0x15E] = "escape from grab?",		-- EscapeN
1714
1715	[0x15F] = "AttackS4Hold",			-- AttackS4Hold
1716
1717	[0x160] = "heavy walk",				-- HeavyWalk1
1718	[0x161] = "heavy walk",				-- HeavyWalk2
1719
1720	[0x162] = "hammer wait?",			-- ItemHammerWait
1721	[0x163] = "hammer move?",			-- ItemHammerMove
1722
1723	[0x164] = "invisible",				-- ItemBlind
1724
1725	[0x165] = "damaged by electricity",	-- DamageElec
1726
1727	[0x166] = "stunned start",			-- FuraSleepStart
1728	[0x167] = "stunned",				-- FuraSleepLoop
1729	[0x168] = "stunned end",			-- FuraSleepEnd
1730
1731	[0x169] = "wall damage",			-- WallDamage
1732
1733	[0x16A] = "ledge hold",				-- CliffWait1
1734	[0x16B] = "ledge hold",				-- CliffWait2
1735
1736	[0x16C] = "slip fall down",			-- SlipDown
1737	[0x16D] = "slip",					-- Slip
1738	[0x16E] = "slip turn",				-- SlipTurn
1739	[0x16F] = "slip dash",				-- SlipDash
1740	[0x170] = "slip idle",				-- SlipWait
1741	[0x171] = "slip stand up",			-- SlipStand
1742	[0x172] = "slip attack",			-- SlipAttack
1743	[0x173] = "slip roll forward",		-- SlipEscapeF
1744	[0x174] = "slip roll backward",		-- SlipEscapeB
1745
1746	[0x175] = "taunt special", -- AppealS
1747
1748	[0x176] = "struggle", -- Zitabata
1749
1750	[0x177] = "hit by bowser while grabbed",	-- CaptureKoopaHit
1751	[0x178] = "thrown forward by bowser",		-- ThrownKoopaEndF
1752	[0x179] = "thrown backward by bowser",		-- ThrownKoopaEndB
1753	[0x17A] = "hit by bowser while grabbed",	-- CaptureKoopaAirHit
1754	[0x17B] = "thrown forward by bowser",		-- ThrownKoopaAirEndF
1755	[0x17C] = "thrown backward by bowser",		-- ThrownKoopaAirEndB
1756
1757	[0x17D] = "ThrownKirbyDrinkSShot",			-- ThrownKirbyDrinkSShot
1758	[0x17E] = "ThrownKirbySpitSShot",			-- ThrownKirbySpitSShot
1759}
1760
1761function state.translate(id)
1762	return player_states[id] or "unknown state"
1763end
1764
1765function state.translateChar(char, id)
1766	return character_states[char] and character_states[char][id] or player_states[id] or "unknown state"
1767end
1768
1769function state.isAction(id)
1770	return reactions[id] == nil
1771end
1772
1773function state.isCharacterAction(char, id)
1774	return character_states[char] and character_states[char][id]
1775end
1776
1777return state