Got around to coming back to this following emulator ban, could save a few more seconds but this is probably the most optimal route more or less.