![]() |
Quote:
|
#org $start
lock faceplayer message $1 boxset 5 if b_false goto $no #raw 0x68 fadescreen 0x1 fanfare 0x100 special 0x0 waitfanfare fadescreen 0x0 message $2 boxset 6 release end #org $no message $3 boxset 6 release end #org $3 $3 1 =Ok, well come back if you are ever\ntired and in need of a heal! #org $2 $2 1 =You and your pokemon have been\nfully healed. Come see me if your\ljourney makes you tired again. #org $1 $1 1 =Hello, I am the Nurse Joy who runs\nthis clinic. You and your pokemon\llook tired. Would you like to rest\lfor a little bit? whats wrong with it? When you say yes, she says what she should onyl say when you say "no" and when you says the right thing. |
Quote:
Code:
elow. been a while. I have a script here which needs help. :\ Actually, this script here's a part of my script. :) Code:
Spoiler:
Any help would be appreciated. Thankies and good day~ P.S. I'll keep trying to fix it as I wait. =3 edit... so far, I tried fixing it and it turns out that the first pokemon pic which would appear in the script has a pallete error when it shows it to the screen. you can see it in the screenshot I have posted along with this post. |
k... I got another question:
Spoiler:
when compiling in pokescript it says runtime error mismatch 13 |
Quote:
not quite sure but the few scripts I saw with raws don't use raws like that for movements. :\ e.g. Code:
Code:
|
you are nearly right ;)
It's written allright, but there are to many of them. you could write #raw 0x10 0x10 0x10 0x10 #raw 0x10 0x10 0xFE instad of #raw 0x10 0x10 0x10 0x10 0x10 0x10 0xFE cause if the code it too long, pokescript doesn't compile it and displays this error message. edit: the safest way is the one Time wrote: #raw 0x10 #raw 0x10 #raw 0x10 #raw 0xFE |
hmm, several scripts with a bunch of Raws like that worked fine for movements :p but thanks! I will try that... I was suspecting that may be the problem but i didn't know how to fix it... I'll try it in a few minutes!
EDIT::: So I put in the script... now I got kinda a weird question. So, in order to make the guy hidden, I set his person ID to 0252. That does not hide him. So, I made a script right before you enter the door that setflag 0x252. This makes him disappear. But... my next script, the previous one that was helped with, CLEARS FLAG 0x252 for a reason :/ it was supposed to make him reappear. This has worked for several other things for me. But now, he disappears, and he stays disappeared. He does not reappear when you clear the flag. Why? EDIT::: oh... I was also just thinking... ugg I sound so dumb... but, what if I want the sprite to not show up, until you activate a certain script? And then, you want it to move up to a certain spot, stay there until another script is activate, then disappear and stay gone?? Because... For him to go up and stay there, you have to have a certain person ID, but then to move him again adn disappear and stay disappeared you need ANOTHER person ID... is it possible? |
#org $start
checkflag 0x82F if b_true goto $done applymovement 0x1 $come pausemove 0 playsound 0x12E nop message $1 $1 1 =Good morning honey \nand Happy Birthday! boxset 6 message $2 $2 1 =oh how they grow up so fast!\nHere is your Birthday present! boxset 6 nop fanfare 0x13E message $3 $3 1 =\v\h01 received Running shoes! boxset 6 waitfanfaire message $4 $4 1 =\v\h01 put on the shoes boxset 6 message $5 $5 1 =Me and your dad have \ndecided that you are \lnow old enough to have \pyour own pokemon. boxset 6 message $6 $6 1 =So your dad \ncaught you a pokemon yesterday. boxset 6 message $7 $7 1 =\pUnfortantley your Dad couldn't \nmake it home because \lhe is busy at the lab boxset 6 message $8 $8 1 =\pso if you want the \npokemon go to your father's lab boxset 6 nop fadesound 0x12c applymovement 0x1 $going pausemove 0 setflag 0x82F release end #org $done release end #org $come #raw 0x13 #raw 0x13 #raw 0x01 #raw 0xFE #org $come $come 1 ; #binary 0x13 0x13 0x01 0xFE #org $going #raw 0x12 #raw 0x12 #raw 0xFE #org $going $going 1 ; #binary 0x12 0x12 0xFE so i fixed the script a bit and now it still stops halfway and now says that ?????? was put in my item pocket could sombody find out whats wrong? |
I'm using XSE.
Code:
"Error13 'Type mismatch' on line 7. Missing #define or parameter. Line: givemoney [amount] 999999" Why won't it work? I know almost nothing about scripting. |
Quote:
Code:
Code:
tell me if it works or not. also, dont try compiling to "fffff" because it isnt an offset, I suggest starting at 800000 for your dynamic offset, if you want a more space saving choice, try 7d0000 for a dynamic offset. |
ok this is my problem
1) i write a script 2) i place it at the warp so it activates once u enter the house 3) when i walk in the script doesnt do anything 4) when i walk off of it and bak on then it works Can i make it so that when u walk in it works right away instead of having u walk somewhere else then bak? |
Quote:
|
Quote:
|
dunno if I can help...
I don't know how to use fademusic/fadesound yet. :\ Code:
|
this one dosn't work very well the text is really weird with weird symbols
#org $start lock faceplayer checkflag 0x828 message $1 $1 1 =Ah \v\h01\ I guess your \nhere to get your \lBirthday Present. boxset 6 message $2 $2 1=Here take your Birthday Present! boxset 6 givepokemon 115 5 0 fanfare 0x13E message $4 $3 1 =\v\h01\ received a Chimchar! boxset 4 waitfanfare #raw 0x68 setflag 0x828 message $4 $4 1 =\v\h01\ Would you like to rename Chimchar? boxset 5 compare LASTRESULT 0x1 if b_true gosub $name message $5 $5 1 =Now that you have your \nown pokemon you must \llook after it \pwith love and care. boxset 6 message $6 $6 1=If you do treat this Chimchar \nwith love and care \lI might let you \ptravel the region. boxset 6 message $7 $7 1=But before you go I \nhave something to tell you. boxset 6 message $8 $8 1=I Will be leaving tomorrow to \ntravel the Region so that \lI may continue my research. boxset 6 message $9 $9 1=While I am gone my assistant \nwill take care of the lab. boxset 6 setweather 0x3 #raw 0x00 doweather message $10 $10 1=It looks like it started \nraining you better \lgo home to keep dry boxset 6 warp 0x4 0x1 0xFF #raw 0x02 0x00 0x06 0x00 end #org $name call 0x1A74EB return if someone can get this script to work I would be really appericte it |
Quote:
The extra is the explanation on how to make levelscripts. |
Quote:
i found the tut now all im hopin for is that it works |
Ok, I made a script, but when I compile it, half of it disappears.
Is it my bad, or is it XSE's problem? Here's the script, if you need it. Code:
Code:
|
Quote:
|
well, your checkflag is missing another line.
if B_true or if B_false checkflag 0x828 if B_true goto $other for example. |
#org $start
lock faceplayer checkflag 0x828 if B_true goto $other message $1 $1 1 =Ah \v\h01\ I guess your \nhere to get your \lBirthday Present. boxset 6 message $2 $2 1=Here take your Birthday Present! boxset 6 givepokemon 115 5 0 fanfare 0x13E message $4 $3 1 =\v\h01\ received a \nChimchar! boxset 4 waitfanfare #raw 0x68 setflag 0x828 message $4 $4 1 =\v\h01\ Would you \nlike to rename Chimchar? boxset 5 compare LASTRESULT 0x1 if b_true gosub $name message $5 $5 1 =Now that you have your \nown pokemon you must \llook after it \pwith love and care. boxset 6 message $6 $6 1=If you do treat this \nChimchar with love and care \lI might let you \ptravel the region. boxset 6 message $7 $7 1=But before you \ngo I have something \lto tell you. boxset 6 message $8 $8 1=I Will be leaving \ntomorrow to travel \lthe Region so that \pI may continue my research. boxset 6 message $9 $9 1=While I am gone my assistant \nwill take care of the lab. boxset 6 setweather 0x3 #raw 0x00 doweather message $10 $10 1=It looks like it \nstarted raining you \lbetter go home \pto keep dry boxset 6 release end #org $name call 0x1A74EB return #org $other lock faceplayer message $11 $11 1 =you better \ngo home to keep dry release end it still dosen't work it keeps on repeating the same thing over and over now |
Hello People. I need help with a scripting command (if it exists).
Is there a way to read your highest pokemons level and put it into a variable so it can be read? I know its possible because thats what happens in the trainer tower in FR. Thanks in advance link |
For future Reference, keep your Texts at the bottom.. It Compiles Better..
Code:
|
Thanks xray it works now
|
No Problem, Next time don't Post your problem after every post, it gets annoying :o
|
| All times are GMT -8. The time now is 2:34 AM. |
![]()
© 2002 - 2018 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2016 The PokéCommunity / PokéCommunity.com.
PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator.
Acknowledgements
Use of PokéCommunity Assets
vB Optimise by DragonByte Technologies Ltd © 2023.