View Single Post
  #56    
Old March 28th, 2011, 07:20 AM
M.L's Avatar
M.L
Busy atm
 
Join Date: Oct 2010
Gender: Male
helloo
i havnt posted in a while
internet been down ):
but in back now (:
ohk uhm with the specials i wana wrote a script so that you walk onto a ''script thing in AM''
and a guys says you cant come here without a
cavepass i use checkitem
but when i get the item and rewalk on the ''script''
it freeses why??

ill post the script to you
please take a look and tell me
what is wrong?
thanx

#org $start
lock
faceplayer
chackflag 0x6123
message $1
checkitem 0x373
#raw 0x01 0x00
compare 0x800D 0x1
if b_true goto $done
boxset 6
applymovement 0xFF $move
pausemove 0x0
applymovement 0x06 $move2
pause 0x30
message $2
boxset 6
applymovement 0xFF $move3
pausemove 0x0
applymovement 0x06 $move4
pause 0x30
nop
pausemove 0
fadesound 0x12C
nop
boxset 6
release
end

#org $done
message $3
#raw 0x53 0x0F 0x80
setflag 0x9090
boxset 6
setflag 0x6123
release
end

#org $move
#raw 0x63 0x03 0xFE

#org $move2
#raw 0x0A 0xFE

#org $move3
#raw 0x08 0x08 0xFE

#org $move4
#raw 0x0B 0x02 0xFE

#org $1
$1 1 =Hey didnt you hear\nthis cave just had a\lcave in you cant go in

\lbut if you show me the cave\lpass i can let you on!

#org $2
$2 1 = Sorry until you get a cave\npass you gana have to leave!

#org $3
$3 1 = you got the cave pass well then\n youmay pass!

thats my script everything othere than that works
thank you!!

ohk i also wana ask this
i made a give pokemon script and he asks you yes or no ''boxset 5''
and depending on you answer it goes to diffrent commands but
if you click yes or no it freezes why heres my script please help

ima put my script in qoutes

THE SCRIPT
Quote:
#org $start
lock
faceplayer
checkflag 0x828
checkflag 0x7010
applymovement 0x04 $move
pausemove 0x0
message $1
applymovement 0xFF $move2
pause 0x30
nop
message $2
boxset 5
compare LASTRESULT 1
if 1 goto $yes
message $4
givepokemon 0x398 0x5 0x0
message $5
applymovement 0x04 $move3
pause 0x30
boxset 6
#raw 0x53 0x0F 0x80
setflag 0x7010
setflag 0x828
release
end

#org $yes
message $3
givepokemon 0x395 0x5 0x0
message $5
applymovement 0x00 $move3
pause 0x30
#raw 0x53 0x0F 0x80
setflag 0x7010
setflag 0x828
boxset 6
release
end

#org $move
#raw 0x62 0x0A 0x0A 0x0A 0x0A 0x0A 0x0A 0x0A 0xFE

#org $move2
#raw 0x62 0xFE

#org $move3
#raw 0x62 0x0B 0x0B 0x0B 0x0B 0x0B 0x0B 0x0B 0x60 0xFE

#org $1
$1 1 =HELLO!

#org $2
$2 1 =Haha sorry i startled\nyou but ive got a\lsupprise for you since

your new\lhere in this region\li should explain a few things\l this

region is large and dangereous\l and ive got a question for you\lare

you going to explore our\lregion?

#org $3
$3 1 =I knew it i knew it\nohk good so since you going to\lyou are

going to need a partner\lto go with or you might get\lhurt this is my

favourite pokemon\lso treat it well\lits a dragon flying pokemon!

#org $4
$4 1 =your not that sucks but\nyou know what im going to\lgive you a

pokemon any way\lso if you change you mind\lwell i know your going

to\lchange your mind okay im\lgoing to give you my favourite\lpokemon

its a steel type!

#org $5
$5 1 =I hope you train and\nlook after him well i gotta\lgo my lab is

in that\lcave over there we had to\lput it in there since\lour lab is

too big to make as\la house but its fine in there\la bit cold

sometimes\lbut we are on a frozen lake\lthats why its so cold\lthat is

being studied in the\lweather institute and how we are\lso close to a

dessert\lah im sorry im boring you i\lmust leave now anyway\lGOODBYE

AND GOODLUCK
Ohk please help tell me if ive done somthing wrong please help??

thanxs
=)

Last edited by M.L; March 28th, 2011 at 08:29 AM. Reason: Your double post has been automatically merged.