46014 |
DEFB 176,136,96,56,16 |
46019 |
LD DE,4892 |
46022 |
LD HL,52466 |
46025 |
CALL Switch_DrawSprite_Functions |
46028 |
LD IY,48231 |
46032 |
LD HL,46014 |
46035 |
LD B,5 |
46037 |
PUSH BC |
46038 |
LD (IY+10),152 |
46042 |
LD A,(IY+5) |
46045 |
CP (HL) |
46046 |
JR Z,46109 |
46048 |
PUSH AF |
46049 |
LD A,(IY+15) |
46052 |
CP 22 |
46054 |
JR Z,46067 |
46056 |
LD (IY+15),22 |
46060 |
LD (IY+5),0 |
46064 |
POP AF |
46065 |
SCF |
46066 |
PUSH AF |
46067 |
POP AF |
46068 |
PUSH HL |
46069 |
JR NC,46084 |
46071 |
LD (IY+60),1 |
46075 |
LD (IY+65),1 |
46079 |
CALL 45704 |
46082 |
JR 46095 |
46084 |
LD (IY+60),255 |
46088 |
LD (IY+65),255 |
46092 |
CALL 45704 |
46095 |
POP HL |
46096 |
POP BC |
46097 |
LD IY,48231 |
46101 |
CALL 61121 |
46104 |
CALL Draw_Characters_CurrentRoom |
46107 |
JR 46028 |
46109 |
LD A,(IY+15) |
46112 |
CP 22 |
46114 |
JR NZ,46048 |
46116 |
POP BC |
46117 |
INC HL |
46118 |
INC IY |
46120 |
DJNZ 46037 |
46122 |
LD A,(63195) |
46125 |
OR A |
46126 |
JR Z,46097 |
46128 |
LD DE,1024 |
46131 |
LD HL,32360 |
46134 |
CALL Controller_Tile |
46137 |
CALL PressAnyKey |
46140 |
CALL Clear_Screen |
46143 |
LD DE,2 |
46146 |
LD HL,31862 |
46149 |
CALL PrintString |
46152 |
CALL PressAnyKey |
46155 |
CALL PrintWages |
46158 |
JP GameLoop |