Check for Perfect Wins (Read 6757 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
  • ******
  • Part of the OpenBOR dev team
  • 22 years of Mugen and counting...
    • Brazil
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:

[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:

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