i'm not sure if the game was supposed to check the blue number first before combat but it didn't seem to be working for me
ALTHOUGH I now have the world's best speed run because I got to the end without getting touched once :D
It seems I forgot to switch the code back to normal after testing the game-over sequence, effectively removing the effect of roll mitigation in damage (/facepalm). Ty for the heads up!