From 754ef74dbe41921224c8cf2f1e71058ff2c7e6c0 Mon Sep 17 00:00:00 2001 From: Lily Date: Sat, 21 Dec 2024 01:10:35 +0300 Subject: [PATCH] dj hitbox thing --- source/mikolka/vslice/freeplay/FreeplayState.hx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/mikolka/vslice/freeplay/FreeplayState.hx b/source/mikolka/vslice/freeplay/FreeplayState.hx index 8a047a7d..5576a612 100755 --- a/source/mikolka/vslice/freeplay/FreeplayState.hx +++ b/source/mikolka/vslice/freeplay/FreeplayState.hx @@ -176,7 +176,7 @@ class FreeplayState extends MusicBeatSubstate var curPlaying:Bool = false; var dj:Null = null; - var djTouchHitbox:FlxSprite = new FlxSprite(108, 408); + var djTouchHitbox:FlxSprite = new FlxSprite(78, 308); var ostName:FlxText; var albumRoll:AlbumRoll; @@ -1510,7 +1510,7 @@ class FreeplayState extends MusicBeatSubstate } #end // ^<-- FEATURE_DEBUG_FUNCTIONS - if ((FunkinControls.FREEPLAY_CHAR || (TouchUtil.overlaps(djTouchHitbox) && TouchUtil.justReleased && !SwipeUtil.swipeAny)) && !busy) + if ((FunkinControls.FREEPLAY_CHAR || (TouchUtil.overlapsComplex(djTouchHitbox) && TouchUtil.justReleased && !SwipeUtil.swipeAny)) && !busy) { tryOpenCharSelect(); }