The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > ROM Hacking > ROM Hacking Hub
Sign Up Rules/FAQ Live Battle Blogs Mark Forums Read

Notices

ROM Hacking Hub General discussions about ROM Hacking and Emulation. Not sure where to start? This is the place for you.
Posting links to ROMs is illegal and is not tolerated anywhere on the forum.
New threads in this forum are to be approved by a moderator before they are displayed.


Advertise here

Closed Thread
Click here to go to the first staff post in this thread.  
Thread Tools
  #7776    
Old February 2nd, 2013, 12:52 AM
Satoshi Ookami's Avatar
Satoshi Ookami
Memento Mori
Community Supporter
 
Join Date: Jul 2008
Location: Abyss of Time, Great Seal
Age: 22
Gender: Male
Nature: Calm

Advertise here
What does the script has in bars? Unknown, var, etc...?
__________________
ROM hacking FAQ - Read before asking how to play a hack. | Previous Sign 2 | Previous Sign

Anime List | PSN Trophy List
  #7777    
Old February 2nd, 2013, 01:17 AM
thetripplenine's Avatar
thetripplenine
999
 
Join Date: Jan 2013
Location: California
Age: 16
Gender: Male
Nature: Bold
Quote:
Originally Posted by Ash493 View Post
What does the script has in bars? Unknown, var, etc...?
The unknown is 03 the var is 4050
__________________
Hatch my eggs by clicking on them!
Don't let them die!



Fully Grown Dragons:
Spoiler:
  #7778    
Old February 2nd, 2013, 04:29 AM
FBI agent
Imagine something beautiful
 
Join Date: Jan 2013
Location: Isle 4 - Dairy Products
Gender: Male
Quote:
Originally Posted by thetripplenine View Post
So I have a problem with a script, when i step on the green script tile the game freezes, (of course).

Spoiler:
#dynamic 0x9C0000

#org @start
checkflag 0x860
if 0x1 goto @hey
if 0x1 goto @done
end

#org @hey
msgbox @youcant 0x6
applymovement 0x0 @move
applymovement 0xFF @turn
applymovement 0x0 @moveback
waitmovement 0x0
waitmovement 0x0
end

#org @done
release
end

#org @move
#raw 0x0B
#raw 0x00
#raw 0xFE

#org @moveback
#raw 0x0A
#raw 0x00
#raw 0xFE

#org @turn
#raw 0x56
#raw 0x08
#raw 0x01
#raw 0xFE

#org @youcant
= You cannot enter until you take a\nPokémon.


So I'm basically trying to make a guy block you from entering unless you have the Pokemon menu.
(He lets you pass if you do)
First of all, let me tell you what's wrong with this part:
Quote:
applymovement 0x0 @move
applymovement 0xFF @turn
applymovement 0x0 @moveback
waitmovement 0x0
waitmovement 0x0
There are two things wrong with what you have done here. The first thing is that two wait movement commands should never be together, you only need one. The second thing is that your applymovements will not work as you planned. Something more to this would get the desired effect:

applymovement 0x0 @move
applymovement 0xFF @turn
waitmovement 0x0
applymovement 0x0 @moveback
waitmovement 0x0

That's not why the script isn't running though, you're using the wrong flag (if this is Fire Red). You should be checking flag 0x828.
__________________
...

Hacks I support:
http://www.pokecommunity.com/showthread.php?t=297199 --Legend of Anbuja
http://www.pokecommunity.com/showthread.php?t=200227 -- Pokemon Rose version

People whom I thank:
Comrade -- For helping me with my bad hack, and for being a good friend
Darthatron -- Helping me get into basic ASM, even though I'm hopeless. (He is heartless stay away).
Anbuja's_BlooDY -- Graphics help, and being a good friend
FBI -- For having the username I wanted
  #7779    
Old February 2nd, 2013, 05:40 AM
FRANKTANK
 
Join Date: May 2010
Age: 18
Gender: Male
Quote:
Originally Posted by karatekid552 View Post
Doesn't give item require 3 0x0's on the end as fillers? Or is that just give Pokemon? Search it in the command database on XSE. (F1)
The command database didn't say anything about filler but I added an 0x0 at the end and it worked. Thank you so much!
__________________
Also known as Zang on the Nuzlocke Forums. I wish I was able to change my name to Zang on here, though.
  #7780    
Old February 2nd, 2013, 09:25 AM
thetripplenine's Avatar
thetripplenine
999
 
Join Date: Jan 2013
Location: California
Age: 16
Gender: Male
Nature: Bold
Quote:
Originally Posted by FBI agent View Post
First of all, let me tell you what's wrong with this part:

There are two things wrong with what you have done here. The first thing is that two wait movement commands should never be together, you only need one. The second thing is that your applymovements will not work as you planned. Something more to this would get the desired effect:

applymovement 0x0 @move
applymovement 0xFF @turn
waitmovement 0x0
applymovement 0x0 @moveback
waitmovement 0x0

That's not why the script isn't running though, you're using the wrong flag (if this is Fire Red). You should be checking flag 0x828.
I think it's the right flag for the Pokemon menu because i'm hacking emerald.

EDIT:
I think the problem is that when you open the emulator you do not see the sprite that's supposed to move..
__________________
Hatch my eggs by clicking on them!
Don't let them die!



Fully Grown Dragons:
Spoiler:

Last edited by thetripplenine; February 2nd, 2013 at 09:30 AM.
  #7781    
Old February 2nd, 2013, 09:39 AM
FBI agent
Imagine something beautiful
 
Join Date: Jan 2013
Location: Isle 4 - Dairy Products
Gender: Male
Quote:
Originally Posted by thetripplenine View Post
So I have a problem with a script, when i step on the green script tile the game freezes, (of course).

Spoiler:
#dynamic 0x9C0000

#org @start
checkflag 0x860
if 0x1 goto @hey
if 0x1 goto @done
end

#org @hey
msgbox @youcant 0x6
applymovement 0x0 @move
applymovement 0xFF @turn
applymovement 0x0 @moveback
waitmovement 0x0
waitmovement 0x0
end

#org @done
release
end

#org @move
#raw 0x0B
#raw 0x00
#raw 0xFE

#org @moveback
#raw 0x0A
#raw 0x00
#raw 0xFE

#org @turn
#raw 0x56
#raw 0x08
#raw 0x01
#raw 0xFE

#org @youcant
= You cannot enter until you take a\nPokémon.


So I'm basically trying to make a guy block you from entering unless you have the Pokemon menu.
(He lets you pass if you do)
Quote:
Originally Posted by thetripplenine View Post
I think it's the right flag for the Pokemon menu because i'm hacking emerald.

EDIT:
I think the problem is that when you open the emulator you do not see the sprite that's supposed to move..
OK, you're using the right flag, but incorrect logic in your script. Checking a flag then comparing it to 0x1 checks if it is true. So you don't even need the @done. Try this:

#dynamic 0x9C0000

#org @start
checkflag 0x860
if 0x1 goto @hey
release
end

#org @hey
msgbox @youcant 0x6
applymovement 0x0 @move
waitmovement 0x0
applymovement 0xFF @turn
waitmovement 0x0
applymovement 0x0 @moveback
waitmovement 0x0
release
end

#org @done
release
end

#org @move
#raw 0x0B
#raw 0x00
#raw 0xFE

#org @moveback
#raw 0x0A
#raw 0x00
#raw 0xFE

#org @turn
#raw 0x56
#raw 0x08
#raw 0x01
#raw 0xFE

#org @youcant
= You cannot enter until you take a\nPokémon.


As for the sprite that doesn't appear, change it's personID to 0000. I think a level script is keeping the said person form appearing, just change his person id in advance map.
__________________
...

Hacks I support:
http://www.pokecommunity.com/showthread.php?t=297199 --Legend of Anbuja
http://www.pokecommunity.com/showthread.php?t=200227 -- Pokemon Rose version

People whom I thank:
Comrade -- For helping me with my bad hack, and for being a good friend
Darthatron -- Helping me get into basic ASM, even though I'm hopeless. (He is heartless stay away).
Anbuja's_BlooDY -- Graphics help, and being a good friend
FBI -- For having the username I wanted
  #7782    
Old February 2nd, 2013, 10:26 AM
thetripplenine's Avatar
thetripplenine
999
 
Join Date: Jan 2013
Location: California
Age: 16
Gender: Male
Nature: Bold
Quote:
Originally Posted by FBI agent View Post
OK, you're using the right flag, but incorrect logic in your script. Checking a flag then comparing it to 0x1 checks if it is true. So you don't even need the @done. Try this:

#dynamic 0x9C0000

#org @start
checkflag 0x860
if 0x1 goto @hey
release
end

#org @hey
msgbox @youcant 0x6
applymovement 0x0 @move
waitmovement 0x0
applymovement 0xFF @turn
waitmovement 0x0
applymovement 0x0 @moveback
waitmovement 0x0
release
end

#org @done
release
end

#org @move
#raw 0x0B
#raw 0x00
#raw 0xFE

#org @moveback
#raw 0x0A
#raw 0x00
#raw 0xFE

#org @turn
#raw 0x56
#raw 0x08
#raw 0x01
#raw 0xFE

#org @youcant
= You cannot enter until you take a\nPokémon.


As for the sprite that doesn't appear, change it's personID to 0000. I think a level script is keeping the said person form appearing, just change his person id in advance map.
Well, it worked, but what happened was when I got the pokemon menu it blocked me, if you don't have the pokemon menu it doesn't block you, but what i want to happen is in reverse.
__________________
Hatch my eggs by clicking on them!
Don't let them die!



Fully Grown Dragons:
Spoiler:
  #7783    
Old February 2nd, 2013, 10:30 AM
FBI agent
Imagine something beautiful
 
Join Date: Jan 2013
Location: Isle 4 - Dairy Products
Gender: Male
Quote:
Originally Posted by thetripplenine View Post


Well, it worked, but what happened was when I got the pokemon menu it blocked me, if you don't have the pokemon menu it doesn't block you, but what i want to happen is in reverse.
Change if 0x1 to 0x0 when you're checking flags.
__________________
...

Hacks I support:
http://www.pokecommunity.com/showthread.php?t=297199 --Legend of Anbuja
http://www.pokecommunity.com/showthread.php?t=200227 -- Pokemon Rose version

People whom I thank:
Comrade -- For helping me with my bad hack, and for being a good friend
Darthatron -- Helping me get into basic ASM, even though I'm hopeless. (He is heartless stay away).
Anbuja's_BlooDY -- Graphics help, and being a good friend
FBI -- For having the username I wanted
  #7784    
Old February 2nd, 2013, 10:55 AM
thetripplenine's Avatar
thetripplenine
999
 
Join Date: Jan 2013
Location: California
Age: 16
Gender: Male
Nature: Bold
Quote:
Originally Posted by FBI agent View Post
Change if 0x1 to 0x0 when you're checking flags.

Oh, ok thanks it worked, did exactly what i wanted it to do. Btw do you know how to make a boat script, for example mr. Briney accept only one destination both ways?
__________________
Hatch my eggs by clicking on them!
Don't let them die!



Fully Grown Dragons:
Spoiler:
  #7785    
Old February 2nd, 2013, 11:14 AM
FBI agent
Imagine something beautiful
 
Join Date: Jan 2013
Location: Isle 4 - Dairy Products
Gender: Male
Quote:
Originally Posted by thetripplenine View Post



Oh, ok thanks it worked, did exactly what i wanted it to do. Btw do you know how to make a boat script, for example mr. Briney accept only one destination both ways?
I suggest you decompile his script and learn about the commands used.
I'll give you a pseudo code layout:

message happens -Want to set sail?
If yes jump @takeoff
message happens - OK, tell me when.
release
end

@takeoff
message happens - Alrighty, prepare to set sail
applymovement player & briney - Walk into the boat
boat animation special
warp script
release
end

Hope that helps!
__________________
...

Hacks I support:
http://www.pokecommunity.com/showthread.php?t=297199 --Legend of Anbuja
http://www.pokecommunity.com/showthread.php?t=200227 -- Pokemon Rose version

People whom I thank:
Comrade -- For helping me with my bad hack, and for being a good friend
Darthatron -- Helping me get into basic ASM, even though I'm hopeless. (He is heartless stay away).
Anbuja's_BlooDY -- Graphics help, and being a good friend
FBI -- For having the username I wanted
  #7786    
Old February 2nd, 2013, 11:22 AM
thetripplenine's Avatar
thetripplenine
999
 
Join Date: Jan 2013
Location: California
Age: 16
Gender: Male
Nature: Bold
Quote:
Originally Posted by FBI agent View Post
I suggest you decompile his script and learn about the commands used.
I'll give you a pseudo code layout:

message happens -Want to set sail?
If yes jump @takeoff
message happens - OK, tell me when.
release
end

@takeoff
message happens - Alrighty, prepare to set sail
applymovement player & briney - Walk into the boat
boat animation special
warp script
release
end

Hope that helps!
I don't get why there's a warp script, and what boat animation special... lol (sorry for asking so many questions)
__________________
Hatch my eggs by clicking on them!
Don't let them die!



Fully Grown Dragons:
Spoiler:
  #7787    
Old February 2nd, 2013, 11:26 AM
FBI agent
Imagine something beautiful
 
Join Date: Jan 2013
Location: Isle 4 - Dairy Products
Gender: Male
Quote:
Originally Posted by thetripplenine View Post


I don't get why there's a warp script, and what boat animation special... lol (sorry for asking so many questions)
The warp script is to actually get you to the next island. The animation is you know...the boat animation lol. It happens when you get on the ferry to go somewhere (not sure if it's in emerald).
I'm talking about this:
__________________
...

Hacks I support:
http://www.pokecommunity.com/showthread.php?t=297199 --Legend of Anbuja
http://www.pokecommunity.com/showthread.php?t=200227 -- Pokemon Rose version

People whom I thank:
Comrade -- For helping me with my bad hack, and for being a good friend
Darthatron -- Helping me get into basic ASM, even though I'm hopeless. (He is heartless stay away).
Anbuja's_BlooDY -- Graphics help, and being a good friend
FBI -- For having the username I wanted
  #7788    
Old February 2nd, 2013, 11:40 AM
thetripplenine's Avatar
thetripplenine
999
 
Join Date: Jan 2013
Location: California
Age: 16
Gender: Male
Nature: Bold
Quote:
Originally Posted by FBI agent View Post
The warp script is to actually get you to the next island. The animation is you know...the boat animation lol. It happens when you get on the ferry to go somewhere (not sure if it's in emerald).
I'm talking about this:
Ya, but can't I just use applymovement instead of warp?
and oh i get the special now.

__________________
Hatch my eggs by clicking on them!
Don't let them die!



Fully Grown Dragons:
Spoiler:
  #7789    
Old February 2nd, 2013, 11:43 AM
kj3400's Avatar
kj3400
Wants a Magneton for a Charger
 
Join Date: Mar 2012
Gender: Male
Nature: Lax
Send a message via Skype™ to kj3400
Applymovement will only work for the current map you're on. The only way to go to another map without physically going there, is to warp.
  #7790    
Old February 2nd, 2013, 11:49 AM
thetripplenine's Avatar
thetripplenine
999
 
Join Date: Jan 2013
Location: California
Age: 16
Gender: Male
Nature: Bold
Quote:
Originally Posted by kj3400 View Post
Applymovement will only work for the current map you're on. The only way to go to another map without physically going there, is to warp.
Oh, I get it now, but why do i need applymovement then, do i need to make it move, warp the map, move again, and warp again?

EDIT:
Here's the script I used before I asked for help.

Spoiler:
#dynamic 0x9C0000

#org @start
lock
faceplayer
if 0x1 goto @done
message @leave 0x6
compare LASTRESULT 1
if b_true goto @yes
applymovement 0x2 @move
waitmovement 0x2
applymovement 0xFF @move2
waitmovement 0xFF
if 0x1 goto @move3
applymovement 0x1 @move3
waitmovement 0x1
compare LASTRESULT 0x1
if b_true goto @no
applymovement 0xFF @exit
waitmovement 0xFF
applymovement 0x1 @exit2
waitmovement 0x1
release
end

#org @done
release
end

#org @move
#raw 0x09
#raw 0x54
#raw 0xFE

#org @move2
#raw 0x09
#raw 0x09
#raw 0x54
#raw 0xFE

#org @move3
#raw 0x09
#raw 0x09
#raw 0x09
#raw 0x09
#raw 0x09
#raw 0x09
#raw 0x09
#raw 0x09
#raw 0x09
#raw 0x09
#raw 0x09
#raw 0x09
#raw 0x09
#raw 0x09
#raw 0x09
#raw 0x09
#raw 0x09
#raw 0x09
#raw 0x09
#raw 0x09
#raw 0x09
#raw 0x09
#raw 0x09
#raw 0x09
#raw 0x09
#raw 0x09
#raw 0x09
#raw 0x09
#raw 0x09
#raw 0x09
#raw 0x09
#raw 0xFE

#org @exit
#raw 0x55
#raw 0x09
#raw 0x09
#raw 0xFE

#org @exit2
#raw 0x55
#raw 0x09
#raw 0xFE

#org @Leave
= Do you want to go to the training\ncamp?

#org @yes
message @pressyes 0x6
release
end

#org @no
message @pressno 0x6
release
end

#org @pressyes
= Ok lets go!

#org @pressno
= Ok, but tell me if you want to\ngo to the training camp!
__________________
Hatch my eggs by clicking on them!
Don't let them die!



Fully Grown Dragons:
Spoiler:
  #7791    
Old February 2nd, 2013, 11:51 AM
kj3400's Avatar
kj3400
Wants a Magneton for a Charger
 
Join Date: Mar 2012
Gender: Male
Nature: Lax
Send a message via Skype™ to kj3400
You need applymovement to simulate the two characters going into the boat, as it would look weird if they magically teleported to their destination with the boat driving itself, wouldn't it?
  #7792    
Old February 2nd, 2013, 11:55 AM
thetripplenine's Avatar
thetripplenine
999
 
Join Date: Jan 2013
Location: California
Age: 16
Gender: Male
Nature: Bold
Quote:
Originally Posted by kj3400 View Post
You need applymovement to simulate the two characters going into the boat, as it would look weird if they magically teleported to their destination with the boat driving itself, wouldn't it?

You sure, it would look awesome.
__________________
Hatch my eggs by clicking on them!
Don't let them die!



Fully Grown Dragons:
Spoiler:
  #7793    
Old February 2nd, 2013, 12:02 PM
FBI agent
Imagine something beautiful
 
Join Date: Jan 2013
Location: Isle 4 - Dairy Products
Gender: Male
Quote:
Originally Posted by thetripplenine View Post



You sure, it would look awesome.
LOL, trust me it wouldn't look awesome. There would be little sense :)
__________________
...

Hacks I support:
http://www.pokecommunity.com/showthread.php?t=297199 --Legend of Anbuja
http://www.pokecommunity.com/showthread.php?t=200227 -- Pokemon Rose version

People whom I thank:
Comrade -- For helping me with my bad hack, and for being a good friend
Darthatron -- Helping me get into basic ASM, even though I'm hopeless. (He is heartless stay away).
Anbuja's_BlooDY -- Graphics help, and being a good friend
FBI -- For having the username I wanted
  #7794    
Old February 2nd, 2013, 12:05 PM
thetripplenine's Avatar
thetripplenine
999
 
Join Date: Jan 2013
Location: California
Age: 16
Gender: Male
Nature: Bold
Quote:
Originally Posted by FBI agent View Post
LOL, trust me it wouldn't look awesome. There would be little sense
How are you supposed to make a way so when you're on the other side you get the same options but go to a different destination...

Here's the script without warps...

Spoiler:
#dynamic 0x9C0000

#org @start
lock
faceplayer
if 0x1 goto @done
message @leave 0x6
compare LASTRESULT 1
if b_true goto @yes
applymovement 0x2 @move
waitmovement 0x2
applymovement 0xFF @move2
waitmovement 0xFF
if 0x1 goto @move3
applymovement 0x1 @move3
waitmovement 0x1
compare LASTRESULT 0x1
if b_true goto @no
applymovement 0xFF @exit
waitmovement 0xFF
applymovement 0x1 @exit2
waitmovement 0x1
release
end

#org @done
release
end

#org @move
#raw 0x09
#raw 0x54
#raw 0xFE

#org @move2
#raw 0x09
#raw 0x09
#raw 0x54
#raw 0xFE

#org @move3
#raw 0x09
#raw 0x09
#raw 0x09
#raw 0x09
#raw 0x09
#raw 0x09
#raw 0x09
#raw 0x09
#raw 0x09
#raw 0x09
#raw 0x09
#raw 0x09
#raw 0x09
#raw 0x09
#raw 0x09
#raw 0x09
#raw 0x09
#raw 0x09
#raw 0x09
#raw 0x09
#raw 0x09
#raw 0x09
#raw 0x09
#raw 0x09
#raw 0x09
#raw 0x09
#raw 0x09
#raw 0x09
#raw 0x09
#raw 0x09
#raw 0x09
#raw 0xFE

#org @exit
#raw 0x55
#raw 0x09
#raw 0x09
#raw 0xFE

#org @exit2
#raw 0x55
#raw 0x09
#raw 0xFE

#org @Leave
= Do you want to go to the training\ncamp?

#org @yes
message @pressyes 0x6
release
end

#org @no
message @pressno 0x6
release
end

#org @pressyes
= Ok lets go!

#org @pressno
= Ok, but tell me if you want to\ngo to the training camp!
__________________
Hatch my eggs by clicking on them!
Don't let them die!



Fully Grown Dragons:
Spoiler:
  #7795    
Old February 2nd, 2013, 12:15 PM
kj3400's Avatar
kj3400
Wants a Magneton for a Charger
 
Join Date: Mar 2012
Gender: Male
Nature: Lax
Send a message via Skype™ to kj3400
Well, the other side is a different map, I'm presuming, so just make the exact same script, only with the other destination. I'm assuming there's another animation for the boat going in the opposite direction.

Though if you're hacking Emerald, I see what you mean about the applymovement. I think there's a sprite for the boat and by doing some scripting that is beyond me at this point, you probably could script the boat actually going there, as opposed to warping there.
  #7796    
Old February 2nd, 2013, 12:18 PM
thetripplenine's Avatar
thetripplenine
999
 
Join Date: Jan 2013
Location: California
Age: 16
Gender: Male
Nature: Bold
Quote:
Originally Posted by kj3400 View Post
Well, the other side is a different map, I'm presuming, so just make the exact same script, only with the other destination. I'm assuming there's another animation for the boat going in the opposite direction.

Though if you're hacking Emerald, I see what you mean about the applymovement. I think there's a sprite for the boat and by doing some scripting that is beyond me at this point, you probably could script the boat actually going there, as opposed to warping there.
Well now i'm beyond confused... Thanks...
__________________
Hatch my eggs by clicking on them!
Don't let them die!



Fully Grown Dragons:
Spoiler:
  #7797    
Old February 2nd, 2013, 12:33 PM
kj3400's Avatar
kj3400
Wants a Magneton for a Charger
 
Join Date: Mar 2012
Gender: Male
Nature: Lax
Send a message via Skype™ to kj3400
I'm sorry. What exactly are you confused about?

Is it the script?
Because all you have to do is copy the script you have, but put in the other destination.

Is it what I said below that?
Because that was just me thinking out loud
  #7798    
Old February 2nd, 2013, 12:37 PM
thetripplenine's Avatar
thetripplenine
999
 
Join Date: Jan 2013
Location: California
Age: 16
Gender: Male
Nature: Bold
Quote:
Originally Posted by kj3400 View Post
I'm sorry. What exactly are you confused about?

Is it the script?
Because all you have to do is copy the script you have, but put in the other destination.

Is it what I said below that?
Because that was just me thinking out loud
It was what you said below that, am i supposed to use warp or applymovement....

Edit:

Btw the script isn't all good, whenever i click "mr briney" the boat moves but it doesn't cross over to the different map
__________________
Hatch my eggs by clicking on them!
Don't let them die!



Fully Grown Dragons:
Spoiler:

Last edited by thetripplenine; February 2nd, 2013 at 12:42 PM.
  #7799    
Old February 2nd, 2013, 12:43 PM
kj3400's Avatar
kj3400
Wants a Magneton for a Charger
 
Join Date: Mar 2012
Gender: Male
Nature: Lax
Send a message via Skype™ to kj3400
Oh that. No I mean this would be after the applymovement, after the two 'get' in the boat. The boat sprite (I'm assuming there's a boat sprite) would get its own applymovement. I'm not positive if that's how it would work though.

Warping would only be used if you didn't want to script the boat moving. Lazy, but slightly faster.
  #7800    
Old February 2nd, 2013, 01:14 PM
thetripplenine's Avatar
thetripplenine
999
 
Join Date: Jan 2013
Location: California
Age: 16
Gender: Male
Nature: Bold
Quote:
Originally Posted by kj3400 View Post
Oh that. No I mean this would be after the applymovement, after the two 'get' in the boat. The boat sprite (I'm assuming there's a boat sprite) would get its own applymovement. I'm not positive if that's how it would work though.

Warping would only be used if you didn't want to script the boat moving. Lazy, but slightly faster.

Ya it's not working...

Here's the script again:
Spoiler:
#dynamic 0x9C0000

#org @start
lock
faceplayer
if 0x1 goto @done
message @leave 0x6
compare LASTRESULT 1
if b_true goto @yes
applymovement 0x2 @move
waitmovement 0x2
applymovement 0xFF @move2
waitmovement 0xFF
if 0x1 goto @move3
applymovement 0x1 @move3
waitmovement 0x1
compare LASTRESULT 0x1
if b_true goto @no
applymovement 0xFF @exit
waitmovement 0xFF
applymovement 0x1 @exit2
waitmovement 0x1
release
end

#org @done
release
end

#org @move
#raw 0x09
#raw 0x54
#raw 0xFE

#org @move2
#raw 0x09
#raw 0x09
#raw 0x54
#raw 0xFE

#org @move3
#raw 0x09
#raw 0x09
#raw 0x09
#raw 0x09
#raw 0x09
#raw 0x09
#raw 0x09
#raw 0x09
#raw 0x09
#raw 0x09
#raw 0x09
#raw 0x09
#raw 0x09
#raw 0x09
#raw 0x09
#raw 0x09
#raw 0x09
#raw 0x09
#raw 0x09
#raw 0x09
#raw 0x09
#raw 0x09
#raw 0x09
#raw 0x09
#raw 0x09
#raw 0x09
#raw 0x09
#raw 0x09
#raw 0x09
#raw 0x09
#raw 0x09
#raw 0xFE

#org @exit
#raw 0x55
#raw 0x09
#raw 0x09
#raw 0xFE

#org @exit2
#raw 0x55
#raw 0x09
#raw 0xFE

#org @Leave
= Do you want to go to the training\ncamp?

#org @yes
message @pressyes 0x6
release
end

#org @no
message @pressno 0x6
release
end

#org @pressyes
= Ok lets go!

#org @pressno
= Ok, but tell me if you want to\ngo to the training camp!
__________________
Hatch my eggs by clicking on them!
Don't let them die!



Fully Grown Dragons:
Spoiler:
Closed Thread
Quick Reply

Sponsored Links


Advertise here
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Minimum Characters Per Post: 25



All times are UTC -8. The time now is 02:07 AM.


Style by Nymphadora, artwork by Sa-Dui.
Like our Facebook Page Follow us on Twitter © 2002 - 2014 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2014 The PokéCommunity / PokéCommunity.com.
PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator.