fellowship-of-the-roms / pokecrystal

Disassembly of Pokémon Crystal
https://pret.github.io/pokecrystal/
7 stars 6 forks source link

Stutter inside Azalea Town Gym #3

Open vulcandth opened 3 months ago

vulcandth commented 3 months ago

This issue was originally opened by @JySzE on my pokecrystal fork vulcandth#5.

Regardless if walking or running the stuttering inside the Gym is extreme and objects like trainers flicker like crazy.

I don't know if this is a engine limitation or something.

Tested on a GBA, GBA SP, Analogue Pocket, MGBA, BGB and Sameboy.

The stutter doesn't only occur in the Azalea Town Gym but its most noticeable there, you can also see it while running or walking left and right inside Azalea Town and in many other locations.

JySzE commented 2 months ago

Just wanted to add to this issue, as we know some form of stutter already exists naturally in the vanilla game whenever you walk in front or on almost all objects. A perfect example for anyone who has not noticed it would be in the Rocket Hideout B1F.

You can also see it in the Azalea Town Gym (vanilla) but it requires a good eye and screen with decent pixel response time to see. (a lot of people didn't notice / denied existence of the judder issue with slide in animations in polished crystal so even if someone reading this cant see it doesn't mean it doesn't exist!)

test000000

All the spots marked in red are perfect places to test the vanilla game for stutter (after all battles complete).

That is why I mentioned its possible this is just an engine limitation or limitations of the object interaction code. I think the 60fps mod is just making the already stuttery nature more obvious whenever you walk into its area of execution.

I'm also surprised this happens sometimes, when walking in front of NPCs that do not have any code to interact with you when in line of sight it still stutters as if the game is executing something in the background as you walk past them. Rather inefficient if that is whats happening. Seems like it would be a royal pain and potentially massive re-write of object interaction in general.

Hope my rambling helps.