Originally posted by imameliaWell, how was I supposed to know that? Do you know what the changes are?
I asked if your installation of GPS was clean and you said "I don't see why it wouldn't be." but it's clearly edited with code that isn't from GPS, so it's not clean.
And yes, I did see what the changes are.
fe:
Originally posted by imameliaI did say "I don't see why it wouldn't be", not "It definitely is" [...] (which I forgot to mention), but I did try it without that and still had the bug.
Well, editing the source is definitely a reason that makes it not clean and something people usually remember. Stuff like that is very important to know when debugging which is why I asked that question in the first place.
I'm sorry if my wording came of as a bit aggressive though, it wasn't meant to be.
And fair enough if you tried it without, it probably just wasn't applied correctly then. It worked perfectly fine on my end once I NOP'd out the JSR that was added.
Originally posted by imameliaWell, I have tile 1092 set to act like 024A, and the value of $03 is #$024A, not #$1092.
Alright, I see the issue then,
$03 contains the map16 tile of the block that executes the code, not the one you touched, that's correct. Unfortunately that's not something that's in GPS' realm but Lunar Magics. LM provides the information, GPS just uses it. $03 isn't provided by GPS either.
I assume that's what you tried to fix using the changes that broke it?
Either way, if you want the block that started the acts-like chain then you'll have to ask FuSoYa if there's any way, or fix your code.
If you really need to I'd go for the latter and move the code from GPS' source to a routine you can call whenever you actually need it. The way it's implemented right now the code gets that information for every single interaction that runs on that frame, when 99% of the time it's not needed or the same as $03 and discarded anyway. It also uses $98-$9B which doesn't even work for sprites (which is also the reason why sprites acted that way on slopes, they don't use $98-$9B. Instead they use scratch ram that you overwrote in that routine).
Though I'm curious, why are you using acts-like chains anyway? You can just use the same file for multiple blocks in GPS' list file which is the better option in every single scenario I can think of right now.