Thread: Development: Taking Pokémon away
View Single Post
Old April 25th, 2010 (5:45 AM).
HackMew's Avatar
HackMew HackMew is offline
Mewtwo Strikes Back
  • Crystal Tier
Join Date: Jun 2006
Posts: 1,314
Originally Posted by xGGxToiZ View Post
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 Here.
To see the Battle, click Here. (Low quality, sped up)
To see how to make the empty slot disappear, click Here.

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?
Reply With Quote