Prev: 33601 Up: Map Next: 33645
33640: Check whether Magic Knight is wearing an object
Used by the routines at 28470, 28482, 28494, 30686, 31122, 31688, 32895, 33170, 34265 and 53498.
Input
A Index of an object
Output
F Zero flag set if object is present in inventory, reset otherwise
33640 LD HL,25169 Point HL at start of Magic Knight's inventory (wearing)
33643 JR 33648 Jump to 33648 (set zero flag if Magic Knight is wearing object A, reset otherwise)
Prev: 33601 Up: Map Next: 33645