Changed calls to "setrandom" into calls to "setrand" and

calls to "randomize" inro calls to "randomi" to avoid
problems with routines compiled by C.
This commit is contained in:
keie 1985-01-21 14:48:16 +00:00
parent decda89fba
commit 770f321ea8

View file

@ -362,10 +362,10 @@ printlist: expression { printstmt($1); $$=1;}
pokestmt: POKESYM expression ',' expression {pokestmt($2,$4);}
;
randomizestmt: RANDOMIZESYM
{ emcode("cal","$_randomize");}
{ emcode("cal","$_randomi");}
| RANDOMIZESYM expression
{ conversion($2,INTTYPE);
emcode("cal","$_setrandom");
emcode("cal","$_setrand");
emcode("asp",EMINTSIZE);}
readstmt: READSYM {setchannel(0);} variable { readelm($3);}