when i first got into the accident the car was driving normal. after a while it started to overheat. after that the d4 light started blinking and the car was going mad slow even though i was gasing to 4k rpm
WOAH. Do not drive the car until you do this... check your tranny fluid level... IF you have the 4-speed, there are two tranny fluid lines from the transmission that run along the bottom of the radiator... check to see if there are any leaks. If it's something just as simple as a leak, don't drive the car and risk killing your tranny.
As far as resetting the ECU - you've already done that by disconnecting the battery.
Seriously - my builder just came in and looked at your pictures. He thinks you may have broken shift solenoids A & B in the accident. The are located on the outside of the transmission towards the radiator. The D4 light (I assume it's really D5 that's blinking because it's a 5 speed) is blinking because the PCM sees a fault.
In any event, get it scanned and let us know the code.
Honda and the Honda marquee are registered trademarks of the American Honda Motor Company, Inc. Neither American Honda Motor Company nor its subsidiaries or affiliates shall bear any responsibility for Acurazine.com content, comments, or advertising. Acurazine.com is not affiliated with American Honda Motor Company in any way. American Honda Motor Company does not sponsor, support, or endorse Acurazine.com in any way. Copyright/trademark/sales mark infringements are not intended or implied.