View Single Post
  #293    
Old January 22nd, 2009, 08:31 AM
Larsie13
Gone
 
Join Date: Oct 2006
Location: The Netherlands
Age: 23
Nature: Modest
About the Yes/No messagebox: like this, it means, that if you chose Yes, it'll go to @yes, and if you chose No, it'll go to @end. But, there's no way to do the applymovement part below. So, I'm not quite sure what the script should do exactly...
Quote:
Originally Posted by hot_kage View Post
Code:
#dynamic 0x2D511B

#org @start
lock
faceplayer
checkflag 0x1050
if 0x0 goto @cont
if 0x1 goto @end
setflag 0x1050
release
end

#org @cont
msgbox @havarna 0x5
compare LASTRESULT 0x1
if 0x1 goto @yes
goto @end
applymovement 0xFF @up
waitmovement 0x0
release
end

#org @yes
msgbox @havarna2 0x6
giveitem 0x170 0x1 0x1 
msgbox @pass 0x6
fanfare 0x13E
waitfanfare
closeonkeypress 
msgbox @shoes 0x6
giveitem 0x104 0x1 0x1                        
msgbox @bike 0x6
fanfare 0x13E
waitfanfare
closeonkeypress 
msgbox @set 0x6
special 0x13D
playsong 0x136 0x0                  
msgbox @737 0x6 
msgbox @enjoy 0x6
playsong 0x14D 0x0
warpmuted 0x3 0x0 0x0 0x1 0x1 'After a warp, the script ends. So put the special and msgbox in front of it.
special 0x17B
msgbox @location 0x6
release
end

#org @havarna 
= [blue_fr]Are You Planing To Go To HAVARNA\nACADEMY?

#org @up
#raw 0x01 0xFE

#org @havarna2
= If Your Going You'll Need a\nRAINBOW PASS.

#org @pass
= [red_fr][player] Recieved RAINBOW PASS.                              

#org @shoes 
= You'll Also Need This BIKE.

#org @bike
= [red_fr][PLAYER] Recieved The MACH BIKE.

#org @set
= Okay Your All Set, The HAVARANA\nSHUTTLE Will Be Here Soon.

#org @737
= [blue_fr]HAVARNA SHUTTLE 737 Docked.

#org @enjoy
= Please Enjoy The Trip.

#org @location
= [lightgreen_fr]Planned Location Of Arrival:\nHAVARANA HARBOUR.

#org @end
release
end
when i go on the script tile all it does it the yes or no question then ends? and ideas?