No, that's how it's done, but then, at the very end, you also need to add an "else" statement that displays a message about not having enough money. How else would you do it?
Or, you could create a dialog box that doesn't display options that you don't have enough money for in the first place.
I tried again - it really works. Hmm... I guess I just wasn't well-rested. Thank you!