In a pan, fry tofu until golden brown. Set aside.
In a pan, saute onion, garlic and tomato.
Once the onion is soft, add ampalaya. Mix.
Add tofu. Season with salt/pepper. Mix.
Add shrimp. Cook for 2 mins.
Pour beaten eggs over the ampalaya. Stir. Cover. Let the egg cook.