Python Reference error, generator not defined

Hello everyone, I’m new to coding and I love CodeCombat. It is really fun and educational I think. I have hit a snag however, and I have searched everywhere I have thought to and haven’t found the answer. I am on the Game Development course and the Time to Live level. I will include a screenshot and hopefully someone can point me in the right direction. Thank you.

edited for punctuation.

“generator” is a reference to game

1 Like

I’m not sure I follow you _TD_RodYT

1 Like

Alright, got it figured out. Thanks for your help. I’ll post a picture of what I changed in case anyone else is interested.