[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/vr/ - Retro Games

Search:


View post   

>> No.9081068 [View]
File: 65 KB, 792x775, FF4_RNG2.png [View same] [iqdb] [saucenao] [google]
9081068

>>9081005
Pic for clarity. The 2nd RNG call is on the top, it returns random value in v0 register. It returned v0=0x79 in this case, so that would drop the 1st item in FF4 (interval 0..0x80) but the 2nd item in Intelude/AY (0x77..0xC6 interval).

Alternatively, modify interval boundaries (also pictured). I suggest 0x66/B3/E6 = 40%/60% distribution for monsters which can drop 2 items, 40%/30%/30% (3 items), 40%/30%/20%/10% (4 items). Again, this will only happen if you pass the 5% roll first.

Navigation
View posts[+24][+48][+96]