View Single Post
  #53    
Old February 6th, 2009, 02:58 PM
diegoisawesome's Avatar
diegoisawesome
Not the Script Help Thread
Community Supporter
 
Join Date: Dec 2007
Location: Goldenrod City, Johto
Age: 17
Gender: Male
Nature: Quirky
Quote:
Originally Posted by Mourgrim View Post
(EDIT)
The problem persists, but I think it may have something to do with the release/end commands. You see, the game freezes, but not the music. (I didn't notice this before because I usually have it muted)

So, are any problems apparent with the way I used release/end etc.?
Code:
The Movement Script:
#dynamic 0x800000 #org @start checkflag 0x1000 if 0x1 goto @done checkflag 0x1000 if 0x0 goto @movement end #org @movement msgbox @hey 0x2 applymovement 0xThis should be the People Number of the man. @move waitmovement 0x0 applymovement 0xFF @move2 waitmovement 0x0 msgbox @take 0x2 applymovement 0xAgain, this should be the People Number of the man. @move3 waitmovement 0x0 setflag 0x1001 end #org @done end #org @move #raw 0x1E #raw 0x1E #org @move2 #raw 0x13 #raw 0x13 #org @move3 #raw 0x13 #org @hey = Hey, you can't leave\nwithout having something\lto protect you! #org @take = Take my EEVEE. Raise it\nwell, and let it evolve\linto whatever you wish it\lto become!
The Man's Script:
#dynamic 0x800010 #org @start checkflag 0x1002 if 0x1 goto @good checkflag 0x1002 if 0x0 goto @omg end #org @good msgbox @leave 0x2 applymovement 0xAnd again, this should be the People Number of the man. @move waitmovement 0x0 msgbox @goodluck 0x2 end #org @omg msgbox @takeit 0x2 end #org @move #raw 0x14 #raw 0x0C #org @leave = Okay, you may leave. #org @goodluck = Good luck out there! #org @takeit = Would you just take it?
The Pokeball's Script:
#dynamic 0x800020 #org @start checkflag 0x1001 if 0x1 goto @take checkflag 0x1001 if 0x0 goto @done end #org @take givepokemon 0x133 0x5 0x0 0x0 0x0 0x0 fanfare 0x13E msgbox @received 0x4 waitfanfare closeonkeypress fadescreen 0x1 hidesprite 0x800F setflag 0x1000 setflag 0x1002 fadescreen 0x0 end #org @done end #org @received = You received EEVEE!
Lol. You were using release when you weren't using lock.
__________________


My other resources:
My Website
diegoisawesome's MEGA-HUGE XSE Scripting Tutorial
diegoisawesome's Miscellaneous Finds
The Ruins of Alph Puzzles
Reply With Quote