Delta Dwebble Cake

The trade with the hiker on Route 1 keeps causing my game to crash.What can I do to fix this?