@@ -383,15 +383,15 @@ function randomjs(value) {
383383}
384384
385385function srand ( seed ) {
386- "RAM " ;
386+ "ram " ;
387387 if ( USECCODE )
388388 c . srand ( seed ) ;
389389 else
390390 srandjs ( seed ) ;
391391}
392392
393393function random ( value ) {
394- "RAM " ;
394+ "ram " ;
395395 if ( USECCODE )
396396 return c . random ( value ) ;
397397 else
@@ -510,7 +510,7 @@ function initCursors() {
510510// helper funcs
511511// --------------------------------------------------------------------------------------------------
512512function set_bkg_tile_xy ( x , y , tile , noScreenOffset ) {
513- "RAM " ;
513+ "ram " ;
514514 if ( ! noScreenOffset )
515515 g . drawImage ( currentTiles , SCREENOFFSETX + x * TILESIZE , screenOffsetY + y * TILESIZE , {
516516 frame : tile
@@ -522,7 +522,7 @@ function set_bkg_tile_xy(x, y, tile, noScreenOffset) {
522522}
523523
524524function set_bkg_tile_xy_sixteen ( x , y , tile ) {
525- "RAM " ;
525+ "ram " ;
526526 g . drawImage ( BLOCKTILESSIXTEEN , 8 + x * 16 , 12 + y * 16 , {
527527 frame : tile
528528 } ) ;
@@ -540,7 +540,7 @@ function get_bkg_data() {
540540
541541/*
542542function set_bkg_tiles(x, y, map) {
543- "RAM ";
543+ "ram ";
544544 g.drawImage(map, SCREENOFFSETX + x, screenOffsetY + y);
545545}
546546*/
@@ -1056,7 +1056,7 @@ function generateLeveljs() {
10561056
10571057function generateLevel ( )
10581058{
1059- "RAM " ;
1059+ "ram " ;
10601060 if ( USECCODE )
10611061 {
10621062 //var cellstack = new Uint8Array(MAXBOARDSIZE + 1);
@@ -1526,7 +1526,7 @@ function drawLevelSelect(partial) {
15261526 }
15271527 }
15281528
1529- //only draw right and bottom arrows
1529+ //only draw right and bottom arrows
15301530 if ( partial == 2 ) {
15311531 //Draw arrows for vertical / horizontal movement
15321532 if ( gameMode != GMROTATE ) {
@@ -1626,13 +1626,13 @@ function levelSelect() {
16261626// --------------------------------------------------------------------------------------------------
16271627/*
16281628function setCharAt(str, index, chr) {
1629- "RAM ";
1629+ "ram ";
16301630 if (index > str.length - 1) return str;
16311631 return str.substring(0, index) + chr + str.substring(index + 1);
16321632}
16331633
16341634function formatInteger(valinteger) {
1635- "RAM ";
1635+ "ram ";
16361636 const maxDigits = 10;
16371637 let array = " ";
16381638
@@ -1667,7 +1667,7 @@ function formatInteger(valinteger) {
16671667
16681668//print a number on levelselect or game screen
16691669function printNumber(ax, ay, aNumber, maxDigits, noScreenOffset) {
1670- "RAM ";
1670+ "ram ";
16711671 const buffSize = 10;
16721672
16731673 let ret = formatInteger(aNumber);
@@ -1684,7 +1684,7 @@ function printNumber(ax, ay, aNumber, maxDigits, noScreenOffset) {
16841684
16851685//print a message on the title screen on ax,ay, the tileset from titlescreen contains an alphabet
16861686function printMessage ( ax , ay , amsg , noScreenOffset ) {
1687- "RAM " ;
1687+ "ram " ;
16881688 let aCode = 'A' . charCodeAt ( 0 ) ;
16891689 let zCode = 'Z' . charCodeAt ( 0 ) ;
16901690 let zeroCode = '0' . charCodeAt ( 0 ) ;
0 commit comments