Thread: Development: Taking Pokémon away
View Single Post
Old April 10th, 2010 (2:51 AM).
HackMew's Avatar
HackMew HackMew is offline
Mewtwo Strikes Back
  • Crystal Tier
Join Date: Jun 2006
Posts: 1,314
Originally Posted by Ben. View Post
Looks great, HackMew.
I will be using this, thanks a bunch!
You're welcome.

Originally Posted by xGGxToiZ View Post
Alright! The routine worked!
Thank you, again!

My, you are the best hacker I've ever seen. (And good with ASM too ^^)

~ ^^
Thanks :)

Originally Posted by altariaking View Post
looks good. it didn't work for me but then i can only apply asm and then never be able to use it lol. i tried to take away treeko with
setvar 0x8004 0x115
...i know, my scripting is bad...
No, the routine doesn't work like that; the setvar 0x8004 needs the value of the actual slot of your Pokémon party. The first one would be setvar 0x8004 0x0 and so on.

Originally Posted by NarutoActor View Post
pretty sure that the var should be set to the slot of the pokemon you want to take away(1-6) not the actual species.
Almost right. The first slot is 0x0, just like the select Pokémon special(s). I did that for compatibility, indeed.
Reply With Quote