Thread: [Tutorial] Advanced Scripting Tutorial
View Single Post
  #107    
Old February 22nd, 2007 (04:20 AM).
Christos's Avatar
Christos
do you even gift?
 
Join Date: Feb 2006
Gender: Male
Nature: Serious
Send a message via Skype™ to Christos
Quote originally posted by Monkey:
got a question about that battle script

is it

#org 0x800000
trainerbattle 0x00 0x1A 0x800100 0x800200
end

#org 0x800100
= Bring it on!

#org 0x800200
= I lost...

that or

#org 0x800000
0x00 0x1A 0x800100 0x800200
end

#org 0x800100
= Bring it on!

#org 0x800200
= I lost...

this one?

is 800000 the offset then ? so $800000

do i need before i do it in scripted and compile it give a new trainer/people the script offset $80000 then compile it? thit was it i think
You have to compile the script to work but you can put "800000" on the trainer before if you want.

Quote originally posted by frank$or:
Heey, I've made this script.

#org 0xDDC810
faceplayer
message 0xDDC950
boxset 0x2
applymovement 0xFF 0xDDC940
pause 0x10
applymovement 0x12 0xDDC970
pause 0x10
message 0xDDC980
boxset 0x2
applymovement 0x13 0xDDF990
pause 0x70
message 0xDDD000
boxset 0x2
end

#org 0xDDC940
#raw 0x31
#raw 0xFE

#org 0xDDC950
= Go away!

#org 0xDDC970
#raw 0x01
#raw 0xFE

#org 0xDDC980
= And don't dare it to come back!

#org 0xDDF990
#raw 0x6
#raw 0x6
#raw 0x6
#raw 0x6
#raw 0x6
#raw 0x6
#raw 0x6
#raw 0xFE

#org 0xDDD000
= Chef!\pGiovanni is in trouble!

The beginning works fine, the team rocket guy kicks me away, says his text and turns around.
But the next event ( also team rocket guy ) doesn't move!
No mather what movement.
It's just takes the time of 7 steps and then says the tekst, without moving.
Help?
Are the events nr. 12 and 13 in hexadecimal? Because 12 = C, 13 = D.
__________________