It's a normal trainer battle, except the first battle ever with the Oak tutorial. However, the script checks the value of a variable to jump to one of three different trainer battles, depending on the starter you pick.
If you want to see which variable is used and which value is set for each starter, check out the scripts in Oak's lab.