When fighting a "BULL" that has the "BUG" test on his side, hold Down, Left, A, and B and choose to start auto-battle mode. The usual battle message which change to another Japanese phrase: "Cabu-chan begins debugging".
When the word "END" appears after the ending, wait 5 minutes and you'll start the second quest.