• 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.

Script Help Thread (DO NOT REQUEST SCRIPTS)

Status
Not open for further replies.

Reygok

Beginning Hacker
60
Posts
14
Years
  • Seen Jan 22, 2016
@vietazn654 and locoroco:

Many Thanks, its working now. Now, in future scripts, do I have do take 4051,4052 and so on? and Always Unknown 0300?

Another thing, it's not really a script problem, but I don't know where to ask then. As you see, the script applies a movement to person nr 2 ("applymovement 0x2 @move1"). Problem is, that person is not there, in the game. I made twoi persons in A-Map, the first one works perfectly, I gave it already somethign to say, but the second one is invisible, until I walk past it. But now, my script working, I can no longer walk past the person, because the script starts, the text is displayed, and then, nothing happens, where the person should move.
Persons don't have unknown and Var numbers, so what should I do?
 

x Necromorph x

Super Saiyan 4
295
Posts
13
Years
Ok this is a givepokemon script, but XSE wont let me compile it.
It says "Type Mismatch on Line 7"
I dont know what that means.
Any help would be great! =]


Spoiler:
 
712
Posts
16
Years
  • Age 31
  • Seen Apr 8, 2024
Ok this is a givepokemon script, but XSE wont let me compile it.
It says "Type Mismatch on Line 7"
I dont know what that means.
Any help would be great! =]


Spoiler:
check your line 7 and see if you follow the right parameters.
 
712
Posts
16
Years
  • Age 31
  • Seen Apr 8, 2024
Just downloaded XSE today.. No updates available
It also says "#define missing"
then try compiling this one.
Code:
#dynamic 0x80073F
 
#org @start
checkflag 0x828
if 0x1 goto @done
msgbox @1 0x5
[B]#raw 0x21 0x0D 0x80 0x01 0x00[/B]
if 0x1 goto @take
msgbox @2 0x6
release 
end
 
#org @take
givepokemon 0x25 0x5 0x0 0x0 0x0 0x0
fanfare 0x13E
msgbox @3 0x4
waitfanfare
closeonkeypress
setflag 0x828
msgbox @4 0x5
[B]#raw 0x21 0x0D 0x80 0x01 0x00[/B]
if 0x1 gosub @name
msgbox @5 0x6
release 
end
 
#org @name
call 0x1A74EB
return
 
#org @done
msgbox @6 0x6
release 
end
 
#org @1
= [red_fr]Hello.\nI don't mean to bother you\pI am having  trouble\ntraining this [yellow_fr]Pikachu\p[red_fr]Can you take care of  it\nfor me?
 
#org @2
= [red_fr]Oh..\pThats okay.\nMaybe someone else\nwill take it.
 
#org @3
= [black_fr]You recieved a [yellow_fr]Pikachu!
 
#org @4
= [black_fr]Would you like to give\n[yellow_fr]Pikachu [black_fr]a  nickname?
 
#org @5
= [red_fr]Please take care of\n[yellow_fr]Pikachu!
 
#org @6
= [red_fr]I can see [yellow_fr]Pikachu\n[red_fr]is doing well!
#raw 0x21 <- Compare
#raw 0x0D <- lastresult 2nd byte
#raw 0x80
<- lastresult 1st byte
#raw 0x01 <- variable 2nd byte
#raw 0x00 <- variable 1st byte
 

x Necromorph x

Super Saiyan 4
295
Posts
13
Years
then try compiling this one.
Code:
#dynamic 0x80073F
Code:
[COLOR=#0080ff]#org @start[/COLOR]
[COLOR=#0080ff]checkflag 0x828[/COLOR]
[COLOR=#0080ff]if 0x1 goto @done[/COLOR]
[COLOR=#0080ff]msgbox @1 0x5[/COLOR]
[COLOR=#0080ff][B]#raw 0x21 0x0D 0x80 0x01 0x00[/B][/COLOR]
[COLOR=#0080ff]if 0x1 goto @take[/COLOR]
[COLOR=#0080ff]msgbox @2 0x6[/COLOR]
[COLOR=#0080ff]release [/COLOR]
[COLOR=#0080ff]end[/COLOR]
 
[COLOR=#0080ff]#org @take[/COLOR]
[COLOR=#0080ff]givepokemon 0x25 0x5 0x0 0x0 0x0 0x0[/COLOR]
[COLOR=#0080ff]fanfare 0x13E[/COLOR]
[COLOR=#0080ff]msgbox @3 0x4[/COLOR]
[COLOR=#0080ff]waitfanfare[/COLOR]
[COLOR=#0080ff]closeonkeypress[/COLOR]
[COLOR=#0080ff]setflag 0x828[/COLOR]
[COLOR=#0080ff]msgbox @4 0x5[/COLOR]
[COLOR=#0080ff][B]#raw 0x21 0x0D 0x80 0x01 0x00[/B][/COLOR]
[COLOR=#0080ff]if 0x1 gosub @name[/COLOR]
[COLOR=#0080ff]msgbox @5 0x6[/COLOR]
[COLOR=#0080ff]release [/COLOR]
[COLOR=#0080ff]end[/COLOR]
 
[COLOR=#0080ff]#org @name[/COLOR]
[COLOR=#0080ff]call 0x1A74EB[/COLOR]
[COLOR=#0080ff]return[/COLOR]
 
[COLOR=#0080ff]#org @done[/COLOR]
[COLOR=#0080ff]msgbox @6 0x6[/COLOR]
[COLOR=#0080ff]release [/COLOR]
[COLOR=#0080ff]end[/COLOR]
 
[COLOR=#0080ff]#org @1[/COLOR]
[COLOR=#0080ff]= [red_fr]Hello.\nI don't mean to bother you\pI am having  trouble\ntraining this [yellow_fr]Pikachu\p[red_fr]Can you take care of  it\nfor me?[/COLOR]
 
[COLOR=#0080ff]#org @2[/COLOR]
[COLOR=#0080ff]= [red_fr]Oh..\pThats okay.\nMaybe someone else\nwill take it.[/COLOR]
 
[COLOR=#0080ff]#org @3[/COLOR]
[COLOR=#0080ff]= [black_fr]You recieved a [yellow_fr]Pikachu![/COLOR]
 
[COLOR=#0080ff]#org @4[/COLOR]
[COLOR=#0080ff]= [black_fr]Would you like to give\n[yellow_fr]Pikachu [black_fr]a  nickname?[/COLOR]
 
[COLOR=#0080ff]#org @5[/COLOR]
[COLOR=#0080ff]= [red_fr]Please take care of\n[yellow_fr]Pikachu![/COLOR]
 
[COLOR=#0080ff]#org @6[/COLOR]
[COLOR=#0080ff]= [red_fr]I can see [yellow_fr]Pikachu\n[red_fr]is doing well![/COLOR]
#raw 0x21 <- Compare
#raw 0x0D <- lastresult 2nd byte
#raw 0x80 <- lastresult 1st byte
#raw 0x01 <- variable 2nd byte
#raw 0x00 <- variable 1st byte

Ok, Thank you for your help!
 

locoroco

Ginga Densetsu Weed ANIME PWNS
251
Posts
14
Years
is that pksv or scriped its really not helping if you cant tell us what your using well atleast not for me cuz my first scripting tool was xse
 

Darthatron

巨大なトロール。
1,152
Posts
18
Years
I've posted at least three times in this thread, but anyway, here it is again.

Video of what I done : http://www.youtube.com/watch?v=Fuym3lgaLO4

Script used : #org $script
lock
faceplayer
message $talk
$talk 1 = Hello.
boxset 6
release
end
Nobody has helped you because (pretty much) everyone has moved on to XSE, which is an updated script editor, with more features. Stop using Pokescript, and download XSE and look at some tutorials.
 

TmsRaider

Gotta Catch 'em all
22
Posts
13
Years
Thank you for the reply, really appreciated, but I don't use XSE because I always get parameter error even though I actually used a script from youtube ( foullump ) but it didn't work, parameter error too.
 

Reygok

Beginning Hacker
60
Posts
14
Years
  • Seen Jan 22, 2016
So, nobody know a solution to my problem?
Well, then another question: Which flags should I use? The ones I use NEVER work, and when they do, they are all resetted as soon as I leave the map.
 
Status
Not open for further replies.
Back
Top