Skip to content

Commit

Permalink
Merge pull request #2 from GGelatin/main
Browse files Browse the repository at this point in the history
Add files via upload
  • Loading branch information
WistfulHopes authored Jun 15, 2023
2 parents d293f1a + 2c3f8f5 commit a2bc92f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions disp_hitboxes.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit a2bc92f

Please sign in to comment.