Subversion Repositories vaca_plus

Rev

Rev 1 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1 Rev 19
Line 111... Line 111...
111
ends
111
ends
112
 
112
 
113
state seagullcode
113
state seagullcode
114
  cstator 257
114
  cstator 257
115
 
115
 
-
 
116
  ifai 0
-
 
117
  {
116
 ifai 0 ai AISEAGULLFLY
118
    ai AISEAGULLFLY
117
 
119
    
-
 
120
    getactor[THISACTOR].xrepeat x
-
 
121
    ifvare x 1
-
 
122
      sizeat 40 40
-
 
123
  }
118
 
124
 
-
 
125
  clipdist 80
119
 
126
 
120
    ifaction SEAGULLFROZEN
127
    ifaction SEAGULLFROZEN
121
  {
128
  {
122
 
129
 
123
    ifcount THAWTIME
130
    ifcount THAWTIME
Line 156... Line 163...
156
 
163
 
157
    iffloordistl 8
164
    iffloordistl 8
158
      {
165
    {
159
        getsector[THISACTOR].floorpicnum temp
166
      getsector[THISACTOR].floorpicnum temp
160
        switch temp
167
      switch temp
-
 
168
        case WATERTILE2 case 337 case 338
161
        case WATERTILE2 case 337 case 338 case 3630 case 3631 case 3632 case 3633 case 3634 case 3635 case 3636 case 3637 case 3638 break
169
        case 3630 case 3631 case 3632 case 3633 case 3634 case 3635 case 3636 case 3637 case 3638 break
162
 
170
  
163
        default
171
        default
164
          addkills 1
172
          addkills 1
165
          ifrnd 84
173
          ifrnd 84
166
            spawn BLOODPOOL
174
            spawn BLOODPOOL
Line 168... Line 176...
168
          sound GLASS_BREAKING
176
          sound GLASS_BREAKING
169
          killit
177
          killit
170
        break
178
          break
171
        endswitch
179
      endswitch
172
      }
180
    }
-
 
181
 
173
    else fall
182
    fall
174
 
183
 
175
    break
184
    break
176
  }
185
  }
177
 
186
 
178
 ifhitweapon
187
 ifhitweapon
Line 259... Line 268...
259
     ifpdistl 1900
268
     ifpdistl 1900
260
       {
269
       {
261
         addphealth SEAGULLSHITHURT
270
         addphealth SEAGULLSHITHURT
262
         globalsound DUKE_GRUNT
271
         globalsound DUKE_GRUNT
263
         palfrom 16 16
272
         palfrom 16 16
264
         wackplayer
273
         state headhitstate
265
       }
274
       }
266
     spritepal 7
275
     spritepal 7
267
     debris SCRAP3 4
276
     debris SCRAP3 4
268
     spawn WATERSPLASH2
277
     spawn WATERSPLASH2
269
     killit
278
     killit