• 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.
This is a script i made it works perfectly, But whenever i step on it the script keeps on happening and hears the script

Spoiler:
 
This is a script i made it works perfectly, But whenever i step on it the script keeps on happening and hears the script

Spoiler:
Use setvar 0x(variable number) 0x1 in script as one of commands and then put the same variable number into "var number" in A-Map when ya view the script :) That would be it I guess... since it's working I guess ya filled the Unknown bar with 0003
 
Use setvar 0x(variable number) 0x1 in script as one of commands and then put the same variable number into "var number" in A-Map when ya view the script :) That would be it I guess... since it's working I guess ya filled the Unknown bar with 0003
Actually he only has to setflag 0x1000.
 
Hi,
I have this problem
I enter this:
Spoiler:


and when I open it again in AdvanceMap I get this:

Spoiler:
 
Code:
#dynamic 0x[offset]
 
#org @start
lockall
checkflag 0x300
if 0x1 goto @done
setflag 0x300
applymovement 0x1 @move1
waitmovement 0x0
msgbox @msg1 MSG_NORMAL
applymovement 0x1 @move2
waitmovement 0x0
releaseall
end
 
#org @done
release
end
 
#org @msg1
= Hello there.\nI heard from my colleague\lProfessor Oak, that you are\lbeginning your journey.\pI've got some help from\nProf. Oak, Prof. Birch and Prof. Elm\lto get these starters for you.\pSo choose wisely.
 
#org @move1
#raw 0x62 
#raw 0x10 
#raw 0x10 
#raw 0xFE 
 
#org @move2
#raw 0x09
#raw 0xFE

Just put in your own dynamic offset, and compile that.
 
I am obnoxiously redirecting attention to my post at the very top of this page, namely, my script down at the bottom. Anyone know what's wrong?
 

Actually he only has to setflag 0x1000.


Uhmm..script works one time and the sprite does disappear when i setflag and one more thing, When i go to a new map the sprite appears again and the script happens again. How do i make the sprite disappear permenantly? and how do i stop the script from repeating? these are the numbers i put for the sprite-

Person Event NO:4
Picture NO:71
Unknown:00 03
Pos {X/Y}: 001D 0005
Person ID: 1000

and for the script i put these numbers-

Pos {X/Y}: 0015 0003
Unknown: 0003
Var Number: 4050

And hear is the script-

Spoiler:


Soooo...Please help.
 
umm... anyone knows what went wrong here?
Code:
#org 0x874013F
'-----------------------------------
lock
checkflag 0x8c3
if true jump @end
applymovement PLAYER 0x8740161 ' look_left say_! end
applymovement 0x4 0x8740164 ' look_down look_right...
message 0x8740167 ' \v\h06: Awesome weat...
showmsg
closemsg
applymovement 0x4 0x87401C3 ' run_down run_down ru...
disappear 0x4
setflag 0x8c3
release
end

#org @end
release
end

#org 0x8740167
= \v\h06: Awesome weather right?\nLet's hurry up!\p Don't want to be late\n for out first Pokemon!  

#org 0x8740161
M look_left say_! end

#org 0x8740164
M look_down look_right end

#org 0x87401C3
M run_down run_down run_down end
its in pksv and is a trigger type.
 
umm... anyone knows what went wrong here?
Spoiler:

its in pksv and is a trigger type.
I'm definitely more of an XSE person than Pokesav, but I've made one adjustment that might help. Where exactly does the problem arise, though? Are the movements messed up?
Also, I'm assuming that you've got Unknown set to 3 and Var Number set to 4050 for this script.
 
Last edited:
Game: Fire Red
Type: Trigger
Editor: XSE
Script:
Spoiler:

Screenshots and/or Videos: Can't give you pics yet because of 15 post lock
Problem: Crashes after !-sign

Advance Map
Person Event
No: 0
Mark active sprite (active)
Person event no: 1
Picture no: 39
Unknown: 00 00
Pos (X/Y): 0015 001F
Unknown: 00
Movement type: No Movement
Movement: 00
Unknown: 00
Trainer(active)
Unknown: 00
View radius: 0007
Script offset: $2E4F18
Person ID: 0000
Unknown: 00 00
 
I'm definitely more of an XSE person than Pokesav, but I've made one adjustment that might help. Where exactly does the problem arise, though? Are the movements messed up?
Also, I'm assuming that you've got Unknown set to 3 and Var Number set to 4050 for this script.
the other sprites movements dont work, the message appears well. the player movements work
im guessing its something to do with the person ID?
no worries, it worked, thanks!
 
Last edited:
Spoiler:

Person Event
No: 0
Mark active sprite (active)
Person event no: 1
Picture no: 39
Unknown: 00 00
Pos (X/Y): 0015 001F
Unknown: 00
Movement type: No Movement
Movement: 00
Unknown: 00
Trainer(active)
Unknown: 00
View radius: 0007
Script offset: $2E4F18
Person ID: 0000
Unknown: 00 00
And do ya have the 001 trainer in ROM filled with someone?
 
Game: Fire Red
Type: Trigger
Editor: XSE
Script:
Spoiler:

Screenshots and/or Videos: Can't give you pics yet because of 15 post lock
Problem: Crashes after !-sign

Advance Map
Person Event
No: 0
Mark active sprite (active)
Person event no: 1
Picture no: 39
Unknown: 00 00
Pos (X/Y): 0015 001F
Unknown: 00
Movement type: No Movement
Movement: 00
Unknown: 00
Trainer(active)
Unknown: 00
View radius: 0007
Script offset: $2E4F18
Person ID: 0000
Unknown: 00 00

Firstly, I think you might have to have a unique Person ID for this guy.
Second, make sure you've checked the trainer box.
Now, if the screen just goes red after the !, go to advance map and open up that map. Find your event.
Now make another person event with all the same settings as your old event, and replace the trainer with the new person (same OW). Then try it. That often helps, though I have absolutlely no clue why.

And I'm going to cry for help again. Please, please go to the top of this page and tell me what's wrong with my script.
 
Still no good, I guess I'm gonna try Pokescript
No, Pokescript wouldn't make this any better as far as I know...
Here, try this:

Spoiler:


Make sure to check the trainer box and all that. If the screen goes red, just make another person event exactly like it and replace the first one.


And from now on I'm sticking this in every post. Please someone, look at the top of this page and tell me what's wrong with my script there.
 
Here, try this:
Better would be this way. But I don't know if that's gonna help...

Spoiler:
 
Thanks guys, but I should tell you something even weirder. I made a trainer EXACTLY like an existing one and it still crashes... Could it be the rom?
 
No, that's something that's happened to me before.
Seriously do this: make an entirely new person event, tailor it so it's exactly like the one you're using, then replace the old with the new and delete the old. i've had that same problem before and this fixes it every time.
You know Ash493, this may be off-topic, but I find your signature mildly creepy (no offense :)).

And once again, please, someone look at the top of this page and tell me what's wrong with my script.
 
It doesn't fix it
What I do is this

Make a new person
make the same proportions (this includes: View Radius Script Offset and Trainer checked,) as the old person
delete the old person
put the new person in the old persons place

Perhaps this might help:
https://www.youtube.com/watch?v=1VAn2j84z5U
I know it's quite small and poor quality
 
Last edited:
Status
Not open for further replies.
Back
Top