As Duke comes into the shower room and walks by Malcolm, he snaps the towel at Malcolm's head to get him to shut up about the dorm pamphlet life while ranting at Sebastian. Channing Tatum really hit James Snyder in the eye with the towel and James' reaction is real.
Based loosely on William Shakespeare's "Twelfth Night, or What You Will". The school is called Illyria, which is the name of the country where the play takes place. Duke Orsino's character is based on Orsino, a duke. Duke's friends are named Toby and Andrew; in the play, Toby is Olivia's uncle and Andrew is one of her suitors. However, in the play, Viola is not impersonating her brother in particular, just a man, and she calls herself Cesario, which is the name of the restaurant seen where Sebastian/Viola breaks up with Monique and where Duke, Olivia, Eunice, and Sebastian/Viola briefly double date. On Viola's first day at Illyria, she walks by a school theatre playbill entitled "What You Will."
In the double date scene, as Eunice is sitting down, Amanda Bynes ad-libs the phrase "Lady pterodactyl." In fact, most outbursts were improvised, like David Cross inviting Sebastian to "have a nice apple and sandwich."
The song playing during the double date between Viola/Sebastian, Eunice, Duke, and Olivia is one of Sebastian's songs. Olivia reads the lyrics of the song out loud the first time she and Viola/Sebastian work as lab partners and later she recites the same lyrics to the real Sebastian.
Heavily borrows elements from the Disney Channel film Motocrossed (2001), which is also an adaptation of Twelfth Night: setting it in high school with teenagers, using a sport as the catalyst for the plot, having the Viola character disguise herself as her twin brother rather than a completely separate identity, having the Duke Orsino character provide lessons in exchange for help with courting the Olivia character, and flipping the perceived weakness of femininity in the original play into strong support of women competing equally alongside men.