The dev probably has a rough draft written in some other program, so he knows what scenes to render. The he fills in the dialogue as needed.
Personally, I work in reverse - a script can tell you what scenes you need, while scenes themselves don’t tell the whole story.