- 11
- Posts
- 9
- Years
- Seen Dec 18, 2024
In the base game, when an NPC uses a special Z-Move such as Malicious Moonsault, the game freezes at the conclusion of the animation sequence.
I have found the root cause of this, in a/0/8/8 - a specific command (it toggles hiding all trainer models except for the trainer model of the Pokemon currently using the move) that for some reason is only used in the special Z-Move animation sequence files crashes when called to toggle models on (but not models off). By replacing this command with a different one (that toggles all trainer models, I am baffled as to why GF did it like this, the replacement has no material difference in the end effect that I've seen), this bug is fixed, allowing NPC Pokemon to use these Z-Moves without issue.
Edit: The command is specifically
I am left wondering if the reason why no special Z-Moves were given to NPCs was not, as I had assumed, due to GF not wanting to do that and not coding some critical function to make that happen, but instead were unable to locate or fix this bug and gave up on doing so. Considering that fixing this bug took me all of four hours from downloading the 3DS Pokémon Move Animation Tools, I'm... not impressed.
My thanks to Namadu, whose invaluable tool allowed me to conduct this search.
I have found the root cause of this, in a/0/8/8 - a specific command (it toggles hiding all trainer models except for the trainer model of the Pokemon currently using the move) that for some reason is only used in the special Z-Move animation sequence files crashes when called to toggle models on (but not models off). By replacing this command with a different one (that toggles all trainer models, I am baffled as to why GF did it like this, the replacement has no material difference in the end effect that I've seen), this bug is fixed, allowing NPC Pokemon to use these Z-Moves without issue.
Edit: The command is specifically
TrainerDispOther
when isDisp
is set to 1.I am left wondering if the reason why no special Z-Moves were given to NPCs was not, as I had assumed, due to GF not wanting to do that and not coding some critical function to make that happen, but instead were unable to locate or fix this bug and gave up on doing so. Considering that fixing this bug took me all of four hours from downloading the 3DS Pokémon Move Animation Tools, I'm... not impressed.
My thanks to Namadu, whose invaluable tool allowed me to conduct this search.
Attachments
Last edited: