← AF20 Scan and process the brick field Map B0BF → Maybe start the golden brick's idle twinkle
B0AE: Advance the 15-step golden-twinkle timer
Advances the golden brick's idle-twinkle timer one step per brick-field sweep. It clears itself after 15 steps.
tick_golden_flash_timer B0AE LD A,(golden_flash_timer) Timer idle – nothing to do
B0B1 OR A
B0B2 RET Z
B0B3 INC A Tick the timer one step.
B0B4 LD (golden_flash_timer),A
B0B7 CP $10 After its full span, wrap back to idle.
B0B9 RET NZ
B0BA XOR A
B0BB LD (golden_flash_timer),A
B0BE RET
← AF20 Scan and process the brick field Map B0BF → Maybe start the golden brick's idle twinkle
Fork me on GitHub