This is a sentence from Death Note. The assassin has just said "I am victorious!" thinking his plan to kill everyone was successful. But being alive and still, the detective says:
At first, I read this last part as "Originally you were winning and I was losing". But I decided to check the official translation both in English and Portuguese, and they both translate as "As a matter of fact, you would have won and I would have lost" with the "if things had gone your way" implied.
So, both English and Portuguese translate it as the second part of a conditional sentence, a third conditional sentence where the IF part is implied.
I don't actually know how to produce this grammar. Or even recognize it without the help of context. Since all I see is the use of past continuous tense.
If I want to make my own sentences, let's say: If I had studied more, I would have passed my university entrance exams... What kind of grammar would I have to use?
I have seen other posts working on that subject and explanations that past tense in Japanese can be subjunctive, and actually mean hypothesis and so, and it just got me more confused.