Dad was talking when i came into the room
نختار زمن الماضى لذلك نختار came
قاعدة when هى
was/were +v-ing..... when... past simple