49845: Routine at C2B5
49845 |
PUSH HL |
49846 |
PUSH DE |
49847 |
LD A,(50189) |
49850 |
LD D,A |
49851 |
LD E,C |
49852 |
CALL 49945 |
49855 |
LD A,B |
49856 |
SRL A |
49858 |
SRL A |
49860 |
LD E,A |
49861 |
LD D,0 |
49863 |
ADD HL,DE |
49864 |
POP DE |
49865 |
ADD HL,DE |
49866 |
LD D,H |
49867 |
LD E,L |
49868 |
POP HL |
49869 |
LD A,B |
49870 |
AND 3 |
49872 |
JP Z,49900 |
49875 |
CP 1 |
49877 |
JP Z,49895 |
49880 |
CP 2 |
49882 |
JP Z,49890 |
49885 |
LD C,8 |
49887 |
JP 49902 |
49890 |
LD C,4 |
49892 |
JP 49902 |
49895 |
LD C,2 |
49897 |
JP 49902 |
49900 |
LD C,0 |
49902 |
LD A,(50188) |
49905 |
OR C |
49906 |
LD (50190),A |
49909 |
LD A,(50187) |
49912 |
LD (50183),A |
49915 |
LD A,(50189) |
49918 |
LD (50184),A |
49921 |
CALL 34819 |
49924 |
RET |