That happened because a bug with pokemon with variant forms (in this case, Vivillon). Until we release the next update, 1.02 (the save file won't be affected), don't battle the trainer just yet.
Other than that, the thing we would like to fix are tile errors, typos, and moving-through-walls...