ref: eec15bd7fa5ac611e33e53a0b603b73338db474f
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