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

Hack Tutorials: Scripting

Status
Not open for further replies.
Oh! okay thanks so much and can u post some pics for the applymovement script please?
 
It still dosen't work. It's a give pokemon script just that i've marked trainer in advancedmap and put view range to 2 so the guy walks up to u.
 
It still dosen't work. It's a give pokemon script just that i've marked trainer in advancedmap and put view range to 2 so the guy walks up to u.

No! No! No! Only check the trainer box if the person is a trainer!
 
so how do i make the guy just come to me if i don't mark the trainer box to i add the givepokemon i with a movement script or something?

HERE LOOK AT THIS VID. IT WILL EXPLAIN WHAT IT IS https://www.megaupload.com/?d=47S224XP

P.S. THANX TO YOUR APPLYMOVEMENT SCRIPTS I WAS ABLE TO CREATE ONE BUT THE THING IS I HAVE TO CLICK ON THE CHARACTER FOR IT TO WORK AND THAT WORKS FINE BUT WHEN I PUT IT IN A SCRIPT BOX [THE GREEN BOX WITH THE S ON IT RIGHT]? WELL IT JUST FREEZES ON ME SO WHAT DO I DO? WHAT SCRIPT DO I USE?

$done
$aidwalk1
$aidtalk

I used pokescript for it so yeah.
 
Last edited:
you know, it's crazy, i understand scripting, pretty well, but, and when i say but, it's a big but. how do i give a character or event the script???
 
you know, it's crazy, i understand scripting, pretty well, but, and when i say but, it's a big but. how do i give a character or event the script???

In Advance Map, select Event view, click on the guy you want to give the script, and write the offset in the "script offset" box.
If you want to create a event, in the event view again, create a script in the bottom boxes (near people, warps and posts number) and, again, click on the script and put the offset in the box.
 
Wow! Great tutorial. I'm a little dumb though, the script is written on the computer right? So how do you get it onto the game?
 
I WAS ABLE TO CREATE an applymovement ONE BUT THE THING IS I HAVE TO CLICK ON THE CHARACTER FOR IT TO WORK AND THAT WORKS FINE BUT WHEN I PUT IT IN A SCRIPT BOX [THE GREEN BOX WITH THE S ON IT RIGHT]? WELL IT JUST FREEZES ON ME SO WHAT DO I DO? WHAT SCRIPT DO I USE?

$done
$aidwalk1
$aidtalk

I used pokescript for it so yeah.
 
Last edited:
In Advance Map, select Event view, click on the guy you want to give the script, and write the offset in the "script offset" box.
If you want to create a event, in the event view again, create a script in the bottom boxes (near people, warps and posts number) and, again, click on the script and put the offset in the box.

oh, no wonder i struggled(<---sarcasm)*head2desk*HARD!

thanx alot
 
The Answer

so how do i make the guy just come to me if i don't mark the trainer box to i add the givepokemon i with a movement script or something?

HERE LOOK AT THIS VID. IT WILL EXPLAIN WHAT IT IS https://www.megaupload.com/?d=47S224XP

P.S. THANX TO YOUR APPLYMOVEMENT SCRIPTS I WAS ABLE TO CREATE ONE BUT THE THING IS I HAVE TO CLICK ON THE CHARACTER FOR IT TO WORK AND THAT WORKS FINE BUT WHEN I PUT IT IN A SCRIPT BOX [THE GREEN BOX WITH THE S ON IT RIGHT]? WELL IT JUST FREEZES ON ME SO WHAT DO I DO? WHAT SCRIPT DO I USE?

$done
$aidwalk1
$aidtalk

I used pokescript for it so yeah.

Okay look, this would work as a givepokemon script.
Spoiler:


Make sure to fill in the spaces by putting the
#org $walktoplayer
$walktoplayer 1 ; #binary 0x--------------------0xFE

#org $text
$text 1 = ------------------------
 
I'm sorry please have patience with me because im new here i may have created an account in 06 but I'm just recently using it sorry.

this is what my script looks like. Is this right?

org $go
checkflag 0x200
if B_true goto $done
applymovement 0x8 $walktoplayer
pause 0x1
message $text
boxset 6
givepokemon 0x6 35 1
setflag 0x200
release
end

$walktoplayer 1 ; #binary 0x0A 0xFE

#org $text
$text 1= Hey before u go take this.



and the BUF RITE looks like this

#PROCESS: C:\Documents and Settings\HP_Owner\Desktop\EliteMap\Pokemon - Fire Red.gba F:2 for read
------------------------------------------------------------------------------------------------
- Pushed apmovement.$go to 800000
- Pushed apmovement.$walktoplayer to 80003F
#PROCESS: C:\Documents and Settings\HP_Owner\Desktop\EliteMap\Pokemon - Fire Red.gba F:3 for read
------------------------------------------------------------------------------------------------
- Adjusting apmovement.$done in 0 at 8013884
- Adjusting apmovement.$walktoplayer in 0 at 880003F
- Adjusting apmovement.$text in 0 at 80C350C
- Putting [+
- Putting [
þ] at 80003F
|
\- Processed 0 Lines


It told me to it had floating pointers so i had to create random offsets for them.
 
this is what my script looks like. Is this right?

org $go
checkflag 0x200
if B_true goto $done
applymovement 0x8 $walktoplayer
pause 0x1
message $text
boxset 6
givepokemon 0x6 35 1
setflag 0x200
release
end

$walktoplayer 1 ; #binary 0x0A 0xFE

#org $text
$text 1= Hey before u go take this.

I am not to sure but I think you need to add a #org $done "script" at the end as you told the script to goto $done after the checkflag
 
I'm sorry please have patience with me because im new here i may have created an account in 06 but I'm just recently using it sorry.

this is what my script looks like. Is this right?

org $go
checkflag 0x200
if B_true goto $done
applymovement 0x8 $walktoplayer
pause 0x1
message $text
boxset 6
givepokemon 0x6 35 1
setflag 0x200
release
end

$walktoplayer 1 ; #binary 0x0A 0xFE

#org $text
$text 1= Hey before u go take this.



and the BUF RITE looks like this

#PROCESS: C:\Documents and Settings\HP_Owner\Desktop\EliteMap\Pokemon - Fire Red.gba F:2 for read
------------------------------------------------------------------------------------------------
- Pushed apmovement.$go to 800000
- Pushed apmovement.$walktoplayer to 80003F
#PROCESS: C:\Documents and Settings\HP_Owner\Desktop\EliteMap\Pokemon - Fire Red.gba F:3 for read
------------------------------------------------------------------------------------------------
- Adjusting apmovement.$done in 0 at 8013884
- Adjusting apmovement.$walktoplayer in 0 at 880003F
- Adjusting apmovement.$text in 0 at 80C350C
- Putting [+
- Putting [
þ] at 80003F
|
\- Processed 0 Lines


It told me to it had floating pointers so i had to create random offsets for them.

Missing a few things.
Code:
org $go
checkflag 0x200
if B_true goto $done
applymovement 8 $walktoplayer
pause 0x1[B]0[/B]
message $text
boxset 6
givepokemon  6 35 1
setflag 0x200
release
end

[B]#org $done
release
end[/B]

[B]#org $walktoplayer[/B]
$walktoplayer 1 ; #binary 0x0A 0xFE

#org $text
$text 1 = Hey before u go take this.

Sorry for tripple post, my computer did some wierd thing and posted 3 times!
 
Last edited:
HA HA! YES It finally works thanks foullump not only have you helped create my script u furthered my progress in my work and ironically i learned how to make movement scripts using the script you helped me make! Ur help is greatly appreciated...Now for my final question. How do you get the person to say what they have to say without moving back to there original spot while the scripts sdill in effect? Do i just increase the pause part by whatever i want?
 
Last edited:
Status
Not open for further replies.
Back
Top