[Ace] How do I make a script wait?

So I have a function that does a whole bunch of stuff and then it transfers the player to another map. After the player is done transferring I need it to do more stuff.

Right now this is how I am doing it:



Code:
def someFunction()
   ~Do something here
   $game_player.reserve_transfer(1, 0, 0, 2)

   while $game_player.transfer?
	  1.times{Fiber.yield}
   end
   ~Continue doing some stuff
end
If appears to work but the second part of code isn't happening as fast as I'd like i to be. Is there another way to do it?

Thanks for reading.

Original thread: https://forums.rpgmakerweb.com/threads/ace-how-do-i-make-a-script-wait.2850/