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