equal
deleted
inserted
replaced
241 |
241 |
242 if switchStage == 1 then |
242 if switchStage == 1 then |
243 AddAmmo(CurrentHedgehog, amSwitch, 1) |
243 AddAmmo(CurrentHedgehog, amSwitch, 1) |
244 |
244 |
245 elseif switchStage == 2 then |
245 elseif switchStage == 2 then |
246 ParseCommand("setweap " .. string.char(amSwitch)) |
246 SetWeapon(amSwitch) |
247 elseif switchStage == 3 then |
247 elseif switchStage == 3 then |
248 SetGearMessage(CurrentHedgehog,gmAttack) |
248 SetGearMessage(CurrentHedgehog,gmAttack) |
249 elseif switchStage == 4 then |
249 elseif switchStage == 4 then |
250 switchStage = 6 |
250 switchStage = 6 |
251 AddAmmo(CurrentHedgehog, amSwitch, 0) |
251 AddAmmo(CurrentHedgehog, amSwitch, 0) |