Jump to content
Sign in to follow this  
FunkyStudios

I'm having a issue with Visual Batari Basic randomly not allowing draw_loop all the sudden.(SOLVED)

Recommended Posts

Hello, I'm working on my first game, and I'm currently having a issue where all the sudden now whenever I compile what I have, it has a Syntax Error where with having the keyword 'draw_loop'. If anyone knows what is going on, please let me know!
image.png.5e64db8c097b2768872e5174fdbb883b.pngimage.png.b40159d0485123e404ef882b8744e8a7.png

game
.L00 ;  rem Generated 1/24/2021 12:47:01 AM by Visual bB Version 1.0.0.554

.L01 ;  rem **********************************

.L02 ;  rem *<filename>                      *

.L03 ;  rem *<description>                   *

.L04 ;  rem *<author>                        *

.L05 ;  rem *<contact info>                  *

.L06 ;  rem *<license>                       *

.L07 ;  rem **********************************

.
 ; 

.L08 ;  playfield:

  ifconst pfres
      ldx #(11>pfres)*(pfres*pfwidth-1)+(11<=pfres)*43
  else
      ldx #((11*pfwidth-1)*((11*pfwidth-1)<47))+(47*((11*pfwidth-1)>=47))
  endif
    jmp pflabel0
PF_data0
    .byte %11111111, %11111111
    if (pfwidth>2)
    .byte %11111111, %11111111
 endif
    .byte %00000000, %00000000
    if (pfwidth>2)
    .byte %00000000, %00000000
 endif
    .byte %00000000, %00000000
    if (pfwidth>2)
    .byte %00000000, %00000000
 endif
    .byte %00000000, %00000000
    if (pfwidth>2)
    .byte %00000000, %00000000
 endif
    .byte %00000000, %00000000
    if (pfwidth>2)
    .byte %00000000, %00000000
 endif
    .byte %00000000, %00000000
    if (pfwidth>2)
    .byte %00000000, %00000000
 endif
    .byte %00000000, %00000000
    if (pfwidth>2)
    .byte %00000000, %00000000
 endif
    .byte %00000000, %00000000
    if (pfwidth>2)
    .byte %00000000, %00000000
 endif
    .byte %00000000, %00000000
    if (pfwidth>2)
    .byte %00000000, %00000000
 endif
    .byte %00000000, %00000000
    if (pfwidth>2)
    .byte %00000000, %00000000
 endif
    .byte %11111111, %11111111
    if (pfwidth>2)
    .byte %11111111, %11111111
 endif
pflabel0
    lda PF_data0,x
    sta playfield,x
    dex
    bpl pflabel0
.
 ; 

.L09 ;  COLUBK  =  26

    LDA #26
    STA COLUBK
.L010 ;  COLUPF  =  208

    LDA #208
    STA COLUPF
.
 ; 

.L011 ;  draw_loop

 

Edited by FunkyStudios

Share this post


Link to post
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.

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...
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...