From c2511ce39349c95e53217a6508bec2082f7099b2 Mon Sep 17 00:00:00 2001 From: Repeat <48736123+RepeatGitHub@users.noreply.github.com> Date: Fri, 16 Dec 2022 14:17:10 +0000 Subject: [PATCH] Gave Nidorino a down special. And unlike half the moves I've given him so far, it doesn't shoot a projectile. --- module.js | 36 ++++++++++++++++++++++++++++++++++++ script.js | 7 +++++++ 2 files changed, 43 insertions(+) diff --git a/module.js b/module.js index fbb7a23..5266219 100644 --- a/module.js +++ b/module.js @@ -989,6 +989,42 @@ myImages[2][7][2]=[ ['x','x',bl, bu, bu, bl, bu, bu, bl, bu, bu, bl, bu, bu, bl, 'x'], ['x','x','x',bl, bl, 'x',bl, bl, 'x',bl, bl, 'x',bl, bl, 'x','x'], ]; +myImages[2][8][0]=[ + ['x','x','x','x','x','x','x','x','x','x','x','x','x','x','x','x'], + ['x','x','x','x','x','x','x','x','x','x','x','x','x','x','x','x'], + ['x','x','x','x','x','x','x','x','x','x','x','x','x','x','x','x'], + ['x','x','x','x','x','x','x','x','x','x','x','x','x','x','x','x'], + ['x','x','x','x','x','x','x','x','x','x','x','x','x','x','x','x'], + ['x','x','x','x','x','x','x','x','x','x','x','x','x','x','x','x'], + ['x','x','x','x','x','x','x','x','x','x','x','x','x',bl, bl, 'x'], + ['x','x','x','x','x',bl, bl, bl, 'x','x',bl, bl, bl, bu, bl, 'x'], + ['x','x','x',bl, bl, bu, bu, bu, bl, bl, bu, bu, bu, bl, 'x','x'], + ['x','x',bl, bu, bu, bl, bu, bu, bu, bu, bu, bu, bu, bu, bl, 'x'], + ['x',bl, bu, bu, bu, bu, bl, bu, bu, bl, bu, bu, bu, bl, bl, 'x'], + ['x',bl, bu, bu, bu, bu, bu, bu, bu, bu, wn, bu, wn, bu, bl, 'x'], + ['x',bl, bu, bu, bu, bu, bu, bu, bu, bu, bu, bu, bu, bl, 'x','x'], + ['x',bl, bu, bu, bl, bl, bu, bl, bu, bu, bl, bl, bu, bu, bl, 'x'], + ['x',bl, bu, bu, bl, bu, bu, bl, bl, bu, bu, bl, bu, bu, bl, 'x'], + ['x','x',bl, bl, 'x',bl, bl, 'x','x',bl, bl, 'x',bl, bl, 'x','x'], +]; +myImages[2][8][1]=[ + ['x','x','x','x','x','x','x','x','x','x','x','x','x','x','x','x'], + ['x','x','x','x','x','x','x','x','x','x','x','x','x','x','x','x'], + ['x','x','x','x','x','x','x','x','x','x','x','x','x','x','x','x'], + ['x','x','x','x','x','x','x','x','x','x','x','x','x','x','x','x'], + ['x','x','x','x','x','x','x','x','x','x','x','x','x','x','x','x'], + ['x','x','x','x','x','x','x','x','x','x','x','x','x','x','x','x'], + ['x','x','x','x','x','x','x','x','x','x','x','x','x','x',bl, bl ], + ['x','x','x','x','x','x',bl, bl, bl, 'x','x',bl, bl, bl, bu, bl ], + ['x','x','x','x',bl, bl, bu, bu, bu, bl, bl, bu, bu, bu, bl, 'x'], + ['x','x','x',bl, bu, bu, bl, bu, bu, bu, bu, bu, bu, bu, bu, bl ], + ['x','x',bl, bu, bu, bu, bu, bl, bu, bu, bl, bu, bu, bu, bl, bl ], + ['x','x',bl, bu, bu, bu, bu, bu, bu, bu, bu, wn, bu, wn, bu, bl ], + ['x','x',bl, bu, bu, bu, bu, bu, bu, bu, bu, bu, bu, bu, bl, 'x'], + ['x',bl, bu, bu, bu, bl, bl, bu, bl, bu, bu, bl, bl, bu, bl, 'x'], + ['x',bl, bu, bu, bu, bl, bu, bu, bl, bu, bu, bl, bu, bu, bl, 'x'], + ['x','x',bl, bl, 'x',bl, bl, bl, 'x',bl, bl, 'x',bl, bl, 'x','x'], +]; myImages[3]=[]; myImages[3][69]=[ ['x','x','x','x','x','x','x','x','x','x','x','x','x','x'], diff --git a/script.js b/script.js index bc55949..b5f475f 100644 --- a/script.js +++ b/script.js @@ -1397,6 +1397,13 @@ var draw = function() { h: 26, }; } + } else if (p[a].char===2) { + p[a].hitbox={ + x: p[a].x+6+(p[a].dir-1)*6, + y: p[a].y+21, + w: 42, + h: 27, + }; } else if (p[a].char===3) { p[a].hitbox={ x: p[a].x+12,