Yet another DinkC bug
When walking into (non-low) hardness, after a while Dink will start pushing. When that happens, an object's push method may be activated. Nothing strange so far. However: any object that is touching Dink at that moment will have its push function called. Read that again. Yes, that means that if you have a rock which blocks off a doorway, walking up to the rock and then pushing the wall will call the rock's push function, possibly moving it to the side (if it responds to Dink's current direction).
This totally messes up my puzzle. It isn't too hard to fix; I just have to check if Dink is in the right place compared to the object. But it's important to know that I have to check this, because I thought the push function wouldn't be called if he wasn't.
This totally messes up my puzzle. It isn't too hard to fix; I just have to check if Dink is in the right place compared to the object. But it's important to know that I have to check this, because I thought the push function wouldn't be called if he wasn't.
I can confirm this. I believe the updated version of Cast Awakening Part 1: Initiation also uses the method you mention to deal with the problem. Also, Dink can push multiple objects at the same time if he's close enough to multiple pushable objects, which I suspect can cause some funky stuff to happen if the push scripts are complex.
Oh wow... Weird bug, but you know what? This could actually be used to pull off some other interesting stuff. In your case you'd need extra checks in place though, yeah.
Oh man, this reminds me of another annoying bug. anything that gets hit when Dink is touching it has its hit procedure called as well, even if it's not Dink that's hitting it.
Oh man, this reminds me of another annoying bug. anything that gets hit when Dink is touching it has its hit procedure called as well, even if it's not Dink that's hitting it.
Isn't this the case even when Dink's not touching whatever's being hit?
Isn't this the case even when Dink's not touching whatever's being hit?
I haven't had it happen unless Dink is pretty close to it. I guess I could be mistaken, though.
Edit: Actually, that isn't even a bug. Boy, I am dumb. Never mind. (Time to go put "if (&enemy_sprite == 1)" into lots of scripts...)
Edit: Actually, that isn't even a bug. Boy, I am dumb. Never mind. (Time to go put "if (&enemy_sprite == 1)" into lots of scripts...)