ref: 1e593d8f8cd07e1072992dc1fc962b6de7508aad
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