I have a scripting question. I am making a game which you have to buy skill points. They are recorded in a variable. And then when you fight an opponent, it takes your skill level, compares it to your opponent, and if you have a bigger skill level it goes to a frame that says you won, and if you have a lower skill level it goes to a frame that says you lose.
Just store the skill points in a var:
attackskillpoints=5
Then use some comparison code:
If attackskillpoints>oppenentattackskillpoints then
Gotoframe "You Win"
else if attackskillpoints=oppenentattackskillpoints
Gotoframe "Draw"
else
Gotoframe "You Lose"
End if
End if