Prev: 45348 Up: Map Next: 45364
45351: Load A with weight of object A
Used by the routines at 42257 and 45466.
Input
A Index of object of interest
Output
A Weight of object of interest
45351 PUSH HL Store HL
45352 PUSH DE Store DE
45353 LD E,0 Point HL to the first byte of the A-th record in object properties table...
45355 CALL 45390 ...
45358 LD A,(HL) Load data at this location into A
45359 AND 15 Discard all but the weight bits
45361 POP DE Restore DE
45362 POP HL Restore HL
45363 RET Return
Prev: 45348 Up: Map Next: 45364