-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTITLE.MIN.JS
More file actions
1 lines (1 loc) · 1.56 KB
/
Copy pathTITLE.MIN.JS
File metadata and controls
1 lines (1 loc) · 1.56 KB
1
(function(o){let t=0;function n(){h.setColor(0).fillRect(130,238,350,270).setColor(3).drawRect(132,240,348,268),h.setFont("Monofonto18").setFontAlign(-1,0).drawString("<",144,254).setFontAlign(1,0).drawString(">",336,254).setFont("Monofonto23").setFontAlign(0,0).drawString(0===t?"Random Map":"Map "+(t<10?"0"+t:t),240,255)}function e(e){if(0===e)return Pip.audioStart("HOLO/RADROACH_RACES/BUGLE.WAV"),o.go(o.scenes.RACE,{mapId:t}),void 0;t=(t+e+17)%17,Pip.playSound("SCROLL"),n(),h.flip(),Pip.lastFlip=getTime()}h.setColor(0).fillRect(0,0,480,320).setColor(2).drawRect(18,18,465,298),h.setFont("Monofonto36").setFontAlign(0,-1).setColor(3).drawString("RADROACH RACES",240,52).setFont("Monofonto18").setFontAlign(0,-1).setColor(2).drawString("by Theeohn",360,94).setFont("Monofonto14").setFontAlign(0,-1).setColor(2).drawString("v2.0.1",444,282),h.setColor(2).drawLine(55,180,425,180).drawLine(55,200,425,200);for(let o=75;o<425;o+=35)h.fillRect(o,150,o+15,230);for(let o=35;o<445;o+=12)h.drawLine(o,230,o-4,210).drawLine(o+3,230,o+6,205);return h.setColor(3).fillEllipse(200,165,280,215).fillCircle(240,150,18).drawLine(236,138,205,105).drawLine(244,138,275,105).drawPoly([205,165,180,175,165,200],!1).drawPoly([200,190,175,200,160,230],!1).drawPoly([275,165,300,175,315,200],!1).drawPoly([280,190,305,200,320,230],!1),n(),h.setFont("Monofonto14").setFontAlign(0,-1).setColor(3).drawString("PRESS LEFT WHEEL TO RACE!",241,278),h.flip(),Pip.lastFlip=getTime(),Pip.onExclusive("knob1",e),Pip.onExclusive("knob2",e),{remove:function(){Pip.removeListener("knob1",e),Pip.removeListener("knob2",e)}}});