Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix R7/SolidBlock.txt object def #37

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions Scripts/R7/SolidBlock.txt
Original file line number Diff line number Diff line change
Expand Up @@ -351,14 +351,14 @@ sub RSDKDraw
// This subtype acts as an invis block so normally it's invisible - but it has to show in the editor somehow!

Object.InkEffect = INK_BLEND
DrawSpriteScreenFX(0, FX_INK, Object.XPos, Object.YPos)
DrawSpriteFX(0, FX_INK, Object.XPos, Object.YPos)

// The sprite is faint so draw the hitbox of the box

TempValue0 = Object.iXPos
TempValue0 -= 16
TempValue1 = Object.iYPos
TempValue1 -= 16
TempValue0 = Object.XPos
TempValue0 -= 0x100000
TempValue1 = Object.YPos
TempValue1 -= 0x100000
DrawRectOutline(TempValue0, TempValue1, 32, 32, 255, 255, 255, 255)
break
end switch
Expand Down