Prev: 42043 Up: Map Next: 42131
42059: Routine at A44B
Used by the routines at 40337, 42199 and 42319.
42059 LD B,0
42061 LD A,(38573)
42064 LD C,A
42065 LD A,(IX+6)
42068 CALL 45105
42071 JP M,42109
42074 ADD A,(IX+3)
42077 LD E,A
42078 ADD A,C
42079 JR C,42102
42081 LD A,(IX+7)
42084 CALL 45105
42087 JP M,42120
42090 ADD A,(IX+4)
42093 LD D,A
42094 CP 191
42096 RET C
42097 LD D,191
42099 SET 1,B
42101 RET
42102 LD A,C
42103 NEG
42105 LD E,A
42106 SET 0,B
42108 RET
42109 ADD A,(IX+3)
42112 LD E,A
42113 JR C,42081
42115 LD E,0
42117 SET 0,B
42119 RET
42120 ADD A,(IX+4)
42123 LD D,A
42124 CP 39
42126 RET NC
42127 LD D,39
42129 JR 42099
Prev: 42043 Up: Map Next: 42131