Error: Attempt to invoke bookmark for [Function], what does this mean?

I tried out your code, but for some reason, the website did not bring up any errors. I’m not sure if there is some sort of bug in the level?

Or maybe it has something to do with the equipment that is being used? According to When do I get which Item - A reference, you start being granted access to arrays when you receive Programmaticon III. By the time you reach Brittle Morale, you should have passed Medical Attention, which is where you get that Programmaticon. Do you have Programmaticon III equipped?

I am trying to help you out as much as possible, but I would just like to let you know that I am not exactly an expert on CodeCombat. If this advice works out, then I’m glad to help. If it does not, there’s a possibility that there is a bug in the level, and you might want to try notifying the leader.

Happy to help (or at least try to),
Hellenar