
ScrollLayer:    movem.l    D6-D7/A3/A6,-(A7)
           movea.l    A1,A3
           move.l     D0,D7
           move.l     D1,D6
           movem.l    A5-A6,-(A7)
           movea.l    $22(A6),A6
           movea.l    A3,A5
            jsr        -$1B0(A6)
           movem.l    (A7)+,A5-A6
           tst.l      $20(A3)
            beq.b      JL_0_30
           move.l     A6,-(A7)
           movea.l    A3,A0
           movea.l    $22(A6),A6
            jsr        -$1BC(A6)
           movea.l    (A7)+,A6
JL_0_30:   move.w     $2C(A3),D0
           ext.l      D0
           add.l      D7,D0
           move.w     D0,$2C(A3)
           move.w     $2E(A3),D0
           ext.l      D0
           add.l      D6,D0
           move.w     D0,$2E(A3)
           tst.l      $20(A3)
            beq.b      JL_0_62
           move.l     A6,-(A7)
           movea.l    A3,A0
           movea.l    $22(A6),A6
            jsr        -$1C2(A6)
           movea.l    (A7)+,A6
           movea.l    A3,A0
            jsr        $682EE334(PC)
JL_0_62:   movem.l    A5-A6,-(A7)
           movea.l    $22(A6),A6
           movea.l    A3,A5
            jsr        -$1B6(A6)
           movem.l    (A7)+,A5-A6
           movem.l    (A7)+,D6-D7/A3/A6
          rtS


          
