View Single Post
  #752    
Old May 1st, 2012, 12:23 PM
Peresozo's Avatar
Peresozo
Trainer
 
Join Date: Apr 2012
Location: NY
Gender: Male
Nature: Calm
Quote:
Originally Posted by CCCPancakes View Post
Could anyone tell me what's wrong with this script? It freezes when I activate it.

Spoiler:

#dynamic 0x554433
#org @start
lock
faceplayer
checkflag 0x825
if 0x1 goto @runshoes
msgbox @msg 0x6
applymovement 0x04 @move
applymovement 0xFF @move1
applymovement 0x04 @move2
applymovement 0xFF @move3
msgbox @msg1 0x6
applymovement 0x04 @move4
release
end

#org @runshoes
msgbox @msg2 0x6
fanfare 0x13E
msgbox @msg3 0x6
waitfanfare
closeonkeypress
msgbox @msg4 0x6
setflag 0x82F
release
end

#org @msg
= Hold up!

#org @msg1
= You don't have this towns\nbadge!\lIt could be difficult ahead\lwithout that badge!\pYou should probably visit\lthe gym!

#org @msg2
= Oh! I see you have the\nRainbow Badge!\pHere, take these, they could\lbe useful during your\ljourney!

#org @msg3
= [player] recieved the Running Shoes!\p[player] put on the Running Shoes.

#org @msg4
= Think of these as my gift\nto you for beating Erika.

#org @move
#raw 0xC

#org @move1
#raw 0xE

#org @move2
#raw 0x2

#org @move3
#raw 0x3

#org @move4
#raw 0x9
#raw 0x0
It migth be that the movement is not done put #raw 0xFE after each movement see if it workd lol im jst starting with scripting but try tht if doesnt then i cant help u lol but try tht
__________________





Reply With Quote