50030: Routine at C36E
50030 |
LD A,(HL) |
50031 |
LD (50196),A |
50034 |
INC HL |
50035 |
LD A,(HL) |
50036 |
LD (50197),A |
50039 |
INC HL |
50040 |
LD C,(HL) |
50041 |
INC HL |
50042 |
LD B,(HL) |
50043 |
INC HL |
50044 |
LD (50200),BC |
50048 |
PUSH HL |
50049 |
LD A,(50191) |
50052 |
LD (50189),A |
50055 |
LD A,(50192) |
50058 |
LD (50188),A |
50061 |
LD A,(50193) |
50064 |
LD (50187),A |
50067 |
LD A,(50195) |
50070 |
LD C,A |
50071 |
LD A,(50197) |
50074 |
ADD A,C |
50075 |
LD C,A |
50076 |
LD A,(50197) |
50079 |
CP 255 |
50081 |
JP NZ,50096 |
50084 |
PUSH BC |
50085 |
LD A,(50202) |
50088 |
LD B,A |
50089 |
LD A,190 |
50091 |
SUB B |
50092 |
SUB 12 |
50094 |
POP BC |
50095 |
LD C,A |
50096 |
LD A,(50192) |
50099 |
AND A |
50100 |
JP NZ,50115 |
50103 |
LD A,(50194) |
50106 |
LD B,A |
50107 |
LD A,(50196) |
50110 |
ADD A,B |
50111 |
LD B,A |
50112 |
JP 50138 |
50115 |
PUSH BC |
50116 |
LD A,(50196) |
50119 |
LD B,A |
50120 |
LD A,(HL) |
50121 |
LD C,A |
50122 |
LD A,(50198) |
50125 |
SLA C |
50127 |
SLA C |
50129 |
SUB B |
50130 |
SUB C |
50131 |
POP BC |
50132 |
LD B,A |
50133 |
LD A,(50194) |
50136 |
ADD A,B |
50137 |
LD B,A |
50138 |
CALL 49845 |
50141 |
LD BC,(50200) |
50145 |
POP HL |
50146 |
ADD HL,BC |
50147 |
RET |