mirror of
https://github.com/deater/dos33fsprogs.git
synced 2025-01-14 13:33:48 +00:00
peasant: rebalance climbing
was too hard with good RNG
This commit is contained in:
parent
73b38a02e5
commit
fc34c33d67
@ -315,7 +315,7 @@ move_rock_waiting:
|
|||||||
|
|
||||||
jsr random8
|
jsr random8
|
||||||
rock_freq_smc:
|
rock_freq_smc:
|
||||||
and #$1f ; 1/32 of time start new rock
|
and #$7f ; 1/128 of time start new rock
|
||||||
bne rock_good
|
bne rock_good
|
||||||
|
|
||||||
start_new_rock:
|
start_new_rock:
|
||||||
|
@ -40,7 +40,7 @@ int main(int argc, char **argv) {
|
|||||||
|
|
||||||
for(i=0;i<1024;i++) {
|
for(i=0;i<1024;i++) {
|
||||||
r=rand8();
|
r=rand8();
|
||||||
printf("%02X m%02X\n",r,r&0x1f);
|
printf("%d: %02X m%02X\n",i,r,r&0x1f);
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user