peasant: rebalance climbing

was too hard with good RNG
This commit is contained in:
Vince Weaver 2024-10-10 16:31:51 -04:00
parent 73b38a02e5
commit fc34c33d67
2 changed files with 2 additions and 2 deletions

View File

@ -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:

View File

@ -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;