can someone explain how to set up the door sprites for this script?

I downloaded the example quest and I couldn't figure it out.