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

Script Help Thread (DO NOT REQUEST SCRIPTS)

Status
Not open for further replies.
Do you have the right script tile settings? 0003 and 5040?
 
yeah naturally but i have 4050 insted
It's a level script BTW
 
Aaah?!! WUT?! You're meant to say that! A level script is different to a trigger script!
 
wild charizard

hi can somebody tell me wats wrong with my wild charizard script?
Spoiler:
 
@CelebiKing123

It should work now:
Spoiler:
 
Game: Pokemon FireRed
Type: Trigger
Editor: PokeScript

Script:

#org $start
checkflag 0x200
if b_true goto $done
applymovement 0x00 $move
pausemove

message $1
boxset 6
applymovement 0x00 $move2
pausemove
message $2
boxset 6

applymovement 0x00 $move3
pausemove
message $3
boxset 6
checkflag 0x200
if b_true goto $give
release
end

#org $done
countpokemon
compare LASTRESULT 0x0
if b_true goto $need
message $10
boxset 6

special 0x0
waitfanfare
message $11
boxset 6
release
end

#org $give
giveitem 338 1
message $20
boxset 6
setflag 0x200
release
end

#org $need
message $30
boxset 6
release
end

#org $1
$1 1=\c\h01\h04Good Morning \c\h01\nHave a good sleep?\p...\pHmm? That's right!\lYou fell asleep while we\lwere unpacking.\pDon't worry, we've finished.\lVolknear's already gone to the\lPokh\1Bmon League. Shauna's gone\lto get breakfast.\pWhy don't you talk to\lthe locals but don't go\lto Route 300.

#org $2
$2 1=\c\h01\h04Hmm. Well I was\nto give these to\lVolknear but they don't\lfit him. Well I guess you\lthat you can have them!

#org $3
$3 1=\c\h01\h04Here you go.

#org $20
$20 1=\c\h01 got the\c\h01\h04\nRunning Shoes.\pPress B to use them.

#org $10
$10 1=Hi darling. You look tired.\nTake a rest.

#org $11
$11 1=Thats better.\nHave fun.

#org $move
#raw 0x62 0x11 0x12 0x12 0x12 0x12 0x11 0x02

#org $move2
#raw 0x13 0x13 0x13 0x13 0x13 0x13 0x01

#org $move3
#raw 0x12 0x12 0x12 0x12 0x12 0x12


It won't trigger.
 
Last edited:
Stop it with the vagueness people! What do you mean by "it won't trigger"? Do you mean it freezes or nothing happens at all?
 
By that i think he means when he steps on the script tile it wont activate or "trigger"

What you should do is go click on the script tile and make sure you have the 40 50 or 50 40 values in the unknown box(or the one above it, im not sure exactly its been awhile since i have looked at it)at the top of the script panel in A-Map.

But yes you should be more specific when discribing problems.
 
Last edited:
Game: Pokemon FireRed
Type: Trigger
Editor: PokeScript

Spoiler:



It won't trigger.

There's a lot of random errors here, too. Please try to catch your own errors first.

All of the movements need 0xFE to finish them.
\c\h01 should be \v\h01.
Pausemove should have a 0x0 parameter.
Why do you have waitfanfare in a place where it doesn't have a fanfare?
You can't move a person with a Person Number of 0, because I highly doubt that there's a person with a Person Number of 0 on your map. Double check that, please.
Also, you should make the script check for a flag so that it doesn't run through twice, especially since it's a trigger script.

Finally, be sure to use 0300 and 4050 as your Unknown and Var Number values.
 
Can somebody help me

It most be so script:

player will room out but he can't the script say better take my pokemon with me and if he has taken the pokeball in his room the script gone and the player can leave the room.
 
@CelebiKing123

It should work now:
Spoiler:

Yes but don't forget him to change the People ID of the charizard in AM to 0200.
 
[SOLVED]Script Freezing on run

I don't quite understand why this script isn't working.

Notes:
Desired Effect:
Gives Trainer a Crobat (I know there are no safeguards, but those are not part of this script)

Actual Effect:
Freezes on activation (when person is interacted with using the A button)

Other useful information:
Script is an original work (not copypasted badly from various sources)
Rom is Pokémon Fire Red (U)
Rom expanded to 32MiB
Pointer correct in AdvanceMap ($1000000)
Activator is a person on map
Compiler is XSE v1.1.1
@start corresponds to offset 0x1000000

--------------------------------------------

Script Below (73 lines, spoilered to make post reasonable length):
Spoiler:


Additional info provided per request.

NB: Script is probably quite messy and inefficient, as I've not written a huge deal of scripts.
 
Last edited:
There's a lot of random errors here, too. Please try to catch your own errors first.

All of the movements need 0xFE to finish them.
\c\h01 should be \v\h01.
Pausemove should have a 0x0 parameter.
Why do you have waitfanfare in a place where it doesn't have a fanfare?
You can't move a person with a Person Number of 0, because I highly doubt that there's a person with a Person Number of 0 on your map. Double check that, please.
Also, you should make the script check for a flag so that it doesn't run through twice, especially since it's a trigger script.

Finally, be sure to use 0300 and 4050 as your Unknown and Var Number values.

Sorry, I'm very new to scripting. Anyway thanks for that. Works fine.
 
Can somebody help me

It most be so script:

player will room out but he can't the script say better take my pokemon with me and if he has taken the pokeball in his room the script gone and the player can leave the room.


some buddy?

please help me
 
I don't quite understand why this script isn't working.

Notes:
Desired Effect:
Gives Trainer a Crobat (I know there are no safeguards, but those are not part of this script)

Actual Effect:
Freezes on activation (when person is interacted with using the A button)

Other useful information:
Script is an original work (not copypasted badly from various sources)
Rom is Pokémon Fire Red (U)
Rom expanded to 32MiB
Pointer correct in AdvanceMap ($1000000)
Activator is a person on map
Compiler is XSE v1.1.1
@start corresponds to offset 0x1000000

--------------------------------------------

Script Below (73 lines, spoilered to make post reasonable length):
Spoiler:


Additional info provided per request.

NB: Script is probably quite messy and inefficient, as I've not written a huge deal of scripts.

That was something detailed indeed ;)
Here's the fixed and optimized script. I would explain you the changes, but I think you can get more satisfaction by simple understanding them on your own.
The script should work fine, even if I didn't test it. Let me know if you have problems or whatever. Don't forget the [SOLVED] thingy, okay?

Spoiler:
 
Last edited:
Hello,

whats wrong with this script?

Code:
'---------------
#org 0x2D513F
setvar 0x4060 0x37
givepokemon 0x4060 0x8 0x0 0x0 0x0 0x0
end

it must give you your starter pokemon Vulpix but you can talk to the pokeball but nothing happen
 

ROM: Pokemon Fire Red
Version: 1.0
Script Editor: XSE
Script: Trigger Script

I'm having a bit of trouble with this script.
The bit when the flag is not set works fine. When the flag is set, the egg is meant to hatch and then the text is meant to appear. Instead part of the text briefly appears and then the egg hatches and the script ends without the full text appearing.

Here is the script

Spoiler:


The settings for the script are okay but it's the script itself.

Pictures

Spoiler:
 
Last edited:
Hello,

whats wrong with this script?

Code:
'---------------
#org 0x2D513F
setvar 0x4060 0x37
givepokemon 0x4060 0x8 0x0 0x0 0x0 0x0
end

it must give you your starter pokemon Vulpix but you can talk to the pokeball but nothing happen

Uh, yeah, something happened! You just got a Vulpix! But you don't have any messages so, :\ Also, there's no "setflag 0x828" to enable the Pokemon menu.
 
Status
Not open for further replies.
Back
Top