~ubuntu-branches/ubuntu/saucy/egoboo-data/saucy

« back to all changes in this revision

Viewing changes to modules/town.mod/objects/identify.obj/script.txt

  • Committer: Bazaar Package Importer
  • Author(s): Mark Purcell
  • Date: 2010-04-25 10:20:11 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20100425102011-1aosouybjkexdg9v
Tags: 1:2.7.7-1
* New Upstream Release
* Switch to debhelper

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
IfDropped                               // Make it lie on floor
21
21
  KeepAction                              //
22
22
IfHitGround                             // Make a sound
23
 
  tmpargument = 0                         //
24
 
  tmpdistance = rand & 2047 + 10000       //
25
 
  PlaySound                               //
 
23
  tmpargument = 0
 
24
  PlaySound               
26
25
IfInWater
27
26
  IfHeld
28
 
    GetState // NOP
 
27
    DoNothing
29
28
  Else
30
29
    // Go blank
31
30
    GetContent
50
49
  IfXIsEqualToY
51
50
    // The scroll has writing on it
52
51
    tmpargument = 1
53
 
    tmpdistance = rand & 2047 + 10000
54
52
    PlaySound
55
53
 
56
54
 
77
75
    IfHeldInLeftHand
78
76
      tmpargument = 3
79
77
      SetTargetToTargetRightHand
 
78
        UnkurseTarget
80
79
        IdentifyTarget
81
80
          tmpargument = 2
82
81
    Else
83
82
      tmpargument = 3
84
83
      SetTargetToTargetLeftHand
 
84
        UnkurseTarget
85
85
        IdentifyTarget
86
86
          tmpargument = 2
87
87
    SendMessageNear
105
105
    SetReloadTime
106
106
IfReaffirmed
107
107
  IfHeld
108
 
    GetState
 
108
    DoNothing
109
109
  Else
110
110
    tmpx = selfx
111
111
    tmpy = selfy