View Single Post
Old February 1st, 2009 (11:29 PM).
0m3GA ARS3NAL's Avatar
0m3GA ARS3NAL 0m3GA ARS3NAL is offline
Im comin' home...
  • Silver Tier
Join Date: Jan 2008
Location: Superjail Penitentiary
Age: 25
Gender: Male
Nature: Gentle
Posts: 1,816
Originally Posted by liuyanghejerry View Post
This is the script that retaken the pokemons to the player.
But this is just a simple one,I remove the "check" thing,so if there's any problems about your team (Is it full?),it may go wrong.And I also remove the "Pay" function ,so that you can get your pokemon back for free.

'This script isn't safe,just for test!
#dynamic 0x575288
setvar 0x8004 0x0
special2 LASTRESULT 0xC0
message @2 0x2

#org @2
= Done.
Hope it helps...
I think you dont understand Special2's function... Special2 writes a value to the variable given (In this case, it would be LASTRESULT (0x800D))
What this script here does, is...

Lock the player
Make the sprite face the player
set 0x8004 to 0
set LASTRESULT to an unknown value stored in special2 0xC0
Display a message
Unlock player and sprite
end script

This does not add the pokemon to the party, I am afraid...

Also, ZodiacDaGreat, how would searching for the sprite data make a difference? Shouldn't I search for the pokemon's party data?
>Boot Jailbot
>Pass *****
Jailbot OS Ver 1.1.2
Greetings Warden
of Superjail Penitentiary
Awaiting user input...

>Display User_Info
╠══User Info══╣
Age: 18
Sex: Male ♂
Race: Caucasian
"What is this
I don't even..."

M/O: Often acts out to get attention, but recently has changed that. Has been studying up on hacking information and hopes to participate in more advanced hacking discussion.
╠══End of File══╣
Awaiting user input...

Reply With Quote