Go Back   The PokéCommunity Forums > ROM Hacking > Tools, Tutorials & Resources

Notices
For all updates, view the main page.

Tools, Tutorials & Resources Various tools to help you develop your hacks can be found here.
New threads in this forum are to be approved by a moderator before they are displayed.



Closed Thread
Click here to go to the first staff post in this thread.  
Thread Tools
  #26    
Old July 16th, 2007 (11:14 PM).
exedissolve's Avatar
exedissolve
Straight-edge
 
Join Date: Jul 2007
Gender:
Nature: Lax
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???
__________________

Dissolve's PokePet

Bunsin the level 53 Flareon!
  #27    
Old July 17th, 2007 (02:13 AM).
Went's Avatar
Went
Team Magma Grunt
 
Join Date: Mar 2007
Location: Madrid
Age: 24
Gender: Male
Send a message via Skype™ to Went
Quote originally posted by exedissolve:
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.
__________________
  #28    
Old July 17th, 2007 (02:15 AM).
trialbymagic's Avatar
trialbymagic
Beginning Trainer
 
Join Date: Jul 2007
Location: Australia
Gender:
Nature: Adamant
Send a message via AIM to trialbymagic Send a message via Windows Live Messenger to trialbymagic Send a message via Yahoo to trialbymagic Send a message via Skype™ to trialbymagic
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?
  #29    
Old July 17th, 2007 (02:16 AM). Edited July 17th, 2007 by <~F.M.P~>.
<~F.M.P~>'s Avatar
<~F.M.P~>
I got you whistling Blue Box!
 
Join Date: Jul 2006
Location: Germany
Age: 22
Gender: Male
Nature: Mild
Send a message via AIM to <~F.M.P~> Send a message via Windows Live Messenger to <~F.M.P~>
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.
  #30    
Old July 17th, 2007 (02:33 AM).
Went's Avatar
Went
Team Magma Grunt
 
Join Date: Mar 2007
Location: Madrid
Age: 24
Gender: Male
Send a message via Skype™ to Went
Quote originally posted by iCAM:
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?
At the bottom of the second post in this thread that is explained.
__________________
  #31    
Old July 17th, 2007 (02:51 AM).
exedissolve's Avatar
exedissolve
Straight-edge
 
Join Date: Jul 2007
Gender:
Nature: Lax
Quote originally posted by Went:
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
__________________

Dissolve's PokePet

Bunsin the level 53 Flareon!
  #32    
Old July 17th, 2007 (07:48 AM).
foullump's Avatar
foullump
Rom Hacking Guru
 
Join Date: Mar 2007
Location: United States
Nature: Calm
Quote originally posted by sumin90210:
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 http://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:

#org $go
checkflag 0x200
if B_true goto $done
applymovement [person number] $walktoplayer
pause 0x[amount of steps]
message $text
boxset 6
givepokemon [pkmn] [level] [hold item]
setflag 0x200
release
end


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

#org $text
$text 1 = ------------------------
__________________
  #33    
Old July 17th, 2007 (12:18 PM).
<~F.M.P~>'s Avatar
<~F.M.P~>
I got you whistling Blue Box!
 
Join Date: Jul 2006
Location: Germany
Age: 22
Gender: Male
Nature: Mild
Send a message via AIM to <~F.M.P~> Send a message via Windows Live Messenger to <~F.M.P~>
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.
  #34    
Old July 17th, 2007 (02:44 PM).
jack276
Beginning Trainer
 
Join Date: May 2007
Gender:
Nature: Adamant
Quote originally posted by sumin90210:
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
__________________
  #35    
Old July 17th, 2007 (04:21 PM). Edited July 17th, 2007 by foullump.
foullump's Avatar
foullump
Rom Hacking Guru
 
Join Date: Mar 2007
Location: United States
Nature: Calm
--------Void post----------
  #36    
Old July 17th, 2007 (04:21 PM). Edited July 17th, 2007 by foullump.
foullump's Avatar
foullump
Rom Hacking Guru
 
Join Date: Mar 2007
Location: United States
Nature: Calm
----------Void Post----------
  #37    
Old July 17th, 2007 (04:24 PM). Edited July 17th, 2007 by foullump.
foullump's Avatar
foullump
Rom Hacking Guru
 
Join Date: Mar 2007
Location: United States
Nature: Calm
Quote originally posted by sumin90210:
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 0x10
message $text
boxset 6
givepokemon  6 35 1
setflag 0x200
release
end

#org $done
release
end

#org $walktoplayer
$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!
__________________
  #38    
Old July 17th, 2007 (06:19 PM).
<~F.M.P~>'s Avatar
<~F.M.P~>
I got you whistling Blue Box!
 
Join Date: Jul 2006
Location: Germany
Age: 22
Gender: Male
Nature: Mild
Send a message via AIM to <~F.M.P~> Send a message via Windows Live Messenger to <~F.M.P~>
Oh okay and do i put this on a character or one of the green scripts?
  #39    
Old July 18th, 2007 (08:42 AM).
foullump's Avatar
foullump
Rom Hacking Guru
 
Join Date: Mar 2007
Location: United States
Nature: Calm
Quote originally posted by sumin90210:
Oh okay and do i put this on a character or one of the green scripts?
A green script. set the vars as
Unknown: [03] [00]
Var Number: [50] [40]
and everything else 0
except your script.
__________________
  #40    
Old July 18th, 2007 (09:21 AM).
<~F.M.P~>'s Avatar
<~F.M.P~>
I got you whistling Blue Box!
 
Join Date: Jul 2006
Location: Germany
Age: 22
Gender: Male
Nature: Mild
Send a message via AIM to <~F.M.P~> Send a message via Windows Live Messenger to <~F.M.P~>
I'm about to try it now thank u so much man.
  #41    
Old July 20th, 2007 (01:54 AM). Edited July 20th, 2007 by <~F.M.P~>.
<~F.M.P~>'s Avatar
<~F.M.P~>
I got you whistling Blue Box!
 
Join Date: Jul 2006
Location: Germany
Age: 22
Gender: Male
Nature: Mild
Send a message via AIM to <~F.M.P~> Send a message via Windows Live Messenger to <~F.M.P~>
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?
  #42    
Old July 20th, 2007 (08:48 AM).
foullump's Avatar
foullump
Rom Hacking Guru
 
Join Date: Mar 2007
Location: United States
Nature: Calm
Quote originally posted by sumin90210:
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?
Could you be a little more clear, please? I don't really understand what you're talking about...
__________________
  #43    
Old July 20th, 2007 (08:58 AM).
jack276
Beginning Trainer
 
Join Date: May 2007
Gender:
Nature: Adamant
Is it possible to make a trainer OW speak straight after a battle?
__________________
  #44    
Old July 20th, 2007 (11:10 AM).
foullump's Avatar
foullump
Rom Hacking Guru
 
Join Date: Mar 2007
Location: United States
Nature: Calm
Quote originally posted by jack276:
Is it possible to make a trainer OW speak straight after a battle?
Like how it is in white version? Yes. Just make an after script for him.
__________________
  #45    
Old July 20th, 2007 (11:19 AM).
jack276
Beginning Trainer
 
Join Date: May 2007
Gender:
Nature: Adamant
white version? I mean the after you battle him and the battle screen goes away and your back in the overworld the trainer talks to you straight after the battle i.e. you have to talk to him.
__________________
  #46    
Old July 20th, 2007 (01:06 PM).
foullump's Avatar
foullump
Rom Hacking Guru
 
Join Date: Mar 2007
Location: United States
Nature: Calm
Yeah, just put it like this

#org $go
trainerbattle 1 0x001 $before $after $further
message $win
boxset 6
release
end

#org $further
message $win
boxset 6
release
end
__________________
  #47    
Old July 20th, 2007 (04:12 PM).
<~F.M.P~>'s Avatar
<~F.M.P~>
I got you whistling Blue Box!
 
Join Date: Jul 2006
Location: Germany
Age: 22
Gender: Male
Nature: Mild
Send a message via AIM to <~F.M.P~> Send a message via Windows Live Messenger to <~F.M.P~>
I'll post a video when im on a real computer and not the WII.
  #48    
Old July 20th, 2007 (04:22 PM).
Darkrai64's Avatar
Darkrai64
Pokemon expert trainer
 
Join Date: Jul 2007
Gender:
Nature: Adamant
When I made a script to make a police officier talk and went to that area and talked to him, the whole screen turned purple! What's going on?
  #49    
Old July 20th, 2007 (05:36 PM).
foullump's Avatar
foullump
Rom Hacking Guru
 
Join Date: Mar 2007
Location: United States
Nature: Calm
Quote originally posted by Darkrai64:
When I made a script to make a police officier talk and went to that area and talked to him, the whole screen turned purple! What's going on?
Sigh... Show me the script...
__________________
  #50    
Old July 20th, 2007 (06:46 PM). Edited July 20th, 2007 by Darkrai64.
Darkrai64's Avatar
Darkrai64
Pokemon expert trainer
 
Join Date: Jul 2007
Gender:
Nature: Adamant
I think what I did wrong was maybe I was writing in the wrong area. I was writing in the log area.
But maybe I didn't download pokescript, maybe it's somethingelse. Where do I download it?
Closed Thread
Quick Reply

Sponsored Links
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Minimum Characters Per Post: 25



All times are UTC -8. The time now is 01:30 PM.