• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Our weekly protagonist poll is now up! Vote for your favorite Trading Card Game 2 protagonist in the poll by clicking here.
  • 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.

[Archive] Script help thread

Status
Not open for further replies.
I know there is something wrong with this script.
Its about oak telling you that you can't go in the grass and leading you to his lab.
Here it is and as always correct me if i'm wrong.

#ORG $begin
checkflag 0x353
Wait!B_true goto $done
applymovement 0x62 0x20 0x1D 0x4A $mw1 0xFE
pause 0x30
message $aidtalk
boxset 6
If you go out\nthere you will get\qinjured!\pHere!\nFollow me.
playsound 0x13B
applymovement 0x01 $mw2
applymovement 0xFF $mw2
pause 0x50
fadesound
release
end

#org $done
release
end

#org $mw1
$mw1 ; #binary 0x10 0x13 0x10 0x13 0x01
 
Hey I've got a qeustion about the pokéball script. How do you make it dissapear after you get the item?
 
Hey I've got a qeustion about the pokéball script. How do you make it dissapear after you get the item?

First: Use the dissapear command
Second: Set its people ID to the flag of the script
 
is No one i is going to answer my question?
Sorry but i sometimes forget my grammer.
 
Could someone tell me what is wrong with this script?

#ORG $begin
lock
faceplayer
$Akki
boxset 6
release
end

#org $Akki
$Akki 1 = Good luck Jakkin!
 
Could someone tell me what is wrong with this script?

#ORG $begin
lock
faceplayer
$Akki
boxset 6
release
end

#org $Akki
$Akki 1 = Good luck Jakkin!

you need to put "message $Akki" on the third line instead of just $Akki. Also, you don't need to put "$Akki 1 = Good luck Jakkin!" at the bottom. try this.

Spoiler:
 
Thanks and it compiles better if you put that at the bottom.

You're very welcome, and thank you for telling me that; I had no idea ^_^;
I never bothered because it looked all cluttered to me.
 
How do I make a script that has text appear right after a wild pokemon battle?

I think it depends. Do you want it to be after every battle or just a certain battle?

If it's after a certain battle, you'd have to script it like a trainer battle I think. I'll get back to you on in it a little.
 
It only needs to happen after one battle.

Well, you'd need somebody to help you out with scripting wild battles. Those are something I haven't yet got the hang of yet. Right now my ROM is acting up, so I'll have to get back to you later.
 
Hi guys!
I have a question.

Is it possible to create such a script :
- You klick a Person. He says "Hello! You're <PLAYER>, right?" /p"Levale me alone!". The script ends.
- You click the person again. He says "I said : Leave me alone!". The script ends.
- You click the Person at the third time. He says "DON'T YOU UNDERSTAND!? LEAVE ME ALONE!". The script ends.
- You click the person again. He says : "Okay, you asked for it!". A trainerbattle starts.

If yes, can you give me an example how the script looks like?
 
Hi guys!
I have a question.

Is it possible to create such a script :
- You klick a Person. He says "Hello! You're <PLAYER>, right?" /p"Levale me alone!". The script ends.
- You click the person again. He says "I said : Leave me alone!". The script ends.
- You click the Person at the third time. He says "DON'T YOU UNDERSTAND!? LEAVE ME ALONE!". The script ends.
- You click the person again. He says : "Okay, you asked for it!". A trainerbattle starts.

If yes, can you give me an example how the script looks like?

Here is most of your script. The only thing I didn't do was script in the trainer battle, because I haven't gotten that part down all the way. But here's what I have so far, related to the conversation part.

Code:
#org $curseyou
checkflag 0x205
lock
faceplayer
if B_true goto $phase2
message $phase1
$phase1 1 = Hey, you're \v\h01, right?\pGet lost!
boxset 6
setflag 0x205
release
end

#org $phase2
checkflag 0x206
lock
faceplayer
if B_true goto $phase3
message $phase2point5
$phase2point5 1 = I said leave me alone!
boxset 6
setflag 0x206
release
end

#org $phase3
checkflag 0x207
lock
faceplayer
if B_true goto $phase4
message $phase3point5
$phase3point5 1 = DON'T YOU UNDERSTAND!? LEAVE ME ALONE!
boxset 6
setflag 0x207
release
end

#org $phase4
checkflag 0x208
lock
faceplayer
if B_true goto $phase5
message $phase4point5
$phase4point5 1 = Okay, you asked for it!
boxset 6
setflag 0x208
release
end

#org $phase5
lock
faceplayer
message $phase5point5
$phase5point5 1 = Okay, I'm sorry.
boxset 6
release
end
It all works, since I've tried it myself. I'll PM you when I understand how to get a trainer battle into the script, unless others want that script too.
 
Last edited:
Well if what Jack Of Blades says is true,
This'll work

Spoiler:

Also I need help with this script

Spoiler:

I want the 0x4 person to move up 10 steps,
Then I want the Player to get a "!!" above his/her head,
And go down 9 steps.
Then I want the 0x04 person to give you the pokemon and items,
Then dissapear.

Is what happens is:
As soon as you step on the script box the player gets a "!!" above his/her head and goes down 9 steps,
And gets the Pokemon and Items from nobody.
So please tell me what's wrong!

Also what command allows you to nickname your pokemon?
 
Hey I've got another qeustion about this script
Spoiler:
 
applymovement 0x04 $Imandis
pausemove 0

and

#ORG $Imandisappear
$Imandis 1 ; 0x60 0xFE

aren't the same and also, you should put this in the movement scripts...

#org $Itmandisappear
$Itmandisappear 1 ; #binary

always put a #binary in every movement scripts before the moves...

lol Thanks DJG!
I'll try that out and see what happens!


EDIT:
Well It still dosen't work...
It does the same thing as before...
Here's the script...


Spoiler:
 
Last edited:
Okay, small question. Is it possible to link two scripts together by letting them share one flag (such as you say something somebody, they set a flag, and then the script of another person checks for that same flag)?

If not, how do I get them to respond to each other?


-EDIT- You know what? I'm gonna stop posting questions, because I always figure them out on my own. But I do have a new script up in case anybody wants it. It involves two separate characters responding to each other (via flags)
 
Last edited:
lol Thanks DJG!
I'll try that out and see what happens!


EDIT:
Well It still dosen't work...
It does the same thing as before...
Here's the script...


Spoiler:

How many squares away is the people number 4 from the script box..?
If it's too far away, then it won't move.
Also, have you put in the right var values in that person and so in the script?
Have ya set the same flag on the person?
Try making the #org in small case.
 
Status
Not open for further replies.
Back
Top