ref: 21b2ab0065155a3f1aa8406e24f0a02929c06ea4 dir: /engine/random.asm/
Random_:: ; Generate a random 16-bit value. ld a, [rDIV] ld b, a ld a, [hRandomAdd] adc b ld [hRandomAdd], a ld a, [rDIV] ld b, a ld a, [hRandomSub] sbc b ld [hRandomSub], a ret