• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • Serena, Kris, Dawn, Red - which Pokémon protagonist is your favorite? Let us know by voting in our grand final favorite protagonist poll!
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

[Script] Rematchable trainers?

Hello people of the PC forums.

I'm finally doing a more serious hacking attempt in FireRed and I wanted to have a NPC Bug Catcher that's rematchable to make grinding for the 1st Gym easier.

I played the ROM on my VBA and when I came across the rematchable trainer I noticed a really weird bug (Images in spoiler).

Spoiler:


Script here:

Spoiler:


TL;DR - Script works, but it seems like it's causing a bug when opening menu, can anyone explain this?
 
I don't think your script is the problem here, it'll be an issue with the NPC's data. In advance map there are two "face down" settings for NPCs; one of them does what it says it does, and the other is broken. What you've got there is exactly what usually happens when you select the broken one, so changing it to the other one should fix it.
 
Back
Top