Prev: 7087 Up: Map Next: 709D
7088: Routine at 7088
Used by the routine at 64AA.
7088 CALL GetRandomNumber Call GetRandomNumber.
708B LD E,A E=A.
708C LD A,H A=H.
708D CP $9F Jump to 709B if A is lower than 9F.
708F JR C,$709B
7091 JR Z,$7097 Jump to 7097 if A is equal to 9F.
7093 SUB $05 A-=05.
7095 JR $708D Jump to 708D.
7097 LD A,E A=E.
7098 AND %00000001 Keep only bit 0.
709A RET Return.
709B LD A,E A=E.
709C RET Return.
Prev: 7087 Up: Map Next: 709D