Prev: 24986 Up: Map Next: 25043
25021: Routine at 61BD
Used by the routine at GamePlayStarts.
25021 LD A,(24017) A=Flag_ActivePlayer
25024 AND A
25025 JR NZ,25056
25027 LD HL,24 HL=$0018
This entry point is used by the routine at 25043.
25030 CALL AttributeAddress
25033 LD B,3 B=$03
25035 LD A,(HL) A=(HL)
25036 OR 128
25038 LD (HL),A Push A into the memory location at HL
25039 INC HL Increase HL by one
25040 DJNZ 25035 Decrease B by one, jump to 25035 if not zero
25042 RET Return
Prev: 24986 Up: Map Next: 25043