Jump to content
IGNORED

Having Syntax Issue


Recommended Posts

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?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...