Disabling Specific Events

My game features a ninja who can throw Ninja Stars, but only after having collected them. I need to event disable this event if he has no Stars without disabling EVERY key down event.
How do I do this?
How do I do this?