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