PKSV scripting Tutorial/Script Thread
View Single Post
September 24th, 2009 (05:37 PM).
Join Date: Jan 2008
Location: In my mind.
how to put this
you have to understand this
dynamic labels are just a way to "rename" offsets
every command will take a few bytes
eg lock takes one byte,a pointer takes 4
A " : " label is inside of a dynamic label, but it is pointing at a further spot on the script
At position 45 is lock
at position 46 is faceplayer
then if you have a ":" label it points to 45+2
so that way you can say
Jump :-label which will go to the #dynamic label, but it would skip the lock and faceplayer
:\ it's hard to explain, just think of it as a way to skip around in your script.
#org @a is stored at 0x123456
:-label is just a way for PKSV to say, jump to #org @a+2, which is where the :-label is at
If i can think of a way to explain better i will.
And as far as changeing the players ow...if i can get some better asm, i'll post that up here to, but, asm is a bit out of my range, if i'm walked through it, i can figure it out, but it's not very easy.
★ full metal.
I like to push it,
and push it,
until my luck is
View Public Profile
Send a private message to Full Metal
Find all posts by Full Metal
Find threads started by Full Metal
Ignore Posts by Full Metal