Routines
Prev:
45466
Up:
Map
Next:
45510
45505: Check whether Magic Knight is wearing an object
Used by the routines at
38841
,
40546
,
40614
,
46560
and
62330
.
Input
A
Index of an object
Output
F
Zero flag set if object is present in inventory, reset otherwise
45505
LD HL,24853
Point
HL
at start of Magic Knight's inventory (wearing)
45508
JR
45513
Jump to
45513
(set zero flag if Magic Knight is wearing object
A
, reset otherwise)
Prev:
45466
Up:
Map
Next:
45510