mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-12-27 17:29:49 +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
|
||||
rock_freq_smc:
|
||||
and #$1f ; 1/32 of time start new rock
|
||||
and #$7f ; 1/128 of time start new rock
|
||||
bne rock_good
|
||||
|
||||
start_new_rock:
|
||||
|
@ -40,7 +40,7 @@ int main(int argc, char **argv) {
|
||||
|
||||
for(i=0;i<1024;i++) {
|
||||
r=rand8();
|
||||
printf("%02X m%02X\n",r,r&0x1f);
|
||||
printf("%d: %02X m%02X\n",i,r,r&0x1f);
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user