Prev: 31417 Up: Map Next: 31577
31562: Orders-screen crew-name row
Body of the loop above (never entered at 31562 itself — the LD A,D opcode is just the operand high byte of the overlapping instruction): prints crew name A via PrintName (31690), then steps the menu draw pointer (31257) one character row down: +32 within a display-file third, or +1824 (via the fall-through block below) when crossing a third boundary (L >= $E0).
31562 LD A,D (dead when fallen into: overlap operand)
31563 PUSH AF save crew id
31564 PUSH HL save draw pointer
31565 CALL 31690 PrintName: draw crew name A on this row
31568 POP HL
31569 LD DE,32 normal stride: next char row in same third
31572 LD A,L
31573 CP 224 crossing into the next display third?
31575 JR C,31580 no: advance by 32
Prev: 31417 Up: Map Next: 31577