Ooh, I see. I think there are many tutorials of scripting, from applying the Repel function a la Black 2 and White 2 (Use another repel?), or maybe creating a new evolution stone if you want to.
Hey, since you want more advanced tutorial, why not try ASM? If you master it, you sure will be able to make new stuffs in your hack :)