1 parent 55e1e88 commit 2f7ce6bCopy full SHA for 2f7ce6b
1 file changed
model/character.ts
@@ -206,21 +206,21 @@ class CharacterJumpMove implements MoveBase {
206
step() {
207
this.#phase += 1
208
if (this.#phase <= 2) {
209
- this.#y += 6
+ this.#y -= 6
210
} else if (this.#phase <= 4) {
211
- this.#y += 4
+ this.#y -= 4
212
} else if (this.#phase <= 6) {
213
- this.#y += 2
+ this.#y -= 2
214
} else if (this.#phase <= 8) {
215
- this.#y += 1
216
- } else if (this.#phase <= 10) {
217
this.#y -= 1
+ } else if (this.#phase <= 10) {
+ this.#y += 1
218
} else if (this.#phase <= 12) {
219
- this.#y -= 2
+ this.#y += 2
220
} else if (this.#phase <= 14) {
221
- this.#y -= 4
+ this.#y += 4
222
} else {
223
- this.#y -= 6
+ this.#y += 6
224
}
225
226
0 commit comments