I know what you want to do; that's why in my mind I thought something like ( If TriGame && Is_Progressive_Scan() ) right before that line would suffice, that is, if there was a check for progressive scan in the file; however, I realized that the patches are applied individually and the line crediar mentioned was only for MKGP. That's why it would be better to try and do it in a different way that applies to all games or just copy paste and use the same approach for each game.
In any case, my point was that you'd have to make it work for all games and not just MKGP, since you're going to take the time to code and all, might as well not leave half the work undone, right?