equal
deleted
inserted
replaced
197 if gamePhase == 0 then |
197 if gamePhase == 0 then |
198 newGamePhase() |
198 newGamePhase() |
199 end |
199 end |
200 end |
200 end |
201 |
201 |
202 function onSetWeapon(ammoType) |
|
203 if ammoType == amBazooka and not weaponSelected and gamePhase == 1 then |
|
204 newGamePhase() |
|
205 weaponSelected = true |
|
206 end |
|
207 end |
|
208 function onSlot(msgParam) |
|
209 if msgParam == 0 and not weaponSelected and gamePhase == 1 then |
|
210 newGamePhase() |
|
211 weaponSelected = true |
|
212 end |
|
213 end |
|
214 |
|
215 function onHogAttack(ammoType) |
202 function onHogAttack(ammoType) |
216 if ammoType == amBazooka then |
203 if ammoType == amBazooka then |
217 HideMission() |
204 HideMission() |
218 end |
205 end |
219 end |
206 end |
276 end |
263 end |
277 if missedTauntTimer == 0 then |
264 if missedTauntTimer == 0 then |
278 PlaySound(sndMissed, hog) |
265 PlaySound(sndMissed, hog) |
279 missedTauntTimer = -1 |
266 missedTauntTimer = -1 |
280 end |
267 end |
|
268 |
|
269 if not weaponSelected and gamePhase == 1 and GetCurAmmoType() == amBazooka then |
|
270 newGamePhase() |
|
271 weaponSelected = true |
|
272 end |
281 end |
273 end |
282 |
274 |
283 function onAmmoStoreInit() |
275 function onAmmoStoreInit() |
284 SetAmmo(amBazooka, 9, 0, 0, 0) |
276 SetAmmo(amBazooka, 9, 0, 0, 0) |
285 end |
277 end |