Changes between Initial Version and Version 1 of Ticket #10779, comment 4


Ignore:
Timestamp:
11/19/18 19:15:59 (5 years ago)
Author:
Vhati

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #10779, comment 4

    initial v1  
    11Here's the floppy edition's grind script, annotated where the CD edition differs.
    2 
     2\\
     3\\
     4script 480 - sGrindBones
    35{{{
    4 (instance sGrindBones of Script
    5         (properties)
    6        
    7         (method (changeState param1)
    8                 (switch (= state param1)
    9                         (0
    10                                 (g1_Glory handsOff:)
    11                                 (pestle signal: (| (pestle signal?) $0001))
    12                                 (= register (global0 cycleSpeed?))
    13                                 (g0_hero
    14                                         view: 480
     6(method (changeState param1)
     7        (switch (= state param1)
     8                (0
     9                        (g1_Glory handsOff:)
     10                        (pestle signal: (| (pestle signal?) $0001))
     11                        (= register (global0 cycleSpeed?))
     12                        (g0_hero
     13                                view: 480
    1514# CD has priority 10.
    16                                         setPri: (+ (g0_hero priority?) 1)
    17                                         setLoop: 9 1
    18                                         setCel: 0
    19                                         setSpeed: 6
    20                                         setCycle: CT 1 1 self
    21                                 )
    22                                 (pestle hide:)
     15                                setPri: (+ (g0_hero priority?) 1)
     16                                setLoop: 9 1
     17                                setCel: 0
     18                                setSpeed: 6
     19                                setCycle: CT 1 1 self
    2320                        )
    24                         (1 (g0_hero setCycle: End self))
    25                         (2
    26                                 (g0_hero
    27                                         setLoop: 10 1
    28                                         setCel: 0
    29                                         setCycle: ForwardCounter 3 self
    30                                 )
    31                                 (pestle
    32                                         show:
    33                                         signal: (| (pestle signal?) $0001)
    34                                         view: 480
    35                                         x: (g0_hero x?)
    36                                         y: (g0_hero y?)
     21                        (pestle hide:)
     22                )
     23                (1 (g0_hero setCycle: End self))
     24                (2
     25                        (g0_hero
     26                                setLoop: 10 1
     27                                setCel: 0
     28                                setCycle: ForwardCounter 3 self
     29                        )
     30                        (pestle
     31                                show:
     32                                signal: (| (pestle signal?) $0001)
     33                                view: 480
     34                                x: (g0_hero x?)
     35                                y: (g0_hero y?)
    3736# CD has z = -3.
    38                                         z: 4
    39                                         setLoop: 11 1
    40                                         setCel: 0
    41                                         cycleSpeed: (g0_hero cycleSpeed?)
    42                                         setScale:
     37                                z: 4
     38                                setLoop: 11 1
     39                                setCel: 0
     40                                cycleSpeed: (g0_hero cycleSpeed?)
     41                                setScale:
    4342# CD removes scaleX/Y.
    44                                         scaleX: (g0_hero scaleX?)
    45                                         scaleY: (g0_hero scaleY?)
    46                                         setPri: 250
    47                                         show:
    48                                         setCycle: Fwd
    49                                 )
     43                                scaleX: (g0_hero scaleX?)
     44                                scaleY: (g0_hero scaleY?)
     45                                setPri: 250
     46                                show:
     47                                setCycle: Fwd
    5048                        )
    51                         (3
     49                )
     50                (3
    5251# CD has "setCycle: 0 hide:".
    53                                 (pestle hide:)
    54                                 (g0_hero setLoop: 9 1 setCel: 2 setCycle: Beg self)
     52                        (pestle hide:)
     53                        (g0_hero setLoop: 9 1 setCel: 2 setCycle: Beg self)
     54                )
     55                (4
     56                        (g0_hero solvePuzzle: 431 2)
     57                        (pestle
     58                                setLoop: 8 1
     59                                setPri: 107
     60# CD has x=153, y=122.
     61                                x: 165
     62                                y: 105
     63                                z: 20
     64                                scaleX: 128
     65                                scaleY: 128
     66                                show:
    5567                        )
    56                         (4
    57                                 (g0_hero solvePuzzle: 431 2)
    58                                 (pestle
    59                                         setLoop: 8 1
    60                                         setPri: 107
    61 # CD has x=153, y=122.
    62                                         x: 165
    63                                         y: 105
    64                                         z: 20
    65                                         scaleX: 128
    66                                         scaleY: 128
    67                                         show:
    68                                 )
    69                                 (= cycles 3)
    70                         )
    71                         (5
    72                                 (g91_gloryMessager say: 13 4 111 0 self)
    73                         )
    74                         (6
    75                                 (g0_hero normalize: 4 setSpeed: register)
    76                                 (g1_Glory handsOn:)
    77                                 (self dispose:)
    78                         )
     68                        (= cycles 3)
     69                )
     70                (5
     71                        (g91_gloryMessager say: 13 4 111 0 self)
     72                )
     73                (6
     74                        (g0_hero normalize: 4 setSpeed: register)
     75                        (g1_Glory handsOn:)
     76                        (self dispose:)
    7977                )
    8078        )