diff --git a/306204wy29.js b/306204wy29.js index 6fdab8d..a56ac74 100644 --- a/306204wy29.js +++ b/306204wy29.js @@ -71,6 +71,7 @@ if (data.keyCode === GameLib.System.Input.KEY_LEFT) { this.state.orientation === GameLib.CustomCode.ORIENTATION_UP || this.state.orientation === GameLib.CustomCode.ORIENTATION_DOWN ) { + if (this.state.orientation === GameLib.CustomCode.ORIENTATION_DOWN) { this.state.flip = true; } else { @@ -97,6 +98,13 @@ if (data.keyCode === GameLib.System.Input.KEY_RIGHT) { this.state.orientation === GameLib.CustomCode.ORIENTATION_UP || this.state.orientation === GameLib.CustomCode.ORIENTATION_DOWN ) { + + if (this.state.orientation === GameLib.CustomCode.ORIENTATION_DOWN) { + this.state.flip = true; + } else { + this.state.flip = false; + } + this.state.orientation = GameLib.CustomCode.ORIENTATION_RIGHT; this.state.turning = true; }