Printable Version of Topic
Click here to view this topic in its original format
Diamondpearlhacking > Tutorials & Applications > Script Sharing/Discussion/Help


Posted by: Spenceroone3 Oct 2 2007, 08:09 AM
Post here Anything about scripts. I have this good Headbutt tree script (Plz note that I didn't make it, Zel did) so I'm givin it to ya.

CODE

#org 0x780000
special 0x187
compare LASTRESULT 0x2
if 0x1 call 0x1A7AE0
jingle
#raw 0x7C
comparevartofarbyte 0x2100 0x6800D
if 0x1 call 0x780050
#raw 0x9D
nop
killscript
#raw 0x80
#raw 0x7F
nop
killscript
#raw 0x80
#raw 0x82
nop
#raw 0xF9
nop
msgbox 0x8780070 '"A POKéMON could be i..."
callstd 0x5
compare LASTRESULT 0x0
if 0x1 call 0x1BE09A
#raw 0x68
#raw 0x9C
special 0x2700
goto 0x81BE06F
end

#org 0x1A7AE0
release
end

#org 0x780050
release
end

#org 0x1BE09A
#raw 0x68
#raw 0x6B
end

#org 0x1BE06F
applymovement 0x-32753 0x81BE08F
pause 0x0
#raw 0x53
loadptr 0x80 0x2100AB25
killscript
#raw 0x80
nop
nop
if 0x1 jump 0x1BE08D
#raw 0x27
#raw 0x6B
end

#org 0x1BE08D
#raw 0x6B
end

#org 0x780070
= A POKéMON could be in this TREE.\pWant to HEADBUTT it?

#raw 0 'Down0
#raw FE 'Exit


I compiled it with poke script into my hack Pokemon PinkMew. I don't think it works on R/S/E.

Posted by: Hiidoran Oct 3 2007, 02:43 AM
Well thank you very much for posting this. I myself do enjoy Zel's headbutt trees and I've always wanted to see the script. But... I do believe this would be better suited in the 3rd gen area. Now, I did notice you put all gen, but we simply don't have a program that can script for diamond and pearl as of now. So in light of this, I believe it should be moved.

~MOVES~

Posted by: Spenceroone3 Oct 3 2007, 09:44 PM
Here is a basic Talking script... Compiles only with Pokescript:

CODE

#org $Showtext
lock
faceplayer
message $wally
$wally 1 = Hi! Would you like to\nbattle? No? \l...
release
end

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)