Taking Pokémon away
View Single Post
April 25th, 2010 (5:45 AM).
Mewtwo Strikes Back
Join Date: Jun 2006
Originally Posted by
Well, my script was supposed to loan you a Pokémon then have a wildbattle with your soon-to-be starter. (I used a special along with setwildbattle.)
Then after catching your starter, the loaned Pokémon was supposed to be erased so that you only have your starter.
Thing is, there's are a blank spot before the starter.
(To fix it, you need to access the Pokémon Menu then you have to switch the two Pokémon then use an item from your bag before it disappears.)
Oh and one more thing, that script was messed up, I meant it to be
setvar 0x8004 0x0
to erase the first Pokémon.
I'm using the EraseFirstPokemon routine. (Was it unnecessary to put a setvar since it Erases the first Pokémon?)
To see the Wild Battle, click
To see the Battle, click
(Low quality, sped up)
To see how to make the empty slot disappear, click
Hope you can see through the problem . .
Edit: Solved it! It's a sin to use EraseFirstPokemon in that type of script, I need to use the first one.
Whew! (Because, it only ERASES the POKEMON right? It doesn't take?)
Well... I watched the videos. And yeah, you shouldn't use EraseFirstPokemon at all: that's only meant to erase the first, and only the first, Pokémon in your party when you have only one Pokémon though (because the TakePokemon wouldn't work in that case, due to the safety checks). Anyway, while TakePokemon can actually take away any Pokémon in the team (as long as the necessary conditions are met), how can you be sure that the borrowed Pokémon (the one that should be removed from the team) is always the first one in the party? The player could change the order eventually. Have you thought about that?
View Public Profile
Send a private message to HackMew
Find all posts by HackMew
Find threads started by HackMew