YOU SAID:
the cat wore red shoes when he went to the party
INTO JAPANESE
彼がパーティーに行ったとき、猫は赤い靴を着た
BACK INTO ENGLISH
When he went to the party, the cat wore red shoes
INTO JAPANESE
彼がパーティーに行くと、猫は赤い靴を履いた
BACK INTO ENGLISH
When he went to the party, the cat wore red shoes
Well done, yes, well done!