It is based on time but I can't remember the exact time since I made it so long ago, maybe under 120. The 3rd ending is getting the balloon and getting under the time I think