I was wondering because if I have to go back to Rustboro I will but if it's not the same as X/Y then I'm not going to waste my time.
Yes, it does work the same.
Source