Prev: A377 Up: Map Next: A3BC
A390: WEAR, carried by the ring
The wearer is invisible -- flag bit 7 clear -- and a quarter as strong, the ring is out of sight too, and timer 6 is set to take it off again in 2 to 10 turns (see TIMERS).
WEAR_RING A390 CALL FOR_REAL
A393 LD IY,(ACTOR) Invisible, and weaker
A397 LD IX,VALUABLE_GOLDEN_RING
A39B RES 7,(IY+$07)
A39F SRL (IY+$05)
A3A3 SRL (IY+$05)
A3A7 RES 7,(IX+$07) The ring, out of sight on the wearer
A3AB LD A,(ACTING)
A3AE LD (IX+$01),A
A3B1 LD A,$08 Off again in 2 to 10 turns
A3B3 CALL RANDOM_POSITIVE
A3B6 ADD A,$02
A3B8 LD (TIMER6_COUNT),A
A3BB RET
Prev: A377 Up: Map Next: A3BC