You are right.....
....your programming does suck. I didn't do half of what you are supposed to do. I only got the money from the ice cream shop, and beat the game. I read your hints and I didn't use the pills or cat or even do the dance competition at all. I found the ice cream money but still would not let me enter the competition. I guess I HAVE to get the 10 bucks from the drain. Heres a hint:
If money > 10 then
acquire dance competition ticket
money = money - 10
end if
thats psudocode anyway. You must have used the 10 dollars in the drain as its own toggle (item).
Great idea though!