PDA

View Full Version : [Scripting] rock climb script XSE


pokefreak2
December 19th, 2008, 05:52 PM
you guys have probaly been wondering i wonder if anyone has
an xse rock climb script well here is one

well from top to bottom
#dynamic 0x800000

#org @start
#raw 0x7C 0xF9 0x00
compare LASTRESULT 0x06
if 1 call @false
#raw 0x9D 0x00 0x0D 0x80
message @tutorial
boxset 5
compare LASTRESULT 0
if b_true goto @yes
#raw 0x68
#raw 0x9C 0x25 0x00
#raw 0x27
applymovement 0xFF @move
compare LASTRESULT 1
if b_true goto @no
release
end

#org @false
message @noclimb
boxset 6
release
end

#org @noclimb
= these rocks look climable\n a pokemon's move might\pbe able to climb them

#org @tutorial
= these rocks look climable do you\nclimb down them?

#org @yes
message @pressyes
boxset 6
release
end

#org @no
message @pressno
boxset 6
release
end

#org @pressyes
= you left the rocks
#org @pressno
= you used rockclimb

#org @move
#raw 0x1D 0x1D 0x1D 0x1D 0x1D 0xFE























from bottom to top


#dynamic 0x800000

#org @start
#raw 0x7C 0xF9 0x00
compare LASTRESULT 0x06
if 1 call @false
#raw 0x9D 0x00 0x0D 0x80
message @tutorial
boxset 5
compare LASTRESULT 0
if b_true goto @yes
#raw 0x68
#raw 0x9C 0x25 0x00
#raw 0x27
applymovement 0xFF @move
compare LASTRESULT 1
if b_true goto @no
release
end

#org @false
msgbox @noclimb
boxset 6
release
end

#org @noclimb
= these rocks look climable\n a pokemon's move might\pbe able to climb them

#org @tutorial
= these rocks look climable do you\nclimb up them?

#org @yes
message @pressyes
boxset 6
release
end

#org @no
message @pressno
boxset 6
release
end

#org @pressyes
= You left it

#org @pressno
= you used rockclimb

#org @move
#raw 0x1E 0x1E 0x1E 0x1E 0x1E 0xFE


for ruby use


' Other Actions
0x54 ' Hide
0x55 ' Show
0x56 ' Alert
0x57 ' Question
0x58 ' Love
0x5A ' Pokeball
0x10 ' Delay0
0x11 ' Delay1
0x12 ' Delay2
0x13 ' Delay3
0x14 ' Delay4

' Step
0x00 ' Down0
0x01 ' Up0
0x02 ' Left0
0x03 ' Right0
0x04 ' Down1
0x05 ' Up1
0x06 ' Left1
0x07 ' Right1
0x08 ' Down2
0x09 ' Up2
0x0A ' Left2
0x0B ' Right2
0x17 ' Left3
0x18 ' Right3
0x15 ' Down3
0x16 ' Up3
0x2D ' Down4
0x2E ' Up4
0x2F ' Left4
0x30 ' Right4

' Running
0x35 ' RunDown
0x36 ' RunUp
0x37 ' RunLeft
0x38 ' RunRight
0x7E ' RunDown2
0x7F ' RunUp2
0x80 ' RunLeft2
0x81 ' RunRight2

' jumpy and hoppy
0x0C ' HopTileDown
0x0D ' HopTileUp
0x0E ' HopTileLeft
0x0F ' HopTileRight
0x3A ' HighHopDown
0x3B ' HighHopUp
0x3C ' HighHopLeft
0x3D ' HighHopRight
0x46 ' HopDown
0x47 ' HopUp
0x48 ' HopLeft
0x49 ' HopRight
0x4A ' HopDown180
0x4B ' HopUp180
0x4C ' HopLeft180
0x4D ' HopRight180
0x42 ' JumpDown
0x43 ' JumpUp
0x44 ' JumpLeft
0x45 ' JumpRight

' can be glitchy
0x19 ' StDown1
0x1A ' StUp1
0x1B ' StLeft1
0x1C ' StRight1
0x1D ' StDown2
0x1E ' StUp2
0x1F ' StLeft2
0x20 ' StRight2
0x21 ' StDown3
0x22 ' StUp3
0x23 ' StLeft3
0x24 ' StRight3
0x25 ' StDown4
0x26 ' StUp4
0x27 ' StLeft4
0x28 ' StRight4
0x6A ' StDown1i
0x6B ' StUp1i
0x6C ' StLeft1i
0x6D ' StRight1i
0x6E ' StDown5
0x6F ' StUp5
0x70 ' StLeft5
0x71 ' StRight5

'slidy
0x31 ' SlideFaceDown
0x32 ' SlideFaceUp
0x33 ' SlideFaceLeft
0x34 ' SlideFaceRight
0x86 ' IceSlideDown
0x87 ' IceSlideUp
0x88 ' IceSlideLeft
0x89 ' IceSlideRight

' Glitchy
0x3E ' Up0A
0x3F ' Down0A
0x4E ' Down0B
0x63 ' Up0B
0x65 ' Right0A
0x66 ' RunStopLoopDown
0x67 ' RunStopLoopUp
0x68 ' RunStopLoopLeft
0x69 ' RunStopLoopRight
0x72 ' Down15
0x73 ' Up15
0x74 ' Left15
0x75 ' Right15
0x7A ' Down6
0x7B ' Up6
0x7C ' Left6
0x7D ' Right6
0x82 ' Down7
0x83 ' Up7
0x84 ' Left7
0x85 ' Right7

' finish
0xFE


here is a video link rock climbhttp://www.pokecommunity.com (http://www.youtube.com/watch?v=SmO4XsWeVio)

(http://www.youtube.com/watch?v=SmO4XsWeVio)

Darthatron
December 19th, 2008, 11:34 PM
Don't you think you should make it a little easier to read, and add some comments. Nobody can really learn from that. Also, [code] tags would be nice, and then the script and the post, won't get mixed up.

EDIT: It'd also be nice to have a video of the script working. Don't you agree?

pokefreak2
December 19th, 2008, 11:51 PM
lol i don't have a youtube account i'll get one soon just wait up :)

Edit im gettin youtube account soon

Edit 2 im gonna upload video soon

ok just uploading tomorrow

liuyanghejerry
December 20th, 2008, 02:01 AM
It's not really easy to understand each command,especilly the commands such as "#raw 0x7C 0xF9 0x00".
Hope more explanation...

groudonlover
December 20th, 2008, 02:32 AM
If this works, it will be great!
I'm trying to make Pokemon Advanced Diamond, a GBA "Remake" of Diamond!

Hiche..
December 20th, 2008, 09:31 AM
Well, if some people need explanation to this, I might just do it.

#raw 0x7C 0xF9 0x00

#raw 0x7C is checkmove. It checks whether one of your party Pokemon have the move. 0xF9 0x00 are two bytes that contribute to the move it self. In this case, I presume it's Rock Smash.#raw 0x9D 0x00 0x0D 0x80

#raw 0x9D checks the Pokemon that will make the animation. (If there's one).#raw 0x9C 0x25 0x00

#raw 0x9C plays the animation of the move done. In this case, it's ROCK SMASH. Like, when you use CUT. IT shows what Pokemon is doing it.
#raw 0x27 is waitstate, or waitspecial. It should be under the animation command.Well, I think those commands are the ones that seem hard. Hope that helps.

Some information were from Dabomstew's site. Here's a video of it working, though he used some different commands.

http://uk.youtube.com/watch?v=rEhfTD5IjPk

Tropical Sunlight
December 20th, 2008, 09:34 AM
Which move do we have to have to use the Rock Climb?

Hiche..
December 20th, 2008, 09:38 AM
Well, I usually use VINE WHIP. Dabomstew uses that to. To check if a Pokemon has VINE WHIP, use #raw 0x7C 0x16 0x00 instead of the posted one.

Tropical Sunlight
December 20th, 2008, 09:45 AM
#dynamic 0x800000

#org @start
#raw 0x7C 0xF9 0x00
compare LASTRESULT 0x06
if 1 call @false
#raw 0x9D 0x00 0x0D 0x80
message @tutorial
boxset 5
compare LASTRESULT 0
if b_true goto @yes
#raw 0x68
#raw 0x9C 0x25 0x00
#raw 0x27
applymovement 0xFF @move
compare LASTRESULT 1
if b_true goto @no
release
end

This one?

I really wanted to have already made scripts.
Please make more!

Tropical Sunlight
December 20th, 2008, 10:36 AM
Sorry Hiche but the script won't compile.

Duplicate dynamic label found on line 38.
Line: #org @move

pokefreak2
December 21st, 2008, 11:42 AM
i just uploaded video watch it ok

cooley
December 21st, 2008, 12:27 PM
What's the point of saying it's XSE if the most of the commands are in #Raw?
It's like you replaced everything that was "$" and made it "@"..

pokefreak2
December 21st, 2008, 12:56 PM
Which move do we have to have to use the Rock Climb?
we use rock smash but used aep to change it to rock climb

Pedonymous
December 21st, 2008, 09:57 PM
This looks nice... *is reminded of days spent SMW hacking*

I'll fiddle around with it a bit.

pokefreak2
December 22nd, 2008, 12:31 PM
Oopps:\
Change this part:

#org @move
#raw 0x1D 0x1D 0x1D 0xFEto this:

#org @move1
#raw 0x1D 0x1D 0x1D 0xFEAnd this:

#org @move
#raw 0x1E 0x1E 0x1E 0xFEto this:

#org @move1
#raw 0x1E 0x1E 0x1E 0xFE

hey it actually works my way geez

Sorry Hiche but the script won't compile.

Duplicate dynamic label found on line 38.
Line: #org @move

you use thm serparetally

Vrai
December 22nd, 2008, 12:40 PM
hey it actually works my way geez



you do scripts saperetly use your brain

Don't insult people. It's not nice.

Also, it "actually" works both ways, but Hiche posted a solution for some people who have a problem with it. So don't go off on him.

Hiche..
December 23rd, 2008, 03:15 AM
-_-

Thanks Vrai.

Pokefreak2, you posted your script, without any explanation. So, I was nice enough to explain some. If you don't know what the commands do, don't post here.

pokefreak2
December 23rd, 2008, 08:53 PM
-_-

Thanks Vrai.

Pokefreak2, you posted your script, without any explanation. So, I was nice enough to explain some. If you don't know what the commands do, don't post here.

thanks im not good at explaining ty

Moritz
February 21st, 2010, 03:47 AM
Hello!

Can you put in the Script Data (*.vbs\js\wsf) for a download !?? :) or ...

..........

LFCAmmy
May 3rd, 2013, 04:21 AM
can we use this script for emerald also????

Spherical Ice
May 7th, 2013, 08:51 AM
can we use this script for emerald also????

It should work, but it's not a very good script. If anything, you'd be better off editing the script for Cut.