The PokéCommunity Forums

The PokéCommunity Forums (https://www.pokecommunity.com/index.php)
-   Binary ROM Hacking (https://www.pokecommunity.com/forumdisplay.php?f=284)
-   -   Script Requests/Sharing/Discussion (https://www.pokecommunity.com/showthread.php?t=80304)

Corona August 23rd, 2007 6:49 PM

Quote:

Originally Posted by thethethethe (Post 2799845)
Sorry I'm not sure either, I don't use scriptED. But one other thing isn't Taillow, 0x130. Someone here will know how to do it.

If you are talking about the number then no it is 0x(pokemons nationaldex number)

So....i geuss im done XD

thethethethe August 23rd, 2007 6:52 PM

Quote:

Originally Posted by JoyRide (Post 2799866)
If you are talking about the number then no it is 0x(pokemons nationaldex number)

So....i geuss im done XD

is it different for scriptED? In pokescript it is both 0x130 and304.

$_$ August 23rd, 2007 6:57 PM

Could someone make a walkthrough for inserting scripts. On the bundel of programs that come with elitemap?
Please.

Gold Tom August 23rd, 2007 9:56 PM

Can someone please insert this binary below into a script where it says. "Take this too." and then it says "[PLAYER] received EGG!"
Quote:

#binary 31 72 00 67 EA C2 16 08 32 66 7A B9 00

mackoo August 23rd, 2007 10:11 PM

Can somebody make a script for PokeScript, for a man number 7, to givepokemon Bulbasaur and then go 4 squares down, or disapper? It's really important for me and I don't know how to do it...

thethethethe August 23rd, 2007 10:46 PM

Quote:

Originally Posted by Gold Tom (Post 2800599)
Can someone please insert this binary below into a script where it says. "Take this too." and then it says "[PLAYER] received EGG!"

I posted this script about two pages back.
Code:

#org $start
chackflag 0x200
if b_true goto $done
message $poke
boxset 6
call $move
message $poke2
boxset 6
setflag 0x200
release
end

#org $done
message $hi
boxset 6
release
end

#org $poke
$poke 1 =Take this too.\nit’s a POKEMON EGG.

#org $move
#binary 31 72 00 67 EA C2 16 08 32 66 7A B9 00
return

#org $poke2
$poke2 1 =\v\h01 recieved an EGG!

#org $hi
$hi 1 =How's that egg going?


Quote:

Originally Posted by mackoo (Post 2800621)
Can somebody make a script for PokeScript, for a man number 7, to givepokemon Bulbasaur and then go 4 squares down, or disapper? It's really important for me and I don't know how to do it...

Okay here
Code:

#org $start
lock
faceplayer
message $hi
boxset 6
givepokemon 1 5 0
message $rec
boxset 6
applymovement 0x07 $move
pausemove 0
setflag 0x200
release
end

#org $move
$move 1 ; #binary 0x0C 0x0C 0x0C 0x0C 0x60 0xFE

#org $hi
$hi 1 =Here take this BULBASAUR.

#org $rec
$rec 1 =You recieved a BULBASAUR!



Gold Tom August 23rd, 2007 10:56 PM

Thanks so much tttt. This is perfect.

Derlo August 24th, 2007 5:49 AM

how to put a SCRIPT(in PokeScript) in FR for:
- to receive RUNNING SHOES.
- to receive the map.

thanks...;)

Dr.Razor August 24th, 2007 5:58 AM

Can anyone give me the script for giving the pokedex in fire red?

The Shadow Knight August 24th, 2007 8:33 AM

Spoiler:
#org $movement

applymovement 0x01 $M1
pause 0x70
applymovement 0xFF $M2
pause 0x60
trainerbattle 0x00 0x0AF $battle1 $battle2 $further
release
end


#org $M1
#Binary 0x09 0x09 0x09 0x09 0x0B 0x0B 0x09 0xFE

#org $M2
#binary 0x04 0x62 0xFE


#org $battle1
$battle1 = What do you think you're doing?! \pZAPDOS is mine!!

#org $battle2
$battle2 = No,not again...

#org $further

message $afbat

boxset 0x6
applymovement 0x10 $afbatM
pause 0x80

release
end


#org $afbat
$afbat = There are still two more birds to catch\pand those are mine!!\pSmell you later!!

#org $afbatM
#binary 0x08 0x0A 0x0A 0x08 0x08 0x08 0x08 0x60 0xFE


I'm pretty new at this and this is what I have up to now.A few questions:
-What is stopping the script from continuing after the battle?
-Where do I have to put in "playsound" and "fadesound" so it won't bug up the script when it's triggered?(It makes sprite 1 dissapear and there is no music)
-How do you use set- and checkflag?
-I assume the game uses flags for starter determining,what are those flags?(if the game uses them)

Frostbite August 24th, 2007 9:16 AM

Spoiler:
#org $startscript
Lock
Faceplayer
checkflag 0x202
if b_true goto $GotTM
message $ReciveTM
boxset 6
giveitem 0x12B
giveitem 0x132
jingle
message $obtain
boxset 6
message $desc
boxset 6
setflag 0x202
release
end

#org $ReciveTM
$Recive TM 1 = Thanks for saving us!\nAs a gift of my gratitue I want\nyou to have these TMs.

#org $obtain
$obtain 1 = \v\h01 obtained TMs 11 and 18!

#org $desc
$desc 1 = Those TMs contain Sunny Day and Rain Dance.\nSunny Day increases the power of\nFire typed moves and decreases Water\ntyped moves.\pRain Dance does the opposite.\pYou can only use these once so use\nthem wisely!

#org $GotTM
$GotTM 1 = I hope you put those TMs to good use!


Spoiler:
#org $begin
checkflag 0x201
if b_goto $done
playsound 0x13B
#raw 0x33
applymovement 0x01 $scisur
pause 0x10
message $scitalk
boxset 6
applymovement 0x01 $sciwalk
applymovement 0xFF $sciwalk
pause 0x13
applymovement 0x01 $sciwalk2
applymovement 0xFF $sciwalk2
pause 0x13
applymovement 0x01 $sciwalk3
applymovement 0xFF $sciwalk3
pause 0x13
fadesound
applymovement 0x01 $scimove
pause 0x10
message $scitalk2
boxset 6
applymovement 0x01 $sciwalk2
pause 0x20
release
end

#org $done
release
end

#org $scisur
$scisur ; #binary 0x62 0xFE

#org $scitalk
$scitalk 1 = I suppose that you're a Pokemon trainer,\nright?\pWell I guess you are.\nAnyways, we need your help trainer.\pA team of goons have taken over\nthe Weather Institue, we need your\nhelp to clear out the building.\pThe Institue isn't that far\nfrom here, let me lead you\pto it.

#org $sciwalk
$sciwalk 1 ; #binary 0x13 0x13 0x13 0x13 0x13 0x13 0x13 0x13 0x13 0x13 0x13 0x13 0x13

#org sciwalk2
$sciwalk2 1 ; #binary 0x13 0x13 0x13 0x13 0x13 0x11 0x13 0x13 0x13 0x13 0x13 0x13 0x11

#org sciwalk3
$sciwalk3 1 ; #binary 0x11 0x11 0x11 0x11 0x11 0x11 0x11 0x11 0x11 0x11 0x11 0x11 0x11 0xFE

#org $scidown
$scidown 1 ; #binary 0x4A 0xFE

#org $scitalk2
$scitalk2 1 = Here is the Weather Institute.\nJust go inside and clean out the building!

#org $scimove
$sciwalk2 1 ; #binary 0x13 0x02 0xFE


Edit: It seems that I have a problem with compiling the second script into Pokescript, I can't compile the first script fully. Whenever I click the "compile script" option on the right click list it opens up pocketscript but after it's done compiling it give out an error message:

"Run-time error '457'
This key is already associated with an element of this collection."

On the second script it put the script on some random guy, changed the offset and such. When I talk to him the text gets all messed up and my screen goes red. I swear this question was answered a few pages back but I can't seem to find it. >_>

cooley August 24th, 2007 10:19 AM

Quote:

Originally Posted by JoyRide (Post 2798964)
I have a qeustion about the ScriptEd that comes with Elite Map

http://www.youtube.com/watch?v=CJBuxKKHOGQ

What am I doing wrong in that

You have to have the scripts in the same folder as ScriptED(Elitemap) because mine is always click able too.

Code:

MY TURN


How do you:
  • Assign a trainer a script

And, after you make a new Person/Trainer, how do you assign him/her a script too.

Dr.Razor August 24th, 2007 10:32 AM

Quote:

Originally Posted by Dr.Razor (Post 2801544)
Can anyone give me the script for giving the pokedex in fire red?

please can you give me what i want.
Thank you.

cooley August 24th, 2007 11:35 AM

Quote:

Originally Posted by Dr.Razor (Post 2802450)
please can you give me what i want.
Thank you.

You aren't suppose to demand a Script.

Anyway You can Either make a scripte for a GiveItem command, or
Quote:

Originally Posted by thethethethe http://members.optusnet.com.au/itoshiki/10thanime/buttons/viewpost.gif

just put setflag 0x829 in the script to activate the pokedex. And setflag 0x16F to activate thenational dex if you want.

mackoo August 24th, 2007 12:47 PM

Bless you thethethethe - you are fantastic! I really don't know how to thank you!

thethethethe August 24th, 2007 2:58 PM

Quote:

Originally Posted by Derlo (Post 2801516)
how to put a SCRIPT(in PokeScript) in FR for:
- to receive RUNNING SHOES.
- to receive the map.

thanks...;)

There is a way to activate the running shoes but I forgot how to. I'd say copy the inbuilt script offset and put thewm where you want him to recieve them. To recieve the map put this command into a script. This is for Fire Red
Code:

giveitem 0x169 1


Quote:

Originally Posted by TSK (Post 2802081)
Spoiler:
#org $movement
checkflag 0x200
if b_true goto $done
applymovement 0x01 $M1
pause 0x70
applymovement 0xFF $M2
pause 0x60
trainerbattle 0x00 0x0AF $battle1 $battle2 $further
release
end


#org $M1
#Binary 0x09 0x09 0x09 0x09 0x0B 0x0B 0x09 0xFE

#org $M2
#binary 0x04 0x62 0xFE


#org $battle1
$battle1 = What do you think you're doing?! \pZAPDOS is mine!!

#org $battle2
$battle2 = No,not again...

#org $further

message $afbat

boxset 0x6
applymovement 0x10 $afbatM
pause 0x80

release
end


#org $afbat
$afbat = There are still two more birds to catch\pand those are mine!!\pSmell you later!!

#org $afbatM
#binary 0x08 0x0A 0x0A 0x08 0x08 0x08 0x08 0x60 0xFE


I'm pretty new at this and this is what I have up to now.A few questions:
-What is stopping the script from continuing after the battle?
-Where do I have to put in "playsound" and "fadesound" so it won't bug up the script when it's triggered?(It makes sprite 1 dissapear and there is no music)
-How do you use set- and checkflag?
-I assume the game uses flags for starter determining,what are those flags?(if the game uses them)

I'd say try to remove all the gaps between all the commands so write it lie this. I'm going to rewrite the script how I would I'm also going to add thew setflags.
Spoiler:
#org $movement
applymovement 0x01 $M1
pause 0x70
applymovement 0xFF $M2
pause 0x60
trainerbattle 0x00 0x0AF $battle1 $battle2 $further
release
end

#org $M1
$M1 1 ; #Binary 0x09 0x09 0x09 0x09 0x0B 0x0B 0x09 0xFE

#org $M2
$M2 1 ; #binary 0x04 0x62 0xFE

#org $battle1
$battle1 = What do you think you're doing?! \pZAPDOS is mine!!

#org $battle2
$battle2 = No,not again...

#org $further
message $afbat
boxset 0x6
applymovement 0x10 $afbatM
pause 0x80
release
end

#org $afbat
$afbat 1 = There are still two more birds to catch\pand those are mine!!\pSmell you later!!

#org $afbatM
$afbatM 1 ; #binary 0x08 0x0A 0x0A 0x08 0x08 0x08 0x08 0x60 0xFE


Quote:

Originally Posted by Frostbite (Post 2802214)
Spoiler:
#org $startscript
Lock
Faceplayer
checkflag 0x202
if b_true goto $GotTM
message $ReciveTM
boxset 6
giveitem 0x12B
giveitem 0x132
jingle
message $obtain
boxset 6
message $desc
boxset 6
setflag 0x202
release
end

#org $ReciveTM
$Recive TM 1 = Thanks for saving us!\nAs a gift of my gratitue I want\nyou to have these TMs.

#org $obtain
$obtain 1 = \v\h01 obtained TMs 11 and 18!

#org $desc
$desc 1 = Those TMs contain Sunny Day and Rain Dance.\nSunny Day increases the power of\nFire typed moves and decreases Water\ntyped moves.\pRain Dance does the opposite.\pYou can only use these once so use\nthem wisely!

#org $GotTM
$GotTM 1 = I hope you put those TMs to good use!


Spoiler:
#org $begin
checkflag 0x201
if b_goto $done
playsound 0x13B
#raw 0x33
applymovement 0x01 $scisur
pause 0x10
message $scitalk
boxset 6
applymovement 0x01 $sciwalk
applymovement 0xFF $sciwalk
pause 0x130
applymovement 0x01 $sciwalk2
applymovement 0xFF $sciwalk2
pause 0x130
applymovement 0x01 $sciwalk3
applymovement 0xFF $sciwalk3
pause 0x130
fadesound
applymovement 0x01 $scimove
pause 0x10
message $scitalk2
boxset 6
applymovement 0x01 $sciwalk2
pause 0x20
release
end

#org $done
release
end

#org $scisur
$scisur ; #binary 0x62 0xFE

#org $scitalk
$scitalk 1 = I suppose that you're a Pokemon trainer,\nright?\pWell I guess you are.\nAnyways, we need your help trainer.\pA team of goons have taken over\nthe Weather Institue, we need your\nhelp to clear out the building.\pThe Institue isn't that far\nfrom here, let me lead you\pto it.

#org $sciwalk
$sciwalk 1 ; #binary 0x13 0x13 0x13 0x13 0x13 0x13 0x13 0x13 0x13 0x13 0x13 0x13 0x13

#org sciwalk2
$sciwalk2 1 ; #binary 0x13 0x13 0x13 0x13 0x13 0x11 0x13 0x13 0x13 0x13 0x13 0x13 0x11

#org sciwalk3
$sciwalk3 1 ; #binary 0x11 0x11 0x11 0x11 0x11 0x11 0x11 0x11 0x11 0x11 0x11 0x11 0x11 0xFE

#org $scidown
$scidown 1 ; #binary 0x4A 0xFE

#org $scitalk2
$scitalk2 1 = Here is the Weather Institute.\nJust go inside and clean out the building!

#org $scimove
$sciwalk2 1 ; #binary 0x13 0x02 0xFE


Edit: It seems that I have a problem with compiling the second script into Pokescript, I can't compile the first script fully. Whenever I click the "compile script" option on the right click list it opens up pocketscript but after it's done compiling it give out an error message:

"Run-time error '457'
This key is already associated with an element of this collection."

On the second script it put the script on some random guy, changed the offset and such. When I talk to him the text gets all messed up and my screen goes red. I swear this question was answered a few pages back but I can't seem to find it. >_>

I'm going to rewrite the first script. The second second I'll change in your spoiler. I'd say to try it on another OW, just to see if it's the script. Sometimes that works
Spoiler:
]#org $startscript
Lock
Faceplayer
checkflag 0x202
if b_true goto $GotTM
message $ReciveTM
boxset 6
giveitem 0x12B
giveitem 0x132
jingle
message $obtain
boxset 6
message $desc
boxset 6
setflag 0x202
release
end

#org $GotTM
message $recieve
boxset 6
release
end

#org $ReciveTM
$Recive TM 1 = Thanks for saving us!\nAs a gift of my gratitue I want\nyou to have these TMs.

#org $obtain
$obtain 1 = \v\h01 obtained TMs 11 and 18!

#org $desc
$desc 1 = Those TMs contain Sunny Day and Rain Dance.\nSunny Day increases the power of\nFire typed moves and decreases Water\ntyped moves.\pRain Dance does the opposite.\pYou can only use these once so use\nthem wisely!

#org $recieve
$recieve 1 = I hope you put those\nTMs to good use!


Quote:

Originally Posted by cooley (Post 2802414)
You have to have the scripts in the same folder as ScriptED(Elitemap) because mine is always click able too.

Code:

MY TURN


How do you:
  • Assign a trainer a script

And, after you make a new Person/Trainer, how do you assign him/her a script too.

Read part 1 of Irish Witch's Tutorial in the Documents and Tutorials section, that explains how to assign scripts to OW's also read the battle part their might be something else on trainers, (I'm not that sure about the trainerbattle part). But yeah that should solve all your problems for the moment.

Morfeo August 24th, 2007 3:28 PM

Hello, I have a problem with a HackRom that I am doing. I am looking for a Script that allows me to receive pokemon but indicating but characteristic to him that GivePokemon(79).

Since with single GivePokemon I can indicate the Pokémon, the Item and the Level in which it is received.

I look for a form to add (aside from the previous thing) the Original Trainer to him, ID Number, Secret ID, NickName of pokémon, version of capture, plase of capture and to activate the Bit to him of obedient.

And to leave the IVs, Nature and sex of the Original Trainer at random when pokemon is received (the last one to not interests much me).

Nevertheless no matter how hard I look for nonencounter that knows thus of a Script or at least that can add it to GivePokemon to establish the parameters that already mention.

I hope can help me, beforehand thanks.

thethethethe August 24th, 2007 3:37 PM

Quote:

Originally Posted by Morfeo (Post 2803768)
Hello, I have a problem with a HackRom that I am doing. I am looking for a Script that allows me to receive pokemon but indicating but characteristic to him that GivePokemon(79).

Since with single GivePokemon I can indicate the Pokémon, the Item and the Level in which it is received.

I look for a form to add (aside from the previous thing) the Original Trainer to him, ID Number, Secret ID, NickName of pokémon, version of capture, plase of capture and to activate the Bit to him of obedient.

And to leave the IVs, Nature and sex of the Original Trainer at random when pokemon is received (the last one to not interests much me).

Nevertheless no matter how hard I look for nonencounter that knows thus of a Script or at least that can add it to GivePokemon to establish the parameters that already mention.

I hope can help me, beforehand thanks.

This may be able to be done with a hex editor, but scripting wise, That's something you'd have to ask Irish Witch about. At the moment I don't think there is of changing the nature and sex and the above things mentioned, but If you ask Irish Witch politely she might look into it and put it into the next pokescript beta.

Gold Tom August 24th, 2007 5:02 PM

thethethethe, would you like to become my full scripter for my new hack Pokemon Spade? Or anyone?

♠εx August 24th, 2007 9:00 PM

I have a few scripts here.
When I talk to a person it comes up with wierd symbols and the game freezes.

No.1: The girl in FireRed when I start the game is in the wrong place, how do I fix that.
Anyway, heres her script.

Code:

#ORG $ShowText
Lock
Faceplayer
message $NoCookie
$NoCookie 1 = This is a PokeMart.\lMy brother owns it.
boxset 6
release
end


No.2: The fat guy in FireRed stuffs up when I talk to him.
Script:

Code:

#ORG $ShowText
Lock
Faceplayer
message $NoCookie
$NoCookie 1 = Technology is amazing!\lNew inventions come every day
boxset 6
release
end


No.3: I have Brendan and May blocking the way to route 1, they're supposed to move out of the way but the game stuffs up.
Code:

#org $AdjustRight
applymovement 0xFF $MoveLeft
Alert Left0 Left1 Right0
$MoveLeft ; #Binary 0x56 0x02 0x06 0x03
return


I haven't changed this script, I think it's because it doesn't have the primary keys and stuff. Dunno.

Ooka August 24th, 2007 9:05 PM

I have finally learned to script(yay me) but I don't have all the commands memorized yet(basic commands I mean) so I will list the ones in order that I know and then can someone tell me what I am missing?

#org $offset
message $offset
if B_True(might be wrong) goto $offset
???Box 6
release

I know, I'm hopless right, well I am trying to get better and this is how I'm doing it.
end

thethethethe August 24th, 2007 9:09 PM

Quote:

Originally Posted by Brane (Post 2805387)
I have a few scripts here.
When I talk to a person it comes up with wierd symbols and the game freezes.

No.1: The girl in FireRed when I start the game is in the wrong place, how do I fix that.
Anyway, heres her script.

Code:

#ORG $ShowText
Lock
Faceplayer
message $NoCookie
$NoCookie 1 = This is a PokeMart.\lMy brother owns it.
boxset 6
release
end


No.2: The fat guy in FireRed stuffs up when I talk to him.
Script:

Code:

#ORG $ShowText
Lock
Faceplayer
message $NoCookie
$NoCookie 1 = Technology is amazing!\lNew inventions come every day
boxset 6
release
end


No.3: I have Brendan and May blocking the way to route 1, they're supposed to move out of the way but the game stuffs up.
Code:

#org $AdjustRight
applymovement 0xFF $MoveLeft
Alert Left0 Left1 Right0
$MoveLeft ; #Binary 0x56 0x02 0x06 0x03
return


I haven't changed this script, I think it's because it doesn't have the primary keys and stuff. Dunno.

I'm going to rewrite your scripts and hopefully they'll work. And I don't know how to remove the girl yet.
Code:

#ORG $ShowText
Lock
Faceplayer
message $NoCookie
boxset 6
release
end

#org $NoCookie
$NoCookie 1 = This is a PokeMart.\nMy brother owns it.


Code:

#ORG $ShowText
Lock
Faceplayer
message $NoCookie
boxset 6
release
end

#org $NoCookie
$NoCookie 1 = Technology is amazing!\nNew inventions come every day


You do know 0xFF means that you are moving you hero, Don't you???
Code:

#org $AdjustRight
applymovement 0xFF $MoveLeft
pausemove 0
release
end

$org $MoveLeft
$MoveLeft 1 ; #Binary 0x56 0x02 0x06 0x03 0xFE



♠εx August 24th, 2007 9:50 PM

Thanks for helping, but now the screen just goes red >_<.

Should I delete everyone and make new people so there aren't two scripts for the one guy?

WindBlows August 24th, 2007 10:01 PM

Hi!

How are you doing!

I need really please a really complete script!

Firstable you encounter a Rocket and it battle you with this dialogue:

What the heck are you doing here?!?!
Are you going to stop me for robbing these Pokemon?
Alrught meanie, lets battle!

(battle) he has a LV 5 Abra only

(After you won)

Humph.... I lost......
I have to tell to Boss. See ya!

ABRA! Teleport me to the base!(There the rocket dissapears)


Thanks!

mackoo August 24th, 2007 10:37 PM

Sorry thethethethe, but there's something bug in script you make for me - man goes 4 squares down, but then he's where he was before - can you make him disapper after going this 4 squares?

[EDIT]: But i still have some problems - all scripts that I'm pluging in to rom makes people that have they're offse talking japaneesee - what's wrong?


All times are GMT -8. The time now is 2:32 AM.


Like our Facebook Page Follow us on Twitter © 2002 - 2018 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2016 The PokéCommunity / PokéCommunity.com.
PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator.

Acknowledgements
Use of PokéCommunity Assets
vB Optimise by DragonByte Technologies Ltd © 2023.