[SOLVED] The two flowers stuck

Change the zero to ‘i’. Since this is your counter, it is pointing to the friends element that is currently being examined. It is also automatically incremented when the loop cycles.

1 Like

Do you coded them to defend only if there is enemies>?<

@zython Yes. (Sorry for the late reply,my internet was down)

1 Like