View Single Post
  #7136    
Old July 31st, 2012 (08:16 AM).
DarkOfWolf's Avatar
DarkOfWolf
 
Join Date: Jul 2012
Gender: Male
Hey there!
Listen i need help with my script, because every time i walked into this script in the rom the game is getting frozen.

Game: FR\LF
Script type: Scrpit (the box with the S in the advance map).

The code:
Code:
#dynamic 0x34F046
#org @start
checkflag 0x1000
if 0x1 goto @done
setflag 0x1000
lock
msgbox @msg1 0x6

applymovement 0xFF @wtf
waitmovement 0xFF

applymovement 0x6 @move
waitmovement 0x6

faceplayer
msgbox @msg2 0x6

givepokemon 0x93 0x7 0x0 0x0 0x0 0x0
msgbox @msg3 0x6

applymovement 0x6 @goaway
waitmovement 0x6

release
end

#org @msg1
=\v\h01, WAIT!!!

#org @wtf
#raw 0x0
#raw 0x63
#raw 0xFE

#org @move
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0xFE

#org @msg2
= Hey listen, before you go there I\nwant to give you a present for a\lgood luck.\l... ... ... ...\lI know your mother, she was my\lfriend in high school\land when she told me you might\lcome here\lI knew i have to come here and\lgive you my favorite pokemon.\lThis pokemon I raised for 2 years\land now i want him to be yours.\lI'm trust you to give him the\lmost devoted care you can give.\lGood luck son!

#org @msg3
=\v\h01! GOT DRATINI!

#org @goaway
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0xFE

#org @done
release
end
Could you help me please?
If there's nothing wrong in the script so maybe i didn't do something in the AdvanceMap.
Thank you very much!