• 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.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • 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 Help Thread (DO NOT REQUEST SCRIPTS)

Status
Not open for further replies.
I think Ash493 is right here. Movements don't really work too well out of the camera's sight, so it would be better to instead just use the movesprite command as soon as they're walking off screen.
 
Okay, how do I make a sprite stay hidden like the leaving town script with oak from the original firered?
 
You need to use a setflag together with the hidesprite command. The setflag value being the People ID of the person you want to hide.

worked fine, i just put scripts around every possible move away from the door (3 spots) that hid the sprite immediately before you could even see him, and then the new script pops him up and he walks on screen afterwards.

Or is there a more efficient way to do this?
 
worked fine, i just put scripts around every possible move away from the door (3 spots) that hid the sprite immediately before you could even see him, and then the new script pops him up and he walks on screen afterwards.

Or is there a more efficient way to do this?

Have you considered using a level script, eventually?
 
Have you considered using a level script, eventually?

I've looked into those, but I can't ever find any tutorials that go into great detail on them.

If you know of any guides that can help me with those, I'd appreciate it, because every time I mess with those I usually do something wrong and the script freezes.
 
I've looked into those, but I can't ever find any tutorials that go into great detail on them.

If you know of any guides that can help me with those, I'd appreciate it, because every time I mess with those I usually do something wrong and the script freezes.
Cooley did a fantastic tut on that, here's the link: https://www.pokecommunity.com/showthread.php?t=191500
And don't get discouraged, freezing is actually to be expected with level scripts.
 
Do I need to use the \n \p \l dividers for a braille string?
 
Alright, on this rainy weather map, I have about 8 trainers. All 8 work except for 1. What happened is, after you beat him, the rain turns into his sprite and an arrow (both pink), and the camera becomes movable instead of the player. Here's the script:

#dynamic 0x800000

#org @start
trainerbattle 0x0 0x1D 0x0 @challenge @defeat
msgbox @beaten 0x6
release
end
 
Alright, on this rainy weather map, I have about 8 trainers. All 8 work except for 1. What happened is, after you beat him, the rain turns into his sprite and an arrow (both pink), and the camera becomes movable instead of the player. Here's the script:

#dynamic 0x800000

#org @start
trainerbattle 0x0 0x1D 0x0 @challenge @defeat
msgbox @beaten 0x6
release
end

0.o
You know what we need? A bug of the week thread. And you win.
Have you tried changing his Person ID/sprite/both? Frankly, I think you should just delete that particular trainer and insert a new one, if you need eight.
 
0.o
You know what we need? A bug of the week thread. And you win.
Have you tried changing his Person ID/sprite/both? Frankly, I think you should just delete that particular trainer and insert a new one, if you need eight.
I've tried all of that lol.

[PokeCommunity.com] Script Help Thread (DO NOT REQUEST SCRIPTS)
 
Yep, didn't work either >.>. Also, now when I try to change Pokemon near him, when I back out, I'll start playing as him instead.
A similar thing happened to me too.
Try changing its OW to see if the problem persists.
If not, you'll just have to play without him. :(
That's what I think.
 
I would say just delete the trainer then, that's the wierdest and most awesome bug I've ever seen. May I save that screenshot? I'll seriously see about starting up a Bug of the Week thread.
 
Status
Not open for further replies.
Back
Top