Link is empty, can you attach it in message?
And P.S., if link is too long, don't worry, send me them without URL lesser services
And i think, why this bug appearing: it reading the gfx_height value for calculate offset for "burried" herb item...
But I need real information about objects, what making bugs. As i see: to herb applayed offset=his height, I.e. 32 px.
I made for "burried marked" item the offset with his GFX-height.
Added after 38 minutes 7 seconds:Oh, i think, i know, why this bug appeared:
SMBX have bug with herb offset, and it will be reseted to 0, but in my it always applied and don't overwriting, if NPC have marker "Birrieding herb", i.e. in SMBX it is NPC-91.

In my editor, NPC with "herb" marker made with persistence offset, equal to gfx_height. In SMBX, if height not equal to system, offset will resets to 0 and need define offset-y in npc.txt.
npc-91.txt:
Code: Select all
gfxoffsetx=0
gfxoffsety=-57
width=48
height=57
frames=2
framespeed=3
framestyle=0
Added after 17 minutes 51 seconds:I will send to you my test build, and if will be successful, bug will be fixed
Added after 48 minutes 1 second:I just made something for correctlry calculating offset, when did be seted custom GFX Offset Y:

Here I made dummy sprite with size 32x32 px and this code:
Code: Select all
gfxoffsety=-32
gfxwidth=32
gfxheight=32
width=32
height=32
frames=1
framestyle=0
All displaying correctly
But:
in SMBX Editor grid offset (on drag and move with enabled snap to grid) will be offset down to 16px. But in my editor I changed grid size to 16 for 91th NPC, and you can correctly place them.
Added after 1 minute 41 seconds:Commit link:
https://github.com/Wohlhabend-Networks/PlatGEnWohl/commit/776ac17752ced431c5e4768e7cdf1933787119e7