Hi everyone. I’ve got a sequence which I cannot work out what is wrong and was wondering if another set of eyes might see something obvious. I’m having a problem in a fight sequence where sometimes the game jumps to a win ending without meeting the criteria for it. (To win, the opponent’s health has to be 10 or less, or the number of fight rounds needs to be above 20).
I’m pretty certain I’ve narrowed it down to this sequence of code. Instead of going to the counter attack sequence (goto raishallattack) it jumps to winfight. It is not being triggered by the proper redirect to the winfight as I labeled it in game to see where the error is, and it’s not being shown so is being entirely skipped. Hope this makes sense. This is the problem sequence (I think).
This is what it looks like in game before it redirects incorrectly:
Any help really appreciated. I’ve spent hours over looking for this . Cookies offered for solutions
Thanks