Prev: 6A09 Up: Map Next: 6A40
6A27: Create a random number into A
Used by the routine at Item_Update.
Rnd 6A27 PUSH DE
6A28 PUSH HL
6A29 LD HL,($5C76)
6A2C LD D,H
6A2D LD E,L
6A2E ADD HL,HL
6A2F ADD HL,HL
6A30 ADD HL,DE
6A31 ADD HL,HL
6A32 ADD HL,HL
6A33 ADD HL,HL
6A34 ADD HL,DE
6A35 LD ($5C76),HL
6A38 LD A,H
6A39 POP HL
6A3A POP DE
6A3B RET
6A3C NOP
6A3D NOP
6A3E NOP
6A3F NOP
Prev: 6A09 Up: Map Next: 6A40