YesNoOk
avatar

Help with super armor on certain moves (Read 7594 times)

Started by Eyjeste, August 22, 2024, 02:25:14 am
Share this topic:
Help with super armor on certain moves
#1  August 22, 2024, 02:25:14 am
  • avatar
https://images-ext-1.discordapp.net/external/kRFZcDabZ5P8bnVpApCR4yu54Xxmqp5nxVFrPR-YMyE/https/i.imgur.com/18fgHO1.mp4

When my character gets hit when he's doing an attack with super armor, he stays in that states until he dies. For context, I copy/pasted code from Kazecat's Jumbo Elephant. I have no idea why it's acting up like this other then the possible missing 32 variable.
Spoiler, click to toggle visibilty
Last Edit: August 24, 2024, 01:09:52 am by Odb718
Re: Help with super armor on certain moves
#2  August 24, 2024, 01:15:40 am
  • *****
  • Shame on you!
    • USA
Keep an eye on  var 32 and fvar 22. Use DisplayToClipboard so you can see if

[state 210, delay]
type = changeanim
trigger1 = var(32) < fvar(22)
value = anim
elem = var(22)
persistent = 1

This gets stuck.
Also, you should put some fail-safe triggers on your changestates. Do something like Time >= 210. I think with your hit pauses, doing a closer time might hiccup every once in a while. Maybe double the animation's time?

Is the move looping or is it getting stuck on 1 frame.
Also, please upload/link videos to Streamable or Youtube.
vVv N00bSaibot & Muramasa RoofTop vVv