• 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?".
  • Forum moderator applications are now open! Click here for details.
  • 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.

Script Help Thread (DO NOT REQUEST SCRIPTS)

Status
Not open for further replies.

qaz015393

pokemon revenge developer
787
Posts
14
Years
  • Age 33
  • Seen today
@qaz015393:
Spoiler:

You might've forgotten this.
? this is what i got so far
Spoiler:
when u said that the alerts are movments i changed move 1 to 56. bty hope this(i47.tinypic.com/28gxxfa.jpg) would be a better for u to understand more on what 2 pkmn sprites im trying to alert when i enter the town & run away.
 

locoroco

Ginga Densetsu Weed ANIME PWNS
251
Posts
14
Years
sorry and i did try with and without waitmovement it was just me experimenting but i still cant get it to work and also do you know what this special 171 does?
 

locoroco

Ginga Densetsu Weed ANIME PWNS
251
Posts
14
Years
thank you now i know whats it for but i still cant get the running shoes and i still cant get the movesprite to work here is the running shoes script

Spoiler:


and i cant get this movesprite to work

Spoiler:


well right now priority is the movesprite script.I put the sprites in the trees so they are not visible once the script is activated, its supposed to move the sprites to where they belong 0x1 is the police sprite and 0x2 is the mom and i cant get them to move theories plz any help will be greatly appreciated
 

DJ. Yabup 99

This is my old account.
22
Posts
14
Years
  • Seen Jun 30, 2010
One thing that's always confused me is whether var numbers can work as flags or if scripts automatically delete them selves so that if you step on the spot where the script was it won't activate it twice. Also, if they can work as flags, is there a way to find free space but with var numbers rather than offsets?
 

kablamo

Straight from NewZealand
15
Posts
13
Years
Thanks if you can help

So guys I need some help. I want it so that when you come out of a building, Mrs Stone, the "stonemaster" approaches you and lets you choose between the thunder,fire and waterstones by answering yes/no, but i have a few problems cause it doesn't work :( I'm using firered and pokescript. please help if you can. Thanks!

Code:
#dynamic 0x740000
#org $start
lock
faceplayer
checkflag 0x570
if 0x1 goto $already
goto $ask

#org $ask
message @1
boxset 5
compare LASTRESULT 0x1
if 0x1 goto $choose
goto $cancel

#org $choose
message @3
boxset 6

message @7
boxset 5
compare LASTRESULT 0x1
if 0x1 goto @s1
message @6
boxset 6

message @8
boxset 5
compare LASTRESULT 0x1
if 0x1 goto @s2
message @6
boxset 6

message @9
boxset 5
compare LASTRESULT 0x1
if 0x1 goto @s3
message @6
boxset 6

message @10
boxset 6

release
end

#org $already
message @4
boxset 6
release
end

#org $s1
copyvarifnotzero 0x8000 FIRESTONE
copyvarifnotzero 0x8001 1
callstd MSG_OBTAIN
setflag 0x570
message @5
boxset 6
release
end

#org $s2
copyvarifnotzero 0x8000 WATERSTONE
copyvarifnotzero 0x8001 1
callstd MSG_OBTAIN
setflag 0x570
message @5
boxset 6
release
end

#org $s3
copyvarifnotzero 0x8000 THUNDERSTONE
copyvarifnotzero 0x8001 1
callstd MSG_OBTAIN
setflag 0x570
message @5
boxset 6
release
end

#org $cancel
message @2
boxset 6
release
end

#org @1
= Hello \v\h01!\pI am Mrs. Stone, stonemaster\nof the school.\pYou may have either a\nFirestone, a\n Waterstone, or a\nThunderstone.\pBut be careful\nwhat you choose,\nyou may only have\none.\pWould you like to\nchoose one now?

#org @2
= Ok, come back\nwhen you want one!

#org @3
= Ok then.\pRemember, you can either\nhave the Firestone,\nWaterstone, or\nThunderstone. 

#org @4
= Go away \v\h01!\nIve already given you\none of my precious Stones!

#org @5
= Good choice!\pWell, until next time,\n\v\h01!

#org @6
= Alright then..

#org @7
= Lets see.. here is\na Firestone!\pDo you want\n this one?

#org @8
= Lets see.. here is\na Waterstone!\pDo you want\n this one?

#org @9
= Lets see.. here is\na Thunderstone!\pDo you want\n this one?

#org @10
= Well, thats all Ive\ngot \v\h01!\pCome back when you\nwant one!
 

TmsRaider

Gotta Catch 'em all
22
Posts
13
Years
Hello!

Erm...

I'm a beginner, and when I tried the givepokemon script, its okay, but when I get in game, the click sound sounds but the words doesn't comes out. Is that normal?
 

vietazn654

A sound soul dwells within me
371
Posts
14
Years
Code:
#dynamic 0x26FDFF

#org @start
checkflag 0x1010
if 0x1 goto @done
msgbox @1 0x6
applymovement 0x13 @move
waitmovement 0x0
applymovement 0xFF @move0
waitmovement 0x0
applymovement 0x17 @move1
waitmovement 0x0
applymovement 0xFF @move2
waitmovement 0x0
msgbox @2 0x6
applymovement 0x17 @move3
waitmovement 0x0
hidesprite 0x13
hidesprite 0x17
setflag 0x1010
release
end

#org @done
release
end

#org @1
= [green_fr]CELEBI: Cele-cele bii!!!

#org @2
= [red_fr]Cynthia: I just came from the\nTempus Forest...\pI saw CELEBI running so I ran also\nhere...\pI'm surprised you got here\nquickly.\pAnyways, CELEBI is the Time Travel\nPokemon.\pIt must have seen the future and\nran from the Tempus Forest to\lJohto...\pHmm... Anyways I must go.\pBe safe, \v\h01.

#org @move
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0xFE

#org @move0
#raw 0x65
#raw 0x10
#raw 0x10
#raw 0x2
#raw 0x3
#raw 0x0
#raw 0xFE

#org @move1
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x13
#raw 0x13
#raw 0x10
#raw 0x10
#raw 0x3
#raw 0xFE

#org @move2
#raw 0x2
#raw 0xFE

#org @move3
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0xFE

The people ID won't work. They won't move. It like, skips it. I put the script in Viridian City. The people movements don't work, only my own.
 

locoroco

Ginga Densetsu Weed ANIME PWNS
251
Posts
14
Years
Originally posted by:vietazn654

#dynamic 0x26FDFF

#org @start
checkflag 0x1010
if 0x1 goto @done
msgbox @1 0x6
applymovement 0x13 @move
waitmovement 0x13
applymovement 0xFF @move0
waitmovement 0xff
applymovement 0x17 @move1
waitmovement 0x17
applymovement 0xFF @move2
waitmovement 0xff
msgbox @2 0x6
applymovement 0x17 @move3
waitmovement 0x0
hidesprite 0x13
hidesprite 0x17
setflag 0x1010
release
end

#org @done
release
end

#org @1
= [green_fr]CELEBI: Cele-cele bii!!!

#org @2
= [red_fr]Cynthia: I just came from the\nTempus Forest...\pI saw CELEBI running so I ran also\nhere...\pI'm surprised you got here\nquickly.\pAnyways, CELEBI is the Time Travel\nPokemon.\pIt must have seen the future and\nran from the Tempus Forest to\lJohto...\pHmm... Anyways I must go.\pBe safe, \v\h01.

#org @move
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0xFE

#org @move0
#raw 0x65
#raw 0x10
#raw 0x10
#raw 0x2
#raw 0x3
#raw 0x0
#raw 0xFE

#org @move1
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x13
#raw 0x13
#raw 0x10
#raw 0x10
#raw 0x3
#raw 0xFE

#org @move2
#raw 0x2
#raw 0xFE

#org @move3
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0xFE

try this 1. also you dont need 2 hidesprites just set the same number on all of the sprites you wish to hide

now could some1 help me with my problem

the running shoes dont work in this script


Spoiler:


and i cant get this movesprite to work


Spoiler:


well right now priority is the movesprite script.I put the sprites in the trees so they are not visible once the script is activated, its supposed to move the sprites to where they belong 0x1 is the police sprite and 0x2 is the mom and i cant get them to move theories plz any help will be greatly appreciated.
 
Last edited:

vietazn654

A sound soul dwells within me
371
Posts
14
Years
Code:
#dynamic 0x26FDFF

#org @start
checkflag 0x1010
if 0x1 goto @done
msgbox @1 0x6
applymovement 0x13 @move
waitmovement 0x13
applymovement 0xFF @move0
waitmovement 0xff
applymovement 0x14 @move1
waitmovement 0x17
applymovement 0xFF @move2
waitmovement 0xff
msgbox @2 0x6
applymovement 0x14 @move3
waitmovement 0x14
hidesprite 0x800F
setflag 0x1010
release
end

#org @done
release
end

#org @1
= [green_fr]CELEBI: Cele-cele bii!!!

#org @2
= [red_fr]Cynthia: I just came from the\nTempus Forest...\pI saw CELEBI running so I ran also\nhere...\pI'm surprised you got here\nquickly.\pAnyways, CELEBI is the Time Travel\nPokemon.\pIt must have seen the future and\nran from the Tempus Forest to\lJohto...\pHmm... Anyways I must go.\pBe safe, \v\h01.

#org @move
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0xFE

#org @move0
#raw 0x65
#raw 0x10
#raw 0x10
#raw 0x2
#raw 0x3
#raw 0x0
#raw 0xFE

#org @move1
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x12
#raw 0x12
#raw 0x10
#raw 0x10
#raw 0x2
#raw 0xFE

#org @move2
#raw 0x3
#raw 0xFE

#org @move3
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0xFE

now it still doesn't work =\ T_T any1 can help? the movements of other people besides myselft don't work =\
 

locoroco

Ginga Densetsu Weed ANIME PWNS
251
Posts
14
Years
You did set this right on each person you want to move
helping.jpg

for example if not set,set it according to the script like this
helping1.jpg

this set it to this
untitled1111.jpg

and then test it if it doesnt work ill analyze your script and help you out as much as i can
it should work but if it doesnt ask again remember set it according to the person you wanna move
 

vietazn654

A sound soul dwells within me
371
Posts
14
Years
You did set this right on each person you want to move
helping.jpg

for example if not set,set it according to the script like this
helping1.jpg

this set it to this
untitled1111.jpg

and then test it if it doesnt work ill analyze your script and help you out as much as i can
it should work but if it doesnt ask again remember set it according to the person you wanna move

I did that. =p I heard before way back that it may be a level script problem. But IDK what that is.
 

locoroco

Ginga Densetsu Weed ANIME PWNS
251
Posts
14
Years
did you do a level script also where did you set the tile the script tile you do know that to do this you have to apply the script to a green "s" tile right

untitled111111.jpg
 
Last edited:

vietazn654

A sound soul dwells within me
371
Posts
14
Years
did you do a level script also where did you set the tile the script tile you do know that to do this you have to apply the script to a green "s" tile right

untitled111111.jpg

Yeah. You put the offset of the script there and change Unknown to 0300 and the Var Number to 4050. But anyways, I didn't do a level script. I'm just saying that I remember someone telling me that when I had this problem before. =\ I think an old level script or something like that.
 

kablamo

Straight from NewZealand
15
Posts
13
Years
Dudes still need help

Hey yal can i have some more help? thanks :)

So guys I need some help. I want it so that when you come out of a building, Mrs Stone, the "stonemaster" approaches you and lets you choose between the thunder,fire and waterstones by answering yes/no, but i have a few problems cause it doesn't work :( I'm using firered and pokescript. please help if you can. Thanks!

Code:
#dynamic 0x740000
#org @start
lock
faceplayer
 
'check if done already
checkflag 0x570
if 0x1 jump $already
goto $ask
 
#org $ask
 
'ask if want now
message @1
callstd MSG_YESNO
if 0x1 jump $choose
goto $cancel
 
#org $choose
 
'intro
message @3
callstd MSG_NORMAL
 
'check if want firestone
message @7
callstd MSG_YESNO
if 0x1 jump @s1
message @6
callstd MSG_NORMAL
 
'check if want waterstone
message @8
callstd MSG_YESNO
if 0x1 jump @s2
message @6
callstd MSG_NORMAL
 
'check if want thunderstone
message @9
callstd MSG_YESNO
if 0x1 jump @s3
message @6
callstd MSG_NORMAL
 
'no choice, comment, exit
message @10
callstd MSG_NORMAL
release
end
 
#org $already
 
'tell to gtfo, end
message @4
callstd MSG_NORMAL
release
end
 
#org $s1
 
'add firestone, set flag, message, end
additem FIRESTONE 1
callstd MSG_OBTAIN
setflag 0x570
message @5
callstd MSG_NORMAL
release
end
 
#org $s2
 
'add waterstone, set flag, message, end
additem WATERSTONE 1
callstd MSG_OBTAIN
setflag 0x570
message @5
callstd MSG_NORMAL
release
end
 
#org $s3
 
'add thunderstone, set flag, message, end
additem THUNDERSTONE 1
callstd MSG_OBTAIN
setflag 0x570
message @5
callstd MSG_NORMAL
release
end
 
#org $cancel
 
'say bye, end
message @2
callstd MSG_NORMAL
release
end
 
#org @1
= Hello \v\h01!\pI am Mrs. Stone, stonemaster\nof the school.\pYou may have either a\nFirestone, a\n Waterstone, or a\nThunderstone.\pBut be careful\nwhat you choose,\nyou may only have\none, and depending on\nwhich one you choose\n and give to your eevee\nit will evolve into different\pokemon.\pWould you like to\nchoose one now?
 
#org @2
= Ok, come back\nwhen you want one!
 
#org @3
= Ok then.\pRemember, you can either\nhave the Firestone,\nWaterstone, or\nThunderstone.
 
#org @4
= Go away \v\h01!\nIve already given you\none of my precious Stones!
 
#org @5
= Good choice!\pWell, until next time,\n\v\h01!
 
#org @6
= Alright then..
 
#org @7
= Lets see.. here is\na Firestone!\pDo you want\n this one?
 
#org @8
= Lets see.. here is\na Waterstone!\pDo you want\n this one?
 
#org @9
= Lets see.. here is\na Thunderstone!\pDo you want\n this one?
 
#org @10
= Well, thats all Ive\ngot \v\h01!\pCome back when you\nwant one!
 
Last edited:

Reygok

Beginning Hacker
60
Posts
14
Years
  • Seen Jan 22, 2016
Version: FireRed (U)
Script editor: XSE

Script
#dynamic 0x800000

//---------------
#org @start
lockall
msgbox @string1 MSG_FACE //"Guten Morgen, [player]!\pHeute ist..."
waitmsg
applymovement 0x2 @move1
waitmovement 0x0
release
end


//---------
// Strings
//---------
#org @string1
= Guten Morgen, [player]!\pHeute ist es soweit...huh?\nHast du dein Pokémon noch nicht\lbekommen? Haha, da hat dein Vater\ldas wohl vergessen.\pTja, ich habe meines bereits und\nwerde bald aufbrechen. Du weisst\ldoch, wer zuerst die Arenaleiterin\lin Maktarstadt besiegt, der\list...naja, besser als der andere.\pWie es aussieht werde ich gewinnen,\lhaha! Und tschüss!


//-----------
// Movements
//-----------
#org @move1
#raw 0x1D //Step Down (Fast)
#raw 0x20 //Step Right (Fast)
#raw 0x20 //Step Right (Fast)
#raw 0x20 //Step Right (Fast)
#raw 0x20 //Step Right (Fast)
#raw 0x20 //Step Right (Fast)
That's my script, just in case, cause I think the problem is not in there.
To put it simply, my script does not start.
In advance map, it has these values:
Unknown: 0003
Var Number: 0000
Var-value: 0000
Unknown 00 00
and then the script offset.

When I walk over the script, nothing happens. It is if it would not be there.
Can somebody help me?
 
Status
Not open for further replies.
Back
Top