Script Help Thread (DO NOT REQUEST SCRIPTS)
View Single Post
March 3rd, 2013 (12:19 PM).
What happens if I push it?....
Join Date: Nov 2012
Location: Do you really want to know? Really?
Quote originally posted by
Hey, to check if a Pokémon is caught or not, you need a special.
*key 0x1 = fainted, 0x7 = captured, 0x4 = escaped*
So you make your wildbattle and after it you compare.
waitstate (only for XSE 1.0)
special2 LASTRESULT 0xB4
compare LASTRESULT 0x7
if 0x1 call @caught
Hope it helps
Darn, you were a bit faster xD
View original post
He knows how to do that, I taught him it personally.
He said he would rather not have to set a flag depending upon certain conditions, being fainted or caught.
But now that I think about it, a var has to be set either way to prevent the script from happening again. Why not use special B4 and set a var to a specific number based upon the outcome like 1 for ran, 2 for fainted, and 3 for caught, and then only have the second script for Latios run if that var equals 3 (in the script tile settings in A-map) then at the end, just set that var to 4, and the events will never happen again.
Paired with Simba
Also Known As:
View Public Profile
Send a private message to karatekid552
Find all posts by karatekid552
Find threads started by karatekid552
Ignore Posts by karatekid552