Hollow Knight Charm Help 2

So I need to make a system where when you equip a charm you fill a charm slot. There are eight charm slot.
So the code I have now is this:
Is there anyway to make this less code/properties?

click the little blue gear and add “else if”
will cut down a lot

Me when I forgor else if exists:
What about the properties?
This game has too many already

can’ do much there

1 Like

Intricate Code! Impressive.

Off-Topic: Also Hi Harharharhar83

1 Like

Thanks. foxy made it better tho. You have now idea how much code this new Hollow Knight is taking.


This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.