I wrote this out for people in the Tamagotchi Livejournal Community, and since all the tips and tricks are gone, I thought I'd post it here. ^_^
Warning: If you damage your tamagotchi by doing this, it's your own fault. No one's making you debug, and I'm not responsible if you don't do it...