Changing pin output with port registers

It's not in the main(). Maybe in playroutine()?