YesNoOk
avatar

Check for Perfect Wins (Read 7879 times)

Started by O Ilusionista, January 30, 2016, 03:22:10 pm
Share this topic:
Check for Perfect Wins
#1  January 30, 2016, 03:22:10 pm
  • ******
  • A living Mugen dinossaur :)
  • 23 years of Mugen O_o
    • Brazil
    • www.brazilmugenteam.com
A friend of mine asked me if there is a way to check if its possible to use different winposes if the character wins by perfect.
Here is the code:

Quote
[State 0, ChangeState]
type = ChangeState
trigger1 = Life = Lifemax
value = *insert state number here*

This code should come before any other changestate in the win state decider (like 190).

Plus, you can use the same logic for Victory quotes for perfect wins:

Quote
[State 0, VictoryQuote]
type = VictoryQuote
trigger1 = Life = Lifemax
value = 1