• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

Hack Tutorials: Scripting

Status
Not open for further replies.

akash

Pikachu is the best.
21
Posts
16
Years
Hey.

Well I finally understood this scripting. But the problem is..

Could anyone please tell me how to compile with rubicon Script Editor.
 

derv1205

Trade/Battle/Breed/Clone (X,B2,D)
267
Posts
16
Years
Hi, i want some help n.n , i insert this script in a pokeball:
The problems are that:
-The pokeball dissapears but when i move one step to any side it appears again.
-When i choose to put a name to the Riolu, the flag
0x800 doesn't activates.
-When i choose to put a name it does activate.
Spoiler:



And one more thing ^^, in the script of Gym Leader,
-How do i choose the pokemons the Gym Leader will use?
-How do i choose what badge will give you?
-When i inserted the script, i defeat the GL and nothing happened,
when i talked to her she gave me all the staff BUT when i talked
to her again she gave me again the badge and the item =S
Here is the script of the GymLeader:
Spoiler:
Thanks
 

Mechanic

Shin!~ hohohohoho!~
317
Posts
18
Years
  • Age 33
  • Seen Nov 24, 2014
So now you check my thing and tell me if its ok :P

Spoiler:


This is for when you step in X block then 0x01 comes to the right of you (planned moves) and pauses while he gets there and displays $kidnap text then warps you, flags for this happening only once and the warping part for the obvious warp to inside the lab where you get your first pokemon (i don't like the part when oak comes next to you and tells you to go to hes lab :P)

-Unit - Merry Christmas and thanks for the tut
 

0m3ga_S1nn3r

Beginner Hacker :)
80
Posts
16
Years
hi i have a 2 things to ask..... welll first is
1. how do we add sinnoh pokemon to the game because i really add sinnoh pokemon to my game.

2nd is could someone tell me wats wrong with this script cause when i compile it comes up with an error

#org $Startscript
Lock
Faceplayer
checkflag 0x200
if B_TRUE goto $Gotten
message $AskMe
$AskMe 1 = Hello, I've got this item that\pI dont really need\pWould you like it?
boxset 5
compare LASTRESUILT B_TRUE
if B_False goto $DontGet
giveitem 0xC8 1
setflag 0x200
Release
end

#ORG $Gotten
Lock
Faceplayer
heckflag 0x200
if B_TRUE goto $Good
message $Gotten
$Gotten 1 = Did this item help you?
boxset 5
compare LASTRESULT 1
if B_False goto $TooBad
release
end

#ORG $DontGet
Lock
Faceplayer
message $DontGet
$DontGet = Fine then you wont be getting this LEFTOVERS!
boxset 6
release
end

#ORG $Good
Lock
Faceplayer
message $Good
$Good = YAY! I knew one day I could\phelp someone inneed!\p Here, I'll give you this\p
boxset 6
giveitem 0x19 100
release
end

#ORG $TooBad
Lock
Faceplayer
message $TooBad
$TooBad = Aww well, thing's happen.
boxset 6
release
end
 
6
Posts
16
Years
  • Seen Aug 10, 2009
Good Morning ! I've got a question for my script : how can I do so that the hero looks to the left ? Thank you !

PS : I use GoogleTraduct because I'm french.
 
3
Posts
16
Years
  • Seen Dec 24, 2008
Please show me the tutorial, when I put the Script in ROM, three letters such as o,i and a don't take place in my ROM.
 

/Circa

a face in the clouds.
881
Posts
16
Years
kingdude256

There we're quite a few errors in your script, you overused the yes no commands, alot of places had them leading to wierd things. I'll wewrite the script for you. You might want to take note of some things.
- You added too many lock and faceplayers.
- There were some types.
- You used the giveitem command wrong, in your script you had the item given 100 times...

Anyway, heres the script I wrote:

Code:
#org $begin
lock
faceplayer
checkflag 0x200
if b_true goto $gotten
message $askme
boxset 0x5
compare LASTRESULT b_true
if b_false goto $dontget
giveitem 0xC8 0x1
message $getting
boxset 0x6
setflag 0x200
release
end

#org $gettingberry
= You received LEFTOVERS!

#org $dontget
= I guess you didn't want them...

#org $gotten
lock
faceplayer
message $gotten
$gotten 1 = Did this item help you?
compare lastresult 1
if b_true goto $helped
if b_false goto $didnt
release
end

#org $helped
= It's good that it did.

#org $didnt
= I guess thats too bad...

If this script is wrong, someone can correct it for me ;).
After all, i'm still learning.
 
1
Posts
16
Years
  • Seen Jan 3, 2008
I just started playing around with screipting today and after a while I managed to get my own created npc's to say stuff.
Afterwords I made it a boxset 5 (yes or no) and added a flag so that the question qould only be asked once, and by adding those things i came to this.

#ORG $begin
lock
faceplayer
checkflag 0x200
if B_TRUE goto $really
message $salestalk
$salestalk 1 = Oh, hello \v\h01.\nI still haven't sold the house :(\pYou think 10 million dollar is too\nhigh a price?
boxset 5
compare LASTRESULT B_TRUE
if B_False goto $disagree
message $agree
$agree 1 = WELL WHAT DO YOU KNOW!!!
boxset 6
setflag 0x200
Release
end

#org $disagree
Lock
Faceplayer
message $disagre
$disagre 1 = Yeah it's probally just bad luck\n:(
boxset 6
release
end

#ORG $really
Lock
Faceplayer
message $confirm
$confirm 1 = You really think so?
boxset 6
release
end

With this code I do get the first question ($salestalk) and my flag also works.
And when i answer the question with "yes" it replies with "WELL WHAT DO YOU KNOW!!!" ($agree) however if I answer the question with "no" it replies with the exact same message.

Hope someone can help me.

EDIT: excuse the smilly's forum seems to do that automatically
 

lostprophetsown

chatot,lucario and lance lover
358
Posts
16
Years
  • Age 30
  • Seen Dec 30, 2013
thnx m8 helped me with scripting i just used to edit maps and stuff but now im making pretty good games id give this guide 9/10 and you would get the other mark if you used _ for spaces because it can confuse ppl a bit but other than that awesome guide
 
28
Posts
16
Years
  • Seen Jul 11, 2015
On pokescript whenever i put a script on my rom. Then I went to AM to put the script into my game. Whenever i went to that event in to the game it froze.

Any ideas?
 

dlongwoot

addicted to everything pokemon
5
Posts
16
Years
hey how u doin ggreat tutorial but i need help creating a oak follow me script
ur help would be much appreaciated
 
Status
Not open for further replies.
Back
Top