That's because the ASM only writes the pin config once while the RAM writes keep writing the specified pin config every frame (every time the Code Handler is executed). You can modify the ASM to include writing a certain pin config every frame too like the RAM writes.
Let me know how the random pin config ASM works.
Let me know how the random pin config ASM works.