292 chooseToBattle = true |
292 chooseToBattle = true |
293 AddEvent(onGreen1Death, {green1.gear}, green1Death, {green1.gear}, 0) |
293 AddEvent(onGreen1Death, {green1.gear}, green1Death, {green1.gear}, 0) |
294 AddEvent(onBattleWin, {hero.gear}, battleWin, {hero.gear}, 0) |
294 AddEvent(onBattleWin, {hero.gear}, battleWin, {hero.gear}, 0) |
295 AddAnim(dialog02) |
295 AddAnim(dialog02) |
296 elseif GetX(hero.gear) > hero.x then |
296 elseif GetX(hero.gear) > hero.x then |
|
297 HogTurnLeft(hero.gear, true) |
297 AddEvent(onEscapeWin, {hero.gear}, escapeWin, {hero.gear}, 0) |
298 AddEvent(onEscapeWin, {hero.gear}, escapeWin, {hero.gear}, 0) |
298 local greenTeam = { green2, green3, green4 } |
299 local greenTeam = { green2, green3, green4 } |
299 for i=1,3 do |
300 for i=1,3 do |
300 SetHogLevel(greenTeam[i].gear, 1) |
301 SetHogLevel(greenTeam[i].gear, 1) |
301 end |
302 end |