Thread: [Tutorial] XSE Scripting Tutorial
View Single Post
  #159    
Old July 16th, 2008, 07:57 PM
KhaosKnight's Avatar
KhaosKnight
The 1 and only Khaotic Hacker
 
Join Date: Dec 2007
Nature: Relaxed
Quote:
Originally Posted by Eeveon View Post
Um, I'm kind of waiting for a full XSE tut to come out, but, what would a give Pokemon script look like?
Also, the script is long.
How would I make it so that someone talks first, gives u the pokemon, then talks some more?
Also, the sound when ur given something?
Sry, I'm still a little new to scripting.

Code:
 
#Dynamic 0x800000
 
#org @main
lock
faceplayer
checkflag 0x200
if 0x1 goto @end
msgbox @msg1
boxset6
givepokemon 0x4 0x5 0x0
msgbox @msg2
boxset 6
setflag 0x200
release
end
 
#org @end
msgbox @msg3
boxset 6
release
end
 
#org @msg1
= Here, take this pokemon
 
#org @msg2
= Take good care of it
 
#org @msg3
= how is my pokemon doing?

there is a basic cut n' dry give pokemon script(it will give you a lv 5 charmander)
[givepokemon] this tell the script to give a pokemon (duh :D)
[0x4] 4 is charmanders number
[0x5] this one is the pkmns level
[0x0] is the value, just use 0, im not 100% percent on what this does, but i know it wont work without it )

for a more detailed givepokemon script check here
__________________






Last edited by KhaosKnight; July 16th, 2008 at 08:08 PM.