Go Back   The PokéCommunity Forums > ROM Hacking > Tools, Tutorials & Resources
Reload this Page [Tutorial] Hack Tutorials: Scripting

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
 
Thread Tools
  #51    
Old July 20th, 2007 (10:25 PM).
Went's Avatar
Went Went is offline
Goomba of wisdom
Moderator
CS
 
Join Date: Mar 2007
Location: Madrid
Age: 24
Gender: Male
Posts: 18,778
Send a message via Skype™ to Went
In the toolbox, duh. Or go to Irish Witch's page (check her signature).
__________________
Mod of The Playground, Advance Gen and 5th Gen
  #52    
Old August 1st, 2007 (12:52 AM).
bobbob bobbob is offline
 
Join Date: Jul 2007
Nature: Adamant
Posts: 10
thanks looks amazing good tut
  #53    
Old August 2nd, 2007 (02:38 PM).
jdogpwnz's Avatar
jdogpwnz jdogpwnz is offline
Pokemon Elite Journey
 
Join Date: Jul 2007
Location: California
Age: 20
Gender:
Nature: Naughty
Posts: 25
hey i got a quesiton????? After you type in youre script how do you put it to the rom? I try reading the irsh witches turtorial but i fell asleep it was so boring and complicated. So plzz tell meeeeee.
__________________

Join Pokemon Elite Journey's team by clicknig the banner above!
  #54    
Old August 2nd, 2007 (08:52 PM).
foullump's Avatar
foullump foullump is offline
Rom Hacking Guru
 
Join Date: Mar 2007
Location: United States
Nature: Calm
Posts: 220
Quote originally posted by jdogpwnz:
hey i got a quesiton????? After you type in youre script how do you put it to the rom? I try reading the irsh witches turtorial but i fell asleep it was so boring and complicated. So plzz tell meeeeee.
I think I answered that somewhere in the disscussion thread. Search it.
__________________
  #55    
Old August 2nd, 2007 (11:50 PM).
Shattermind's Avatar
Shattermind Shattermind is offline
 
Join Date: Jul 2007
Gender:
Nature: Adamant
Posts: 4
The page that tells how to make a shiny script says forbidden. Could someone just show me the script?
  #56    
Old August 3rd, 2007 (05:54 AM).
gangabob gangabob is offline
 
Join Date: Jun 2007
Gender:
Nature: Adamant
Posts: 24
I still don't understand, how do I enter these into the game? Will it give me one of those Script Offsets?
  #57    
Old August 3rd, 2007 (06:15 AM).
foullump's Avatar
foullump foullump is offline
Rom Hacking Guru
 
Join Date: Mar 2007
Location: United States
Nature: Calm
Posts: 220
Quote originally posted by Shattermind:
The page that tells how to make a shiny script says forbidden. Could someone just show me the script?
Well, it's not simply a script. It's a huge complicated thing that's impossible to understand even for me!
__________________
  #58    
Old August 3rd, 2007 (10:34 AM).
mackoo's Avatar
mackoo mackoo is offline
 
Join Date: Mar 2007
Location: Poland
Gender: Male
Nature: Adamant
Posts: 209
Ok, I've tried to put the givepokemon script to ROM. I used the example:

#org $Startscript
lock
faceplayer
checkflag 0x200
if 1 goto $GotIt
message $AskMe
$AskMe 1 = Would you like a free pokemon?
boxset 5
compare LASTRESULT 1
if 1 goto $Giveit
message $Forget
$Forget 1 = Oh.. Ok, forget it!
boxset 6
release
end

#org $Gotit
message $Howis
$Howis 1 = So, How's the pokemon?
boxset 6
release
end

#org $Giveit
message $Whatisit
$Whatisit 1= You Recieved a BulbaSaur!
boxset 6
givepokemon 0x1 5 0
release
setflag 0x200
end


So it must be good.
I encoded it with pokescript, then it opened in bufrite. And I did it:

And then:

And when i talk to this man, game freezes - what's wrong?
  #59    
Old August 3rd, 2007 (01:04 PM).
foullump's Avatar
foullump foullump is offline
Rom Hacking Guru
 
Join Date: Mar 2007
Location: United States
Nature: Calm
Posts: 220
Quote originally posted by mackoo:
Ok, I've tried to put the givepokemon script to ROM. I used the example:
Spoiler:

#org $Startscript
lock
faceplayer
checkflag 0x200
if 1 goto $GotIt
message $AskMe
$AskMe 1 = Would you like a free pokemon?
boxset 5
compare LASTRESULT 1
if 1 goto $Giveit
message $Forget
$Forget 1 = Oh.. Ok, forget it!
boxset 6
release
end

#org $Gotit
message $Howis
$Howis 1 = So, How's the pokemon?
boxset 6
release
end

#org $Giveit
message $Whatisit
$Whatisit 1= You Recieved a BulbaSaur!
boxset 6
givepokemon 0x1 5 0
release
setflag 0x200
end


So it must be good.
I encoded it with pokescript, then it opened in bufrite. And I did it:

And then:

And when i talk to this man, game freezes - what's wrong?
sorry, but I have no idea what's wrong.
__________________
  #60    
Old August 9th, 2007 (09:39 AM).
Quilava's Master's Avatar
Quilava's Master Quilava's Master is offline
Shattered Dreams '13
 
Join Date: Jul 2007
Nature: Adamant
Posts: 694
tahnks man! but i still need help i did it then the music came on with a whole bunch of "letters" that just kept going help
__________________
The return of Pokemon Shattered Dreams! Click the screenshot to visit the thread, you know you want to.
  #61    
Old August 11th, 2007 (05:52 AM).
mackoo's Avatar
mackoo mackoo is offline
 
Join Date: Mar 2007
Location: Poland
Gender: Male
Nature: Adamant
Posts: 209
Ok, all works, now (expect the fonts) - I didn't have database. But I've got a problem with applymovement. I get this script that was an example. I put it in littleroot, but when i step on it, nothing happen, the fat blue man don't move, and the game not freezes I put it ike that:

Something wrong?
  #62    
Old August 11th, 2007 (06:38 AM).
destinedjagold's Avatar
destinedjagold destinedjagold is offline
Oh Hai Thar~ 'ω'
Silver Tier
 
Join Date: May 2007
Location: Philippines
Gender: Male
Nature: Careful
Posts: 6,956
ALAS! I have found a very nice tutorial. Thanks 4 this!

I was really dying to learn movement and trainer battle scripting.

Thanks again!
__________________

3DS FC: 0061-1111-6462
TSV: 1364(X), 0790(OR)


  #63    
Old August 11th, 2007 (06:47 AM). Edited August 11th, 2007 by destinedjagold.
destinedjagold's Avatar
destinedjagold destinedjagold is offline
Oh Hai Thar~ 'ω'
Silver Tier
 
Join Date: May 2007
Location: Philippines
Gender: Male
Nature: Careful
Posts: 6,956
Quote originally posted by mackoo:
Ok, I've tried to put the givepokemon script to ROM. I used the example:

#org $Startscript
lock
faceplayer
checkflag 0x200
if 1 goto $GotIt
message $AskMe
$AskMe 1 = Would you like a free pokemon?
boxset 5
compare LASTRESULT 1
if 1 goto $Giveit
message $Forget
$Forget 1 = Oh.. Ok, forget it!
boxset 6
release
end

#org $Gotit
message $Howis
$Howis 1 = So, How's the pokemon?
boxset 6
release
end

#org $Giveit
message $Whatisit
$Whatisit 1= You Recieved a BulbaSaur!
boxset 6
givepokemon 0x1 5 0
release
setflag 0x200
end


So it must be good.
I encoded it with pokescript, then it opened in bufrite. And I did it:

And then:

And when i talk to this man, game freezes - what's wrong?
I see you have put the script on the advance map, but have you included to put the flag "200" in the people I.D in advance map..?

I have a problem like this once, and when I reviewed everything, I forgot to include the flag in the script I made.

Hope I helped.
__________________

3DS FC: 0061-1111-6462
TSV: 1364(X), 0790(OR)


  #64    
Old August 14th, 2007 (09:29 AM).
ShinyCharizard's Avatar
ShinyCharizard ShinyCharizard is offline
 
Join Date: Aug 2007
Gender:
Posts: 4
can u tell me wats wrong with this script because wen the professor's aid is going to give me the premierballs the whole screen turns red and it freezes up
p.s. im using a firered rom

Spoiler:
#ORG $begin
lock
faceplayer
checkflag 0x200
if B_true goto $done
message $aidtalk
boxset 6
giveitem 0xC
setflag 0x200
release
end

#org $done
message $aid talk2
boxset 6
release
end

#org $aidtalk
$aidtalk 1 = What's Up \v\h01. Here, take these premierballs!

#org $aidtalk2
$aidtalk2 1 = Hello.
  #65    
Old August 14th, 2007 (10:18 AM).
J00N45 J00N45 is offline
 
Join Date: Jul 2007
Gender:
Nature: Adamant
Posts: 16
Quote originally posted by ShinyCharizard:
can u tell me wats wrong with this script because wen the professor's aid is going to give me the premierballs the whole screen turns red and it freezes up
p.s. im using a firered rom

Spoiler:
#ORG $begin
lock
faceplayer
checkflag 0x200
if B_true goto $done
message $aidtalk
boxset 6
giveitem 0xC
setflag 0x200
release
end

#org $done
message $aid talk2
boxset 6
release
end

#org $aidtalk
$aidtalk 1 = What's Up \v\h01. Here, take these premierballs!

#org $aidtalk2
$aidtalk2 1 = Hello.
Spoiler:
#ORG $begin
lock
faceplayer
checkflag 0x200
if B_true goto $done
message $aidtalk
boxset 6
giveitem 0xC
setflag 0x200
release
end

#org $done
message $aidtalk2
boxset 6
release
end

#org $aidtalk
$aidtalk 1 = What's Up \v\h01. Here, take these premierballs!

#org $aidtalk2
$aidtalk2 1 = Hello.
  #66    
Old August 14th, 2007 (11:10 AM).
ShinyCharizard's Avatar
ShinyCharizard ShinyCharizard is offline
 
Join Date: Aug 2007
Gender:
Posts: 4
Quote originally posted by J00N45:
Spoiler:
#ORG $begin
lock
faceplayer
checkflag 0x200
if B_true goto $done
message $aidtalk
boxset 6
giveitem 0xC
setflag 0x200
release
end

#org $done
message $aidtalk2
boxset 6
release
end

#org $aidtalk
$aidtalk 1 = What's Up \v\h01. Here, take these premierballs!

#org $aidtalk2
$aidtalk2 1 = Hello.
wat do i do with that?
sorry im new at this
  #67    
Old August 14th, 2007 (01:01 PM).
thethethethe thethethethe is offline
 
Join Date: Jun 2007
Location: Melbourne, Australia
Gender: Male
Posts: 1,104
Quote originally posted by J00N45:
Spoiler:
#ORG $begin
lock
faceplayer
checkflag 0x200
if B_true goto $done
message $aidtalk
boxset 6
giveitem 0xC 1
setflag 0x200
release
end

#org $done
message $aidtalk2
boxset 6
release
end

#org $aidtalk
$aidtalk 1 = What's Up \v\h01. Here, take these premierballs!

#org $aidtalk2
$aidtalk2 1 = Hello.
I found another little mistake.
__________________
Gone.
  #68    
Old August 19th, 2007 (08:35 AM).
Lover's Kite's Avatar
Lover's Kite Lover's Kite is offline
the age of empathy
Crystal Tier
 
Join Date: Jul 2007
Location: Texas / California
Age: 23
Gender: Male
Nature: Lonely
Posts: 734
Send a message via Skype™ to Lover's Kite
Scripting is so complicating...
__________________
Lady of the Dam' won't be a slave to the blonde, or the culture of the popular.
  #69    
Old August 20th, 2007 (04:41 AM).
O.G. Duke's Avatar
O.G. Duke O.G. Duke is offline
a.k.a OmegaGroudon
 
Join Date: Oct 2006
Nature: Adamant
Posts: 988
Send a message via Windows Live Messenger to O.G. Duke
I dont really know why must insert the var value?
__________________
This signature has been disabled.
Signature too tall
Please review and fix the issues by reading the signature rules.

You must edit it to meet the limits set by the rules before you may remove the [sig-reason] code from your signature. Removing this tag will re-enable it.

Do not remove the tag until you fix the issues in your signature. You may be infracted for removing this tag if you do not fix the specified issues. Do not use this tag for decoration purposes.
  #70    
Old August 22nd, 2007 (12:12 PM).
RiderLeangle's Avatar
RiderLeangle RiderLeangle is offline
 
Join Date: Jul 2007
Gender:
Nature: Adamant
Posts: 156
Thanks, Although this has to be a joke, Why would nintendo program this into a kids game

Quote:
#define ITEM_SHOALSALT 0x2E
#define ITEM_SHOALSHELL 0x2F
#define ITEM_REDSHARD 0x30
#define ITEM_BLUESHARD 0x31
#define ITEM_YELLOWSHARD 0x32
#define ITEM_GREENSHARD 0x33
#define ITEM_HENTAIMAG 0x34
#define ITEM_NAMETAG 0x35
#define ITEM_HPUP 0x3F
__________________
  #71    
Old August 24th, 2007 (02:46 PM).
Ooka's Avatar
Ooka Ooka is offline
<3
Crystal Tier
 
Join Date: Aug 2007
Location: Challenging The E4
Age: 22
Gender: Male
Nature: Relaxed
Posts: 2,595
Send a message via Skype™ to Ooka
Um, the script in the first post just made the aid at the begining not talk to me. When I load the script to compress it it says "File not found or user cancel"
  #72    
Old August 24th, 2007 (03:41 PM).
thethethethe thethethethe is offline
 
Join Date: Jun 2007
Location: Melbourne, Australia
Gender: Male
Posts: 1,104
what do you mean by compress???
__________________
Gone.
  #73    
Old August 24th, 2007 (03:50 PM).
Ooka's Avatar
Ooka Ooka is offline
<3
Crystal Tier
 
Join Date: Aug 2007
Location: Challenging The E4
Age: 22
Gender: Male
Nature: Relaxed
Posts: 2,595
Send a message via Skype™ to Ooka
I mean put it into my hack.
  #74    
Old August 24th, 2007 (08:58 PM).
thethethethe thethethethe is offline
 
Join Date: Jun 2007
Location: Melbourne, Australia
Gender: Male
Posts: 1,104
I've never had that problem before so I couldn't say how to help. But I might be able to help if you told me exactly what you did.
__________________
Gone.
  #75    
Old August 24th, 2007 (10:51 PM).
EvilWii's Avatar
EvilWii EvilWii is offline
Hacker and mike myers
 
Join Date: Jul 2007
Gender:
Nature: Adamant
Posts: 36
i hate the long list to find 1 word
__________________
i have pbr and pearl i dont know fcs off top of head thou.
bisies
naota form FLCL or Folly colly
canti form FLCL
bobobo form bobobo-bobo-bobo
Spike Spiegel form cowboybebob
Mugen form samurai champloo
my actors
Ramond-The TV star of everbody loves ramond
Adam snadler- NO ONE HAS TAKING HIM WTF
Robon willams-Cool actor(for stepdad)
songs
Ramones-blitz street bop
Vapors-I think im turing jappeness (really haha)
The smiths and morrissey- panic on the streets of london
adam and the ant- good two shoe
Bad manners-skinhead love affair
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

Forum Jump


All times are UTC -8. The time now is 09:53 AM.