I don't know exactly. But I feel like the issue is in the
if(Link->X == ComboX(12) && Link->Y == ComboY(12))
But in the in the other thread where you asked a similar question, the other coders put in...
Abs before Link and used - between Link->X and ComboX(12)
Try something like...
if (Abs(Link->X - Combo(12)) < 4 && Abs(Link->Y - Combo(12)) < 4)
for that line.
I could be wrong since that was kind of different. But if so, someone else will come in and do it more correctly.
Another immediate possibility in my mind is that it could be how CR_LIFE works.
For instance, in game, when you use a potion, the screen freezes while it fills up your hearts. In which case I don't know how to code this, but if that is the case, this could constantly be draining Link's HP and never giving him that chance to move.
In which case, my best guess would be put on someone else on how to code Link to either gain invincibility frames or to have the game wait to check again between each time he loses life.
Edited by Shoshon the Elegant, 21 June 2018 - 07:00 AM.