41958: Action: Capture
ActionCapture |
41958 |
LD IX,(46856) |
|
41962 |
LD A,(IX+4) |
|
41965 |
AND 112 |
|
41967 |
PUSH IX |
|
41969 |
LD IX,(46860) |
|
41973 |
AND (IX+4) |
|
41976 |
POP IX |
|
41978 |
JP NZ,40822 |
|
41981 |
BIT 6,(IX+7) |
|
41985 |
JP Z,40822 |
|
41988 |
LD A,(46826) |
|
41991 |
LD B,31 |
|
41993 |
CP 64 |
|
41995 |
JR Z,ActionCapture_0 |
|
41997 |
CP 66 |
|
41999 |
JR Z,ActionCapture_0 |
|
42001 |
LD B,13 |
ActionCapture_0 |
42003 |
LD A,(46838) |
|
42006 |
CP B |
|
42007 |
JP Z,40822 |
|
42010 |
CALL 40260 |
|
42013 |
LD IX,(46856) |
|
42017 |
LD (IX+16),B |
|
42020 |
LD (IX+1),255 |
|
42024 |
LD A,(46824) |
|
42027 |
CALL 39901 |
|
42030 |
LD A,(46824) |
|
42033 |
CP 0 |
|
42035 |
RET NZ |
|
42036 |
LD (46826),A |
|
42039 |
LD HL,49435 |
|
42042 |
LD (46860),HL |
|
42045 |
CALL LocationLit |
|
42048 |
RET C |
|
42049 |
LD A,B |
|
42050 |
LD HL,45052 |
|
42053 |
JP YouSeeWrapper |
|
42056 |
LD IX,(46856) |
|
42060 |
BIT 3,(IX+7) |
|
42064 |
RET Z |
|
42065 |
RES 3,(IX+7) |
|
42069 |
LD DE,6 |
|
42072 |
LD IY,42140 |
|
42076 |
LD A,(46824) |
ActionCapture_1 |
42079 |
CP (IY+0) |
|
42082 |
JR Z,ActionCapture_2 |
|
42084 |
ADD IY,DE |
|
42086 |
JR ActionCapture_1 |
ActionCapture_2 |
42088 |
PUSH IY |
ActionCapture_3 |
42090 |
POP HL |
|
42091 |
INC HL |
|
42092 |
LD E,(HL) |
|
42093 |
INC HL |
|
42094 |
LD D,(HL) |
|
42095 |
LD (DE),A |
|
42096 |
INC HL |
|
42097 |
LD A,(HL) |
|
42098 |
LD (IX+16),A |
|
42101 |
INC HL |
|
42102 |
LD A,(HL) |
|
42103 |
LD (IX+10),A |
|
42106 |
INC HL |
|
42107 |
LD A,(HL) |
|
42108 |
LD (IX+11),A |
|
42111 |
LD HL,45160 |
|
42114 |
CALL PrintMsg |
|
42117 |
LD A,(49451) |
|
42120 |
CP B |
|
42121 |
RET NZ |
|
42122 |
LD DE,94 |
|
42125 |
CALL PrintToken |
|
42128 |
LD DE,738 |
|
42131 |
CALL PrintToken |
|
42134 |
LD HL,45080 |
|
42137 |
JP PrintMsg |
|
42140 |
DEC A |
|
42141 |
JR ActionCapture_3 |
|
42143 |
RRCA |
|
42144 |
LD L,D |
|
42145 |
INC B |
|
42146 |
LD B,L |
|
42147 |
RRA |
|
42148 |
SRL D |
|
42150 |
SCF |
|
42151 |
INC BC |
|
42152 |
LD C,C |
|
42153 |
DEC L |
|
42154 |
RL D |
|
42156 |
LD H,C |
|
42157 |
INC BC |
|
42158 |
LD C,D |
|
42159 |
INC (HL) |
|
42160 |
SRL B |
|
42162 |
INC (HL) |
|
42163 |
INC B |
|
42164 |
LD C,E |
|
42165 |
LD H,203 |
|
42167 |
LD B,B |
|
42168 |
LD B,C |
|
42169 |
RLCA |
|
42170 |
LD C,H |
|
42171 |
DEC SP |
|
42172 |
RL B |
|
42174 |
OR (HL) |
|
42175 |
LD BC,10973 |
|
42178 |
INC C |
|
42179 |
OR A |
|
42180 |
LD A,(IX+16) |
|
42183 |
CP 16 |
|
42185 |
JP NZ,40822 |
|
42188 |
CALL 37134 |
|
42191 |
CALL 38911 |
|
42194 |
LD A,(51865) |
|
42197 |
LD (51866),A |
|
42200 |
RET |
|
42201 |
LD HL,49995 |
|
42204 |
RES 5,(HL) |
|
42206 |
RET |
|
42207 |
CALL 40260 |
|
42210 |
LD A,10 |
|
42212 |
CALL GetRandomNum |
|
42215 |
LD HL,45222 |
|
42218 |
CP 8 |
|
42220 |
JP NC,DisplayExits_14 |
|
42223 |
LD HL,45127 |
|
42226 |
JP DisplayExits_14 |
|
42229 |
CALL 40260 |
|
42232 |
LD HL,45131 |
|
42235 |
JP DisplayExits_14 |
|
42238 |
CALL 40260 |
|
42241 |
LD A,2 |
|
42243 |
CALL GetRandomNum |
|
42246 |
LD HL,45138 |
|
42249 |
CP 0 |
|
42251 |
JP Z,DisplayExits_14 |
|
42254 |
LD HL,45147 |
|
42257 |
CP 1 |
|
42259 |
JP Z,DisplayExits_14 |
|
42262 |
LD HL,45151 |
|
42265 |
JP DisplayExits_14 |
|
42268 |
CALL 40260 |
|
42271 |
LD HL,45153 |
|
42274 |
JP DisplayExits_14 |
|
42277 |
LD A,(46838) |
|
42280 |
LD HL,46837 |
|
42283 |
CP (HL) |
|
42284 |
RET NZ |
|
42285 |
CALL 40260 |
|
42288 |
LD HL,45151 |
|
42291 |
JP DisplayExits_14 |
|
42294 |
LD A,(46826) |
|
42297 |
CP 64 |
|
42299 |
JP NZ,40822 |
|
42302 |
JP 37134 |