55241: Routine at D7C9
55241 |
LD A,(57554) |
55244 |
LD BC,(58728) |
55248 |
LD HL,54612 |
55251 |
CP 21 |
55253 |
JR NZ,55268 |
55255 |
LD (55328),BC |
55259 |
BIT 1,(HL) |
55261 |
JR NZ,55268 |
55263 |
LD A,1 |
55265 |
LD (54615),A |
55268 |
CP 61 |
55270 |
JR NZ,55285 |
55272 |
LD (55330),BC |
55276 |
BIT 2,(HL) |
55278 |
JR NZ,55285 |
55280 |
LD A,1 |
55282 |
LD (54616),A |
55285 |
CP 62 |
55287 |
JR NZ,55302 |
55289 |
LD (55332),BC |
55293 |
BIT 3,(HL) |
55295 |
JR NZ,55302 |
55297 |
LD A,1 |
55299 |
LD (54617),A |
55302 |
CP 63 |
55304 |
RET NZ |
55305 |
LD (55334),BC |
55309 |
BIT 4,(HL) |
55311 |
RET NZ |
55312 |
LD A,1 |
55314 |
LD (54618),A |
55317 |
RET |