From 2c3f8f53daca4b1f4d73e2d08843ac85764a2774 Mon Sep 17 00:00:00 2001 From: GGelatin <55122602+GGelatin@users.noreply.github.com> Date: Wed, 14 Jun 2023 22:51:45 -0700 Subject: [PATCH] Add files via upload - Fix to show JP's command grab's throw box --- disp_hitboxes.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/disp_hitboxes.lua b/disp_hitboxes.lua index 3d131a8..d356bb5 100644 --- a/disp_hitboxes.lua +++ b/disp_hitboxes.lua @@ -72,7 +72,7 @@ re.on_frame(function() if rect.TypeFlag > 0 and display_hitboxes then draw.outline_rect(finalPosX, finalPosY, finalSclX, finalSclY, 0xFF0040C0) draw.filled_rect(finalPosX, finalPosY, finalSclX, finalSclY, 0x600040C0) - elseif (rect.TypeFlag == 0 and rect.PoseBit > 0) and display_throwboxes then + elseif ((rect.TypeFlag == 0 and rect.PoseBit > 0) or rect.CondFlag == 0x2C0) and display_throwboxes then draw.outline_rect(finalPosX, finalPosY, finalSclX, finalSclY, 0xFFD080FF) draw.filled_rect(finalPosX, finalPosY, finalSclX, finalSclY, 0x60D080FF) elseif display_proximityboxes then @@ -148,7 +148,7 @@ re.on_frame(function() if rect.TypeFlag > 0 and display_hitboxes then draw.outline_rect(finalPosX, finalPosY, finalSclX, finalSclY, 0xFF0040C0) draw.filled_rect(finalPosX, finalPosY, finalSclX, finalSclY, 0x600040C0) - elseif (rect.TypeFlag == 0 and rect.PoseBit > 0) and display_throwboxes then + elseif ((rect.TypeFlag == 0 and rect.PoseBit > 0) or rect.CondFlag == 0x2C0) and display_throwboxes then draw.outline_rect(finalPosX, finalPosY, finalSclX, finalSclY, 0xFFD080FF) draw.filled_rect(finalPosX, finalPosY, finalSclX, finalSclY, 0x60D080FF) elseif display_proximityboxes then