Use the "pickup item x8 cheat" then hold the bomb flower, drop it to the ground, and pick it up again. You'll be drop 5 bombs but you'll be picking up 40.
it doesn't work if you only have 1 item though. You can use the save editor for those kind of things ( i cant post it here since im a new...