Kitty Corp Meow Mix Forums

Help & Tutorials => A/A Tutorials => Topic started by: TNT3530 on June 07, 2015, 03:50:04 PM



Title: How to use Super Armor in attacks
Post by: TNT3530 on June 07, 2015, 03:50:04 PM
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.


Title: Re: How to use Super Armor in attacks
Post by: ABloodyCanadian on June 07, 2015, 04:30:44 PM
For future Reference, post your A/A Help topics here (http://forums.kc-mm.com/index.php?board=17.0).

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.


Title: Re: How to use Super Armor in attacks
Post by: KingJigglypuff on June 07, 2015, 04:31:35 PM
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.

For future Reference, post your A/A Help topics here ([url]http://forums.kc-mm.com/index.php?board=17.0[/url]).
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.


Title: Re: How to use Super Armor in attacks
Post by: ABloodyCanadian on June 07, 2015, 04:40:55 PM
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 (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.



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...


Title: Re: How to use Super Armor in attacks
Post by: TNT3530 on June 07, 2015, 04:48:22 PM
Thanks guys