Changes between Version 5 and Version 6 of Ticket #10835, comment 4
- Timestamp:
- Dec 14, 2018, 1:10:47 AM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #10835, comment 4
v5 v6 20 20 (= register_verb 37) 21 21 ) 22 (= loc3 (g0_hero heading:))22 (= loc3_heading (g0_hero heading:)) 23 23 (= loc0 (g0_hero loop:)) 24 24 (g0_hero setMotion: 0) … … 28 28 (cond 29 29 # Mundane thrown projectile. 30 ((< register_verb 75) 9) 31 ((and (> (hero view:) 17) (< (hero view:) 21)) 18) 32 else 14 30 ((< register_verb 75) 31 9 32 ) 33 ((and (> (hero view:) 17) (< (hero view:) 21)) 34 18 35 ) 36 (else 37 14 38 ) 33 39 ) 34 40 loop: 35 41 (cond 36 ((and (<= 0 loc3) (<= loc3 85)) (= loc2 2)) 37 ((and (<= 86 loc3) (<= loc3 180)) (= loc2 0)) 38 ((and (<= 181 loc3) (<= loc3 274)) (= loc2 1)) 39 (else (= loc2 3)) 42 ((and (<= 0 loc3_heading) (<= loc3_heading 85)) 43 (= loc2 2) 44 ) 45 ((and (<= 86 loc3_heading) (<= loc3 180_heading)) 46 (= loc2 0) 47 ) 48 ((and (<= 181 loc3_heading) (<= loc3_heading 274)) 49 (= loc2 1) 50 ) 51 (else 52 (= loc2 3) 53 ) 40 54 ) 41 55 setCel: 0 … … 44 58 (cond 45 59 # Mundane thrown projectile. 46 ((< register_verb 75) (g0_hero setCycle: CT 4 1 self)) 47 60 ((< register_verb 75) 61 (g0_hero setCycle: CT 4 1 self) 62 ) 48 63 # hero's holding the staff. 49 ((and (> (g0_hero view:) 17) (< (g0_hero view:) 21)) (g0_hero setCycle: CT 2 1 self)) 50 (else (g0_hero setCycle: End self)) 64 ((and (> (g0_hero view:) 17) (< (g0_hero view:) 21)) 65 (g0_hero setCycle: CT 2 1 self) 66 ) 67 (else 68 (g0_hero setCycle: End self) 69 ) 51 70 ) 52 71 ) … … 66 85 (= g441_myX (+ g441_myX (if (Random 0 1) (- 0 temp0) else temp0))) 67 86 ) 87 68 88 ((ProjObj new:) fixPriority: 1 type: register_verb init:) 89 69 90 (switch register_verb 70 (86 71 (spellSoundFX number: 933 play:) 72 ) 73 (88 74 (spellSoundFX number: 938 play:) 75 ) 76 (93 77 (spellSoundFX number: 974 play:) 78 ) 79 (79 80 (spellSoundFX number: 983 play:) 81 ) 82 (else 83 (spellSoundFX number: 916 play:) 84 ) 91 (86 (spellSoundFX number: 933 play:)) 92 (88 (spellSoundFX number: 938 play:)) 93 (93 (spellSoundFX number: 974 play:)) 94 (79 (spellSoundFX number: 983 play:)) 95 (else (spellSoundFX number: 916 play:)) 85 96 ) 86 97 (if … … 119 130 \\ 120 131 \\ 121 Stepping through at regular and max speed then diffing the logs showed state 2 is playing out exactly the same, regardless of speed. Except at max, it can reach state 3. At slower speeds, it cannot.132 Stepping through at regular and max speed then diffing the logs showed state 2 is playing out exactly the same, regardless of speed. Except for some reason, it can reach state 3 at max. At slower speeds, it cannot.