Hack Tutorials: Scripting
View Single Post
September 14th, 2007, 08:33 AM
Happy Saint Patrick’s Day!
Join Date: Sep 2007
Hey everyone, I'm extremely new!
I played through Ruby, then Sapphire, now I'm trying to script but I learn by example so I copied this one, but it won't work. I copied it after someone else posted it, and made a few changes... Here's the script.
if 1 goto $GotIt
$AskMe 1 = Argh! I can't handle this! Hey, you look like a confident trainer! Will you take this Pokemon?
compare LASTRESULT 1
if 1 goto $Giveit
$Forget 1 = Oh.. Ok, never mind... ARGH!
$Howis 1 = He's your problem now, away with you!
givepokemon 004 5 0
#raw 0 0 0 0 0 0 0 0 0 0 0 0
$Whatisit 1 = You received Charmander!
I wrote it in Notepad, and saved it under "All File Types" with the extension ".rbc" and then I hit right click on it, and then "Compile Script" but I got an error. It says Runtime Error '6' Overflow.
Which isn't what I expected. I'm using PoketScript but I've also tried Diamond Cutter and I get similar problems. Can someone tell me where I'm going wrong?
I'm actually doing all this more or less, just so I can get Charmander. I got the Gameshark codes to work once, but not any more.
Thanks for all and any help!
View Public Profile
Send a private message to Fluddles
Find all posts by Fluddles
Find threads started by Fluddles