Jump to content



0

Adventure: Playfield Manipulation Midscreen...?


100 replies to this topic

#101 Nukey Shay OFFLINE  

Nukey Shay

    Sheik Yerbouti

  • 20,458 posts
  • Location:The land of Gorch

Posted Sat Feb 26, 2011 6:05 AM

Bugfix...remove OBJX from the UNROLL condition (or reflect may malfunction):

SetupObjectPrint:
       ldx    CurrentObject+2     ;3 Setup Object1 to print...get Object 1
       lda    Object_Data_LSB,x   ;4 Get low pointer to it's dynamic information
       sta    CurrentObject       ;3 ...Store
       lda    Object_Data_MSB,x   ;4 Get high pointer to it's dynamic informtion
       sta    CurrentObject+1     ;3 ...Store
       ldy    #$01                ;2 Set initial Y index
       lda    (CurrentObject),y   ;5 Get Object1's horizontal co-ordinate
  IF UNROLL_POSITIONING
       sta    Temp                ;3 ...And store for printing
  ENDIF
       sta    ObjX                ;3 (Also save as current)





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users