Closed avkliskova closed 5 years ago
I'm seeing this as well, with action state 87.
Thanks for the report. Unknown Attack and ActionState values are now left as raw ints (with a warning printed to stderr). I also created #6 to address the spurious ActionState values.
This appears to be related to #2.
Attempting to parse this replay raises a ValueError:
The missing value 59 probably denotes DK's cargo hold.
The game can also record values for ActionState that will cause similar errors (I suspect that any replay containing DK's down-B, or Kirby's side-B or down-B, will do.) My data indicate that action state values can range as high as 537. Further, values of at least 341 (0x155) indicate special moves, and change from character to character.
Filling in the missing values with dummies (_341 = 341, etc.) should solve the problem. I also recommend that the (erroneous) action state values from 341 to 382 be deleted and replaced with dummies.
Will submit a pull request when time permits.