Depending on what you what to do you may also need to edit the associated JavaScript file, js/edit_entry.js.php.

(I assume you know that if you just want to add some custom fields to the form all you need to do is to create the appropriate columns in the entry and repeat tables.)