StupidEggplantThatNeverPosts #1 Posted June 30, 2019 I'm having a syntax error and I cant figure out whats wrong. Heres the code: rem Generated 6/29/2019 7:26:11 PM by Visual bB Version 1.0.0.568 rem ********************************** rem *<filename> * rem *<description> * rem *<author> * rem *<contact info> * rem *<license> * rem ********************************** set romsize 16k dim gamenumber=a dim swdebounce=b const scorefade=1 scorecolor=$1a swdebounce=0 gamenumber=1 titlepage gosub titledrawscreen bank2 if gamenumber=1+switchreset then goto gamestart1 if !switchselect then swdebounce=0 if swdebounce>0 then swdebounce=swdebounce-1: goto titlepage if switchselect then swdebounce=30: gamenumber=gamenumber+1 if gamenumber=7 then gamenumber=1 goto titlepage gamestart1 playfield: ................................ ............XX.XX.XX............ ....XXX.XXX.XX.XX.XX.XXX.XXX.... ....X.X..X..XX.XX.XX.X.X..X..... ....XXX..X..XX.XX.XX.XXX..X..... ....X.X..X..XX.XX.XX.XX...X..... ....X.X..X..XX.XX.XX.X.X.XXX.... ...........XX..XX..XX........... ..........XX...XX...XX.......... .........XX....XX....XX......... ................................ end COLUBK = $08 COLUPF = $46 draw_loop drawscreen goto draw_loop bank 2 asm incl Does anyone notice whats wrong? Quote Share this post Link to post Share on other sites
+Random Terrain #2 Posted June 30, 2019 What's that stuff after bank 2? Quote Share this post Link to post Share on other sites
StupidEggplantThatNeverPosts #3 Posted June 30, 2019 2 minutes ago, Random Terrain said: What's that stuff after bank 2? I copied some code from a mini kernel leaving that behind because I couldn't figure out how to use a mini kernel. That was the problem. Thx! 1 Quote Share this post Link to post Share on other sites