440 table.insert(dialog01, {func = AnimSay, args = {hero.gear, loc("OK, I'll be extra careful!"), SAY_SAY, 4000}}) |
439 table.insert(dialog01, {func = AnimSay, args = {hero.gear, loc("OK, I'll be extra careful!"), SAY_SAY, 4000}}) |
441 table.insert(dialog01, {func = AnimWait, args = {ally.gear, 2000}}) |
440 table.insert(dialog01, {func = AnimWait, args = {ally.gear, 2000}}) |
442 table.insert(dialog01, {func = AnimSay, args = {ally.gear, loc("There is the tunnel entrance"), SAY_SAY, 3000}}) |
441 table.insert(dialog01, {func = AnimSay, args = {ally.gear, loc("There is the tunnel entrance"), SAY_SAY, 3000}}) |
443 table.insert(dialog01, {func = AnimSay, args = {ally.gear, loc("Good luck!"), SAY_SAY, 3000}}) |
442 table.insert(dialog01, {func = AnimSay, args = {ally.gear, loc("Good luck!"), SAY_SAY, 3000}}) |
444 table.insert(dialog01, {func = AnimWait, args = {hero.gear, 500}}) |
443 table.insert(dialog01, {func = AnimWait, args = {hero.gear, 500}}) |
445 table.insert(dialog01, {func = AnimSwitchHog, args = {hero.gear}}) |
444 table.insert(dialog01, {func = startMission, args = {hero.gear}}) |
446 end |
445 end |
447 |
446 |
448 --------------- OTHER FUNCTIONS ------------------ |
447 --------------- OTHER FUNCTIONS ------------------ |
|
448 |
|
449 function startMission() |
|
450 AnimSwitchHog(bandit1.gear) |
|
451 TurnTimeLeft = 0 |
|
452 end |
449 |
453 |
450 function secondBattle() |
454 function secondBattle() |
451 -- second battle |
455 -- second battle |
452 heroIsInBattle = true |
456 heroIsInBattle = true |
453 ongoingBattle = 2 |
457 ongoingBattle = 2 |