It seems very simple to pull off, even though I haven't downloaded this game yet.
Edit: Wow. You can do it as early as Stage 4 (or maybe even earlier), lol. It has apparently been patched already in v1.0.2
Edit 2: I added it to Bulbapedia.
Glitch City Laboratories closed on 1 September 2020 (announcement). This is an archived copy of a thread from Glitch City Laboratories Forums.
You can join Glitch City Research Institute to ask questions or discuss current developments.