Prev: BB11 Up: Map Next: BB38
BB2E: Thief short delay ($FFF0 iterations)
Used by the routine at thief_exit_door.
Double loop: outer C = $F0 (240), inner B = $00 (256 iterations).
Total: 240 × 256 = 61440 iterations (~$F000). Used between thief animation frames.
thief_delay BB2E LD C,$F0 C = $F0 (outer count)
thief_delay_0 BB30 LD B,$00 B = $00 (inner count: 256)
thief_delay_1 BB32 DJNZ thief_delay_1
BB34 DEC C DEC C
BB35 JR NZ,thief_delay_0 If C != 0, restart inner loop
BB37 RET
Prev: BB11 Up: Map Next: BB38