39900: Routine at 9BDC
39900 |
DEFB 255 |
39901 |
LD HL,39900 |
39904 |
LD (HL),1 |
39906 |
CALL 39959 |
39909 |
LD A,(HL) |
39910 |
AND A |
39911 |
RET NZ |
39912 |
PUSH HL |
39913 |
LD A,(49451) |
39916 |
AND A |
39917 |
JR Z,39955 |
39919 |
LD A,(46826) |
39922 |
PUSH AF |
39923 |
LD HL,(46860) |
39926 |
PUSH HL |
39927 |
LD HL,49435 |
39930 |
LD (46860),HL |
39933 |
XOR A |
39934 |
LD (46826),A |
39937 |
LD A,B |
39938 |
LD (36251),A |
39941 |
CALL Action_Dir_4 |
39944 |
CALL Action_None |
39947 |
POP HL |
39948 |
LD (46860),HL |
39951 |
POP AF |
39952 |
LD (46826),A |
39955 |
POP HL |
39956 |
XOR A |
39957 |
LD (HL),A |
39958 |
RET |
39959 |
PUSH IY |
39961 |
PUSH IX |
39963 |
LD IX,49248 |
39967 |
CALL Step3ByteTable_Next |
39970 |
JR Z,39996 |
39972 |
CP (IY+1) |
39975 |
JR NZ,39967 |
39977 |
LD (IY+16),B |
39980 |
PUSH AF |
39981 |
LD A,(IX+0) |
39984 |
AND A |
39985 |
JR NZ,39990 |
39987 |
LD (39900),A |
39990 |
CALL 39959 |
39993 |
POP AF |
39994 |
JR 39967 |
39996 |
POP IX |
39998 |
POP IY |
40000 |
RET |