The Mugen Fighters Guild

Help => M.U.G.E.N Development Help => Topic started by: AJZ on October 07, 2017, 11:58:42 pm

Title: Super and Special at the same time?
Post by: AJZ on October 07, 2017, 11:58:42 pm
Hey so I am editing Mr.Karate by Victorys and I want to change the command for a move called Hoah Shikoken, but the problem I am having right now is that its a super for Mr. Karate in his normal mode but when in shin mode it is his special and I don't want them to have the same input, now I know I can change that but I don't have a understanding of how MUGEN knows which mode hes in. So I'm stuck. Can someone please explain? Thanks for your time. Oh! just in case I am using the MrKarate.def file not the other 2
Title: Re: Super and Special at the same time?
Post by: vgma2 on October 09, 2017, 08:03:44 pm
Chances are that the character uses a variable to keep track of which mode they're in.  You will need to look at their code to determine which variable it is.  Though if the author made a variable reference list somewhere, that will make things easier.
Title: Re: Super and Special at the same time?
Post by: AJZ on October 09, 2017, 10:44:26 pm
He does, and in commands it says "var(53)" and sometimes it says "!var(53)" I just don't understand if "!var(53)" means its shin mode or not, you get what im saying? I probably explained it bad sorry
Title: Re: Super and Special at the same time?
Post by: VGames on October 11, 2017, 04:50:16 pm
Trial and error.
Title: Re: Super and Special at the same time?
Post by: Cyanide on October 12, 2017, 08:46:57 am
var(53) means a variable is 1 or more. No set value
!var(53) means the variable is 0. Equivalent to var(53) = 0 but marginally friendlier for mugen to read.

It should be simple enough to work out how mr karate mode is accessed and follow things back from there. Normally this sort of thing is palette related so looking for palno triggers would be a good start. If one of those sets var(53) somehow, that's the check.