• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Our weekly protagonist poll is now up! Vote for your favorite Conquest protagonist in the poll by clicking here.
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

PKSV scripting Tutorial/Script Thread

oooh yes, thats a good idea for an update
sorry, i wasn't watching thread >_<
i'll try 'n update it tonight with people dissapearing and level scripts
 
I am a newbie and can u explain about variables?
Which variable and value to be chosen and all that.....
 
Code:
disappear [sprite ID]
e.g.
Code:
disappear LASTTALKED
Code:
applymovement [sprite ID] [movement list]
e.g.
Code:
applymovement PLAYER @move
actually i mean, move them to another map or such. is it possible?
and to make the sprite disappear, do i need to include a fadescreen too?
 
no, moving a sprite from one map to another is not possible (to my knowledge)
However, creating the illusion is as easy as making a sprite on each map, with the same picture number, and the scripts make one dissapear and the other rea-apear (I'm working on this again, due to being in standby, i couldn't update the post
 
Are you sure? My copy is 1.1.1, which still reports itself as latest, and it gives me this:
Code:
#org 0x165758
#raw 0x13 'Step Right (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x60 'Hide
#raw 0xFE 'End of Movements
you can define things maby his is step_up_normal but the normal xse is #raw 0x13
 
no, moving a sprite from one map to another is not possible (to my knowledge)
However, creating the illusion is as easy as making a sprite on each map, with the same picture number, and the scripts make one dissapear and the other rea-apear (I'm working on this again, due to being in standby, i couldn't update the post
bah, i donno, i use the disappear command but it wouldnt disappear untill we dont move out of the screen. >_>
 
if ur using FR there might be a special for reloading the map...(i think, idk if it's in the list or not)
 
if there is, plz tell.
yeah, im using firered rom
 
special 0x8E
T_T there IS A LIST of specials in lesson 6...
 
Ok FINALLY! The CSS is finished!
Final design i think, any suggestions, please leave a vm
for a suggestion you need the following...
a tiled image
a color for the border of the entire post
a color for the border of a lesson
a color for the bg of a lesson
and lastly, a (horizontally) tile image for the comments
nao...i am making a new lesson for level scripts (finally) next is sprite dissapearance
ALSO, don't feel shy people, submit a script or two for me to add to the collection (i also gotta re-add that...)
 
excellent work there, blob of blobs. lesson 6, thank god!
i can give u some scripts, but which ones in particular do u need?
 
any...these are just scripts submitted by people who like to share :)
i didn't post this earlier...it was assumed that people would know this...
MAKE SURE THAT THESE ARE PKSV SCRIPTS!
o yea...lesson 6 has been there for long time....?
also,lesson nine is what was added
and i'll update that with type two when i get a break from all this homework >_<
 
Hey can u make the variables part a bit more easier?
I mean I understand only the compare and storevar what's the use of others?
 
well,
a small script from me to add for your collection, xD
CLICK THE SPOILER
Spoiler:
 
@max0edge- I think i'll update the variables section, OR add a second section for them, there is a lot of useage in them
@mervyn-A few q's, do you want credits?,Care to give it a title or shall i?
*edit*
Also,mervyn here's a ...efficientized version 'o ur script
Spoiler:

@narutoactor-XD all you have to do is change a word
 
Last edited:
Here f-metal an eevee script!
Spoiler:
 
@blob of blobs: oh thanks for that edit. and the title, i cant think of one. xD
a small correction, make it Mervyn instead of mervn

also, blob of blobs,
that special thing isnt working for me, is there a particular way to use it?
this is the last part of my script:
Code:
pauseevent 0x55
setflag 0x201
setflag 0x202
setflag 0x203
special 0x8E
fadescreen FADEOUT_BLACK
fadescreen FADEIN_BLACK
release
end
 
Last edited:
try putting it in between the fadescreens
 
Back
Top