- 25
- Posts
- 3
- Years
- She/Her
- Seen yesterday
The issue has been found. An attempt I made previously at fixing the naming function caused this issue. I had tried to stack to compare -> jump actions on top of one another, which only reordered what was named, not solving the issue (see here). Am currently working on solving the issue itself.
Previous question under spoiler.
Previous question under spoiler.
Spoiler:
Using Pokered disassembly as base.
Current issue; TM37 does not work. When selected, various glitch effects happen. Best case, the sprites shuffle until the location is left, then the TM works as normal. Standard result is a crash. When purchasing, similar results occur, but with more visual corruption in the text box. Changes depending on prior actions and location, implying something isn't unloading, and the TM is loading junk data.
The complication is that no other TM or item seems to have this effect. I went over the naming macro and it doesn't seem to have any impact, and I haven't changed any item scripts for TMs, just healing items and the Old Rod. I'm not sure what would cause one specific TM to bug out like this.
The debugger shows the game doesn't seem to recognize it as a TM, instead as a key item, though it usually crashes once it reaches the isKeyItem script.
Current issue; TM37 does not work. When selected, various glitch effects happen. Best case, the sprites shuffle until the location is left, then the TM works as normal. Standard result is a crash. When purchasing, similar results occur, but with more visual corruption in the text box. Changes depending on prior actions and location, implying something isn't unloading, and the TM is loading junk data.
The complication is that no other TM or item seems to have this effect. I went over the naming macro and it doesn't seem to have any impact, and I haven't changed any item scripts for TMs, just healing items and the Old Rod. I'm not sure what would cause one specific TM to bug out like this.
The debugger shows the game doesn't seem to recognize it as a TM, instead as a key item, though it usually crashes once it reaches the isKeyItem script.
Last edited: