-- Animation sequences for the Heroine print "loading Heroine animation sequences" DefineSequence("Stand", { class = STAND, delay = 1, frames = { { index = 1, duration = 4 }, { index = 3, duration = 0.1 }, { index = 1, duration = 0.1 }, { index = 3, duration = 0.1 }, { index = 1, duration = 2 }, { index = 0, duration = 2 }, { index = 1, duration = 0.1 }, { index = 2, duration = 2 }, { index = 1, duration = 3 }, { index = 3, duration = 0.1 }, { index = 1, duration = 0.1 }, { index = 3, duration = 0.1 }, { index = 1, duration = 2 }, { index = 0, duration = 4 }, { index = 1, duration = 0.1 }, { index = 2, duration = 3 }, { index = 1, duration = 0.1 }, { index = 0, duration = 1 }, { index = 1, duration = 2 }, { index = 3, duration = 0.1 }, { index = 1, duration = 0.1 }, { index = 3, duration = 0.1 } } }) DefineSequence("Blink", { class = STAND, delay = 0.25, following = "Stand", frames = { { index = 3, duration = 0.25 } } }) DefineSequence("Run", { class = RUN, delay = 0.25, frames = { { index = 4 }, { index = 5 }, { index = 6 }, { index = 7 } } }) DefineSequence("StopRunning", { class = STAND, delay = 10, following = "Stand", loop = true, frames = { { index = 8 } } }) DefineSequence("Jump", { class = JUMP, following = "FlyDiagonallyUp", delay = 0.25, frames = { { index = 9, duration = 0.25 } } }) DefineSequence("Land", { class = STAND, delay = 0.5, following = "StopRunning", frames = { { index = 9, duration = 0.25 } } }) DefineSequence("FlyDiagonallyUp", { class = FLY, delay = 0.1, frames = { { index = 10 }, { index = 11 } } }) DefineSequence("FlyDiagonallyDown", { class = FLY, delay = 0.1, frames = { { index = 12 }, { index = 13 } } }) DefineSequence("FlyStraightUp", { class = FLY, delay = 0.1, frames = { { index = 0 } } }) DefineSequence("FlyHorizontally", { class = FLY, frames = { { index = 4 }, { index = 14 } } }) DefineSequence("StartCharging", { class = CHARGE, delay = 0.2, following = "Charge", frames = { { index = 21 } } }) DefineSequence("Charge", { class = CHARGE, delay = 0.2, loop = true, frames = { { index = 22 } } }) DefineSequence("FireCharge", { class = CHARGE, delay = 0.2, frames = { { index = 23 } } }) DefineSequence("KnockedDown", { class = HIT, delay = 0.1, frames = { { index = 17 }, { index = 18 } } }) DefineSequence("Flattened", { class = HIT, delay = 1, frames = { { index = 19 } } })