How to use Super Armor in attacks

Started by TNT3530, June 07, 2015, 09:50:04 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

June 07, 2015, 09:50:04 PM Last Edit: June 07, 2015, 09:51:42 PM by TNT3530
Recently, while I was making a Little Mac PSA (like everybody else), I remembered that Mac doesn't flinch (has super armor) in his side smash. After some research, I figured out how to do it in PSA.

Here is my side smash code with working super armor (You can at least punch through explosives)

1E000200: 0-1, 1-0
Asynchronous Timer: frames=2
Offensive Collision: (Normal attack data here)
Offensive Collision: (Normal attack data here)
Offensive Collision: (MORE NORMAL ATTACK DATA HERE)
Asynchronous Timer: frames=10
1E000200: 0-0, 1-0
Goto 0x000121A8

Basically, use the first parameter of (flag?) 1E000200 to toggle the armor. 1=On 0=Off.
Honestly, I have no clue what the second parameter does.

If this is already known by most, feel free to delete this thread. Else, I'm glad to help.
If you find out what the second param does, post that here so I can know too please.

For future Reference, post your A/A Help topics here.

To answer your question, the 1st Parameter is actually used to toggle On or Off Super Armor (1), Knockback Based Armor (2), or Damage Based Armor (3).

The second parameter simply sets how much the armor can hold out for until it'll eventually no longer work, and will not apply if your 1st parameter is 0 or 1.

June 07, 2015, 10:31:35 PM #2 Last Edit: June 07, 2015, 10:38:18 PM by KingJigglypuff
The Super Armor command was already defined for quite a while now. But there's no need to delete.

First Parameter (Value): 0 (None), 1 (True Super Armor), 2 (Knockback-Based Armor), 3 (Damage-Based Armor)
Second Parameter (Scalar): Minimum damage or knocback that will cause the character to flinch when using Knockback/Damage-Based Armor. Set to 0 is using True Super Armor.

Quote from: A Bloody Canadian on June 07, 2015, 10:30:44 PM
For future Reference, post your A/A Help topics here.
It wasn't a question. The user was showing how to use the Super Armor command, but didn't know what the parameters really did. So I moved the thread to tutorials.
I don't take requests.

My PSA Thread
[move][/move]

June 07, 2015, 10:40:55 PM #3 Last Edit: June 07, 2015, 10:42:22 PM by A Bloody Canadian
Thinking about it now, since you don't have the event defined, you may want an updated Data Folder that'll give you more descriptions for the events you use. I'll offer what I have.

https://www.dropbox.com/s/1k7zmhfm71bwgfp/Smash%20Attacks%20Data.zip?dl=0

If there is by any chance a better version of it, let me know, and I can update it.




Quote from: KingJigglypuff on June 07, 2015, 10:31:35 PM
The user was showing how to use the Super Armor command, but didn't know what the parameters really did. So I moved the thread to tutorials.

Well derp... 1st impressions and inability to read screwed me over again... lol...