28 export Capsule flash {
31 alignmentCursor: <-32, 0>,
32 alignmentSprite: Sprite {
33 image: :"capsule-sprites.png",
47 classes: [ CapsuleClass
51 battleSprite: flashSprite1,
52 meleeAnimation: SimpleAnimation {
54 image: :"melee-maxim.png",
57 frametime: 66, // two "frames"
60 attackAnimation: ComplexAnimation {
62 frametime: fourFramesTime,
65 [ ComplexAnimationFrame
66 { column: 0, row: 1, disposition: < 0, -16> },
67 { column: 0, row: 0, disposition: < 0, -16> },
68 { column: 0, row: 1, disposition: < 0, -16> },
69 { column: 0, row: 0, disposition: < 0, -16> }
76 battleSprite: flashSprite2,
77 meleeAnimation: SimpleAnimation {
79 image: :"melee-maxim.png",
82 frametime: 66, // two "frames"
85 attackAnimation: ComplexAnimation {
87 frametime: fourFramesTime,
90 [ ComplexAnimationFrame
91 { column: 0, row: 1, disposition: < 0, -16> },
92 { column: 0, row: 0, disposition: < 0, -16> },
93 { column: 0, row: 1, disposition: < 0, -16> },
94 { column: 0, row: 0, disposition: < 0, -16> }
104 gut: 12, // TODO: this is probably higher, but clipped at 199
111 battleSprite: flashSprite3,
112 meleeAnimation: SimpleAnimation {
114 image: :"melee-maxim.png",
117 frametime: 66, // two "frames"
120 attackAnimation: ComplexAnimation {
121 sprite: flashSprite3,
122 frametime: fourFramesTime,
125 [ ComplexAnimationFrame
126 { column: 0, row: 1, disposition: < 0, -16> },
127 { column: 0, row: 0, disposition: < 0, -16> },
128 { column: 0, row: 1, disposition: < 0, -16> },
129 { column: 0, row: 0, disposition: < 0, -16> }
139 gut: 12, // TODO: this is probably higher, but clipped at 199
146 battleSprite: flashSprite4,
147 meleeAnimation: SimpleAnimation {
149 image: :"melee-maxim.png",
152 frametime: 66, // two "frames"
155 attackAnimation: ComplexAnimation {
156 sprite: flashSprite4,
157 frametime: fourFramesTime,
160 [ ComplexAnimationFrame
161 { column: 0, row: 1, disposition: < 0, -16> },
162 { column: 0, row: 0, disposition: < 0, -16> },
163 { column: 0, row: 1, disposition: < 0, -16> },
164 { column: 0, row: 0, disposition: < 0, -16> }
167 upgradeItem: darkFruitItem,
177 gut: 12, // TODO: this is probably higher, but clipped at 199
184 battleSprite: flashSpriteM,
185 meleeAnimation: SimpleAnimation {
187 image: :"melee-maxim.png",
190 frametime: 66, // two "frames"
193 attackAnimation: ComplexAnimation {
194 sprite: flashSpriteM,
195 frametime: fourFramesTime,
198 [ ComplexAnimationFrame
199 { column: 0, row: 1, disposition: < 0, -16> },
200 { column: 0, row: 0, disposition: < 0, -16> },
201 { column: 0, row: 1, disposition: < 0, -16> },
202 { column: 0, row: 0, disposition: < 0, -16> }
205 upgradeItem: holyFruitItem,
215 gut: 12, // TODO: this is probably higher, but clipped at 199