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)

cooley August 28th, 2007 12:43 PM

Is something wrong with this Script(it is my First):
Code:

#org $start
lock
faceplayer
checkflag 0x200
if b_true, goto $done
message $person
boxset 6
givepokemon 244 5 0xD7
setflag 0x200
release
end

#org $done
message $done
boxset 6
release
end

#org $person
$person =Here, \ptake this \v\h01!!

#org $done
$done =Run They are\pafter you!


Question:
Can Someone tell me after you Right Click then compile, what to do when you see the "Buf Rite" in pokescript?

Request:
A pokeball Script that contains an Eevee inside of it, no item, level 5.
Please and thank you.

Ooka August 28th, 2007 1:16 PM

Something shoudl pop up immediatly that has a log of the compile. Then you click the torch and assign it to an offset, write down the offset, hit burn, then copy the offset down for the person in advancemap.

thethethethe August 28th, 2007 1:19 PM

Quote:

Originally Posted by cooley (Post 2820979)
Is something wrong with this Script(it is my First):
Code:

#org $start
lock
faceplayer
checkflag 0x200
if b_true, goto $done
message $person
boxset 6
givepokemon 244 5 0xD7
setflag 0x200
release
end

#org $done
message $done
boxset 6
release
end

#org $person
$person =Here, \ptake this \v\h01!!

#org $done
$done =Run They are\pafter you!


Question:
Can Someone tell me after you Right Click then compile, what to do when you see the "Buf Rite" in pokescript?

Request:
A pokeball Script that contains an Eevee inside of it, no item, level 5.
Please and thank you.


I've answered that first question in the other place you posted it, please only post your question in one thread, it makes it easier for everyone.
About the second question, read Irish Witch's tutorial, Part one explains compiling in pokescript.
and your request, if it's a starter, before the second release add 0x828 for FR LG, or 0x800 for RS
Code:

#org $start
faceplayer
message $take
boxset 5
compare LASTRESULT 1
if b_true goto $yes
message $leave
boxset 6
release
end

#org $yes
givepokemon 133 5 0
message $recieve
boxset 6
release
end

#org $take
$take 1 =Should I take it?

#org $leave
$leave 1 =You left it there.

#org $recieve
$receive 1 =You recieved an EEVEE!


Oh Kazaam. Here is a pokemart script.
Code:

#org $StartMarket
lock
faceplayer
pokemart $marketValues
release
end

#org $marketValues
#binary int 0x1 0x2 0x3 0x4 0x5 0x6 0x7 0x8
#binary int 0x9 0xa 0xb 0xc 0x13 0x14 0x0


the 0x1 0x2 0x3 they're the items and 0x0 is close.

cooley August 28th, 2007 1:52 PM

What do you mean the other Place I Posted it?

Thanks For the Script. I'm Starting to learn for myself too.

Ooka August 28th, 2007 2:33 PM

I also need the script for Nurse joy.
I also need the script for where the hero starts.

Diggeh August 28th, 2007 4:48 PM

I have a complicated script request for Pokescript on Fire Red.

----------------------------------

Could someone help me make a situation in which:
-There's a Pokeball that you pick up with an Eevee in it.
-When you say "Yes", a Team Rocket Member steals the Pokeball
-He moves up three spaces, left one space, up two more spaces, and right once; this leaves him next to the Pokeball
-He takes the Pokeball, says a few things [what you put in the script doesn't matter], and runs upwards off of the screen.

----------------------------------

Important things bolded since I was ignored last time.

I know it's a complicated script, but I know someone out there can help me.

cooley August 28th, 2007 5:59 PM

Quote:

Originally Posted by ~Kazaam~ (Post 2821483)
I also need the script for Nurse joy.
I also need the script for where the hero starts.

What Script?

Use SMCA to edit where your Starting map position is.

mackoo August 28th, 2007 10:48 PM

Hello, I was trying to make a script, for a man number 2, to say:

Hello, we meets again!
You are really promising
trainer! I want to give
you this!
Obtained the trainer tools.
Now, I must go, but we
will meet again soon.

And to give me Pokedex, running shues, and PokeNav, and then go 3 squares down (GO not jump), and jump into the water with "plum" (like in Mitic Island trailer/okemon Jaspe - Alexmad or Magma members in Team Magma Hideout to submarine), and thisappear, and don't reapear any more time.

I've tried all, but I really don't know how to do it - please make it for me to work with PokeScript - the base rom is Ruby - I will be very pleased, and after looking on It, I will know how to do it next time ;)

thethethethe August 28th, 2007 10:56 PM

Quote:

Originally Posted by cooley (Post 2821260)
What do you mean the other Place I Posted it?

Thanks For the Script. I'm Starting to learn for myself too.

You posted this script in the Pokescript tutorial. I answered it there before I saw the question here.

Quote:

Originally Posted by ~Kazaam~ (Post 2821483)
I also need the script for Nurse joy.
I also need the script for where the hero starts.

Can't you just use a Nurse Joy offset from another town. But if you just want a heal flag it's special 0x0.

destinedjagold August 28th, 2007 11:08 PM

Hi! It's me again... Since no one tried to help me when i post this problem of mine, I'll type it here again.

ould someone make me a script for a celebi..? I want it to go like this...

when the player walks to the tile where the script is, a CELEBI will appear and says (!)"CELEBI:Brrriii...?" "PLAYER: Huh..? A CELEBI...?"

Then CELEBI will give a cry and walks towards the player and then it'll teleport him to another map.

That's all. Thanks...

BOH August 29th, 2007 12:00 AM

Quote:

Originally Posted by BOH (Post 2820077)
hi

i want a correct script for leggedary pokemon. the pokemon must disappear after the fight

tnx

i replace my question....

Pokeman69 August 29th, 2007 1:41 AM

I know I didn't use lock above face player but how come the 1st one works while the second is basically the same and thnx anyway kazaam for answering my question

if you want too see what happens go to youtube and search for pokemon fire red script editing

Gold Tom August 29th, 2007 1:48 AM

I need a script so that if you have an Umbreon in your party you recieve the 1st Gym Badge and then Roxanne's normal text plays.

Ooka August 29th, 2007 2:06 AM

#org $start
lock
faceplayer
message $hallo
$hallo 1 = hey, you can kiss my ass NOOB!
boxset 2
release
end

Changes are in bold.

The Shadow Knight August 29th, 2007 2:14 AM

(repost)
Spoiler:
#org $movement
checkflag 0x200
if B_true goto $end

applymovement 0x01 $M1
pausemove 0
applymovement 0xFF $M2
pausemove 0
setflag 0x200
trainerbattle 1 0x0AF $battle1 $battle2 $further


release
end

#org $M1
$M1 1 ; #Binary 0x0C 0x0C 0x0E 0x0E 0x0C 0xFE

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

#org $battle1
$battle1 = What are you doing here?! \pZAPDOS is mine!!

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

#org $further
message $afbat
boxset 0x6
applymovement 0x01 $afbatM
pausemove 0
release
end

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

#org $afbatM
$afbatM 1 ; #binary 0x0F 0x14 0x0C 0x0C 0x0C 0x0C 0x0C 0x60 0x1D 0x1D 0x1D 0x1D 0x1D 0x1D 0xFE
#org $end
release
end

That's what I have now,it works very good but where would I have to put playsound and fadesound in there?Any attempts I've made so far made the game freeze...
EDIT:I tried to put it under the "if B_true goto" line

Ooka August 29th, 2007 2:21 AM

Well I am only a noob to scripting but I thought that #org had to go on every new part of the script. And I also though that you had to lock, to have to release.

BOH August 29th, 2007 2:31 AM

Quote:

Originally Posted by BOH (Post 2822920)
Quote:

Originally Posted by BOH (Post 2820077)
hi

i want a correct script for leggedary pokemon. the pokemon must disappear after the fight

tnx

i replace my question....

why nobody answer my question?

Ooka August 29th, 2007 2:34 AM

You have to be patient, once someone that is an advance scripter gets here, they can answer your question.

The Shadow Knight August 29th, 2007 2:34 AM

Quote:

Originally Posted by ~Kazaam~ (Post 2823096)
Well I am only a noob to scripting but I thought that #org had to go on every new part of the script. And I also though that you had to lock, to have to release.

I've never seen something like #org playsound 0x???,always just plain simple playsound 0x???.I also recall you can't be locked if you wan't to apply movement to your character,all the movement and the rest of the script works fine so I can't see the release command have any negative effect.
EDIT:I must have formulated my answer incorrectly since I really didn't want to offend anyone =/Also;the release command indeed isn't needed.

Ooka August 29th, 2007 2:39 AM

Like I said, I'm just a noob to scripting so don't be a jerk about it. Just trying to help, and if it won't have any effect then it's just making everyone here have to read even more than they should have to. Just leave it out if it doesn't have to be there.

destinedjagold August 29th, 2007 3:39 AM

Quote:

Originally Posted by BOH (Post 2823109)
why nobody answer my question?

Though I'm a noob myself..,I think the script should go like this... (I usually don't use hex, but here goes... we'll make a CELEBI script battle...)(I kinda forgot where to put in the "cry" but let me try, okay..?)
Spoiler:

#org $legendcelebi
lock
faceplayer
cry 251
message $celebicry
$celebicry 1 = CELEBI: Brrriii...
boxset 6
checkflag 0x200
if B_TRUE goto $endbattle
wildbattle 251(pokemon number;CELEBI=251) 30(PKMN level) 3(Battle type)
setflag 0x200
release
end

#org $endbattle
$endbattle 1 ; 0x(any movement scripts as long as it won't reach eleven)(the movement script should be enough for the sprite to be unreachable by the player) 0x54(to make the sprite disappear) 0xFE(to end the movement script)


I'm not sure about this though, since I just learned how to mix movement scripts and trainer battle scripts.

I hope it'll work.

thethethethe August 29th, 2007 3:54 AM

Quote:

Originally Posted by BOH (Post 2823109)
why nobody answer my question?

It doesn't help if you repost the same question 3 times on the one page. If people don't know how to answer, I don't think they would. And I need more information, like which legendary.
Quote:

Originally Posted by TSK (Post 2823087)
(repost)
Spoiler:
#org $movement
checkflag 0x200
if B_true goto $end

applymovement 0x01 $M1
pausemove 0
applymovement 0xFF $M2
pausemove 0
setflag 0x200
trainerbattle 1 0x0AF $battle1 $battle2 $further


release
end

#org $M1
$M1 1 ; #Binary 0x0C 0x0C 0x0E 0x0E 0x0C 0xFE

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

#org $battle1
$battle1 1= What are you doing here?! \pZAPDOS is mine!!

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

#org $further
message $afbat
boxset 0x6
applymovement 0x01 $afbatM
pausemove 0
release
end

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

#org $afbatM
$afbatM 1 ; #binary 0x0F 0x14 0x0C 0x0C 0x0C 0x0C 0x0C 0x60 0x1D 0x1D 0x1D 0x1D 0x1D 0x1D 0xFE
#org $end
release
end

That's what I have now,it works very good but where would I have to put playsound and fadesound in there?Any attempts I've made so far made the game freeze...
EDIT:I tried to put it under the "if B_true goto" line

Why so many gaps? and why are they so random? Okay it doesn't really matter where you put the playsounds/fadesounds. I have something for you to try. Try using this when you use playsound
Code:

playsound 0x???
#raw 0x33


That should prevent the game from freezing.

Quote:

Originally Posted by destinedjagold (Post 2822854)
Hi! It's me again... Since no one tried to help me when i post this problem of mine, I'll type it here again.

ould someone make me a script for a celebi..? I want it to go like this...

when the player walks to the tile where the script is, a CELEBI will appear and says (!)"CELEBI:Brrriii...?" "PLAYER: Huh..? A CELEBI...?"

Then CELEBI will give a cry and walks towards the player and then it'll teleport him to another map.

That's all. Thanks...

Okay. I'm going to edit the original script.
Sorry, I'm just really sleepy at the moment, so you can insert all of the text/movements. Oh, I haven't used the Cry command in a while, I can't remember exactly how to write it. If it doesn't work now, replace the
cry 251
with
cry PKMN_CELEBI
or a mix
cry PKMN_CELEBI 251 I don't use this very often, so I can't really remember.
Code:

#org $start
checkflag 0x200
if b_true goto $done
applymovement <people number> $move
pausemove 0
message $ser
boxset 6
cry 251
applymovement <people number> $move2
pausemove 0
setflag 0x200
warp <map bank> <map no.> <event no. of warp>
release
end

#org $done
release
end

#org $move
$move 1 ; #binary (movements) 0xFE

#org $move2
$move2 1 ; #binary (movements) 0xFE

#org $ser
$ser 1 =(text here)


Quote:

Originally Posted by destinedjagold (Post 2823223)
Though I'm a noob myself..,I think the script should go like this... (I usually don't use hex, but here goes... we'll make a CELEBI script battle...)(I kinda forgot where to put in the "cry" but let me try, okay..?)
Spoiler:

#org $legendcelebi
lock
faceplayer
cry 251
message $celebicry
$celebicry 1 = CELEBI: Brrriii...
boxset 6
checkflag 0x200
if B_TRUE goto $endbattle
wildbattle 251(pokemon number;CELEBI=251) 30(PKMN level) 3(Battle type)
setflag 0x200
release
end

#org $endbattle
$endbattle 1 ; 0x(any movement scripts as long as it won't reach eleven)(the movement script should be enough for the sprite to be unreachable by the player) 0x54(to make the sprite disappear) 0xFE(to end the movement script)


I'm not sure about this though, since I just learned how to mix movement scripts and trainer battle scripts.
I hope it'll work.

I'll help you out with this. Sorry destinedjagold, it was close ,just a little mistake.

Spoiler:
#org $legendcelebi
lock
faceplayer
cry 251
message $celebicry
$celebicry 1 = CELEBI: Brrriii...
boxset 6
wildbattle 251 30 3
fadescreen 0
#org $endbattle
$endbattle 1 ; 0x54(for RS)(0x60 for FR LG) 0x(Get it out of the way.) 0xFE
setflag 0x200
release
end





Oh and about the release. It doesn't have to be there, if there isn't a lock, but if you're like me, you put it there for the sake of it being there. Hope this solves everyone's problems for the moment.

The Shadow Knight August 29th, 2007 4:06 AM

I'm just a bad typist and editing the scripts all the time doesn't help either ;)It works like a charm,thank a lot tttt.Now,to stop exessive posting here's my next question:for battles with your rivals,how exactly do you script those(since he has different pokémon according to your starter choice).I assume the game uses flags,if it does,what would those flags be?

destinedjagold August 29th, 2007 4:29 AM

ahahah... ^^

like I said, I'm a noob.

thanks thethethethe!!!

this would be a great help for me t learn more about scripting...

thanks!

mackoo August 29th, 2007 4:31 AM

Quote:

Originally Posted by mackoo (Post 2822843)
Hello, I was trying to make a script, for a man number 2, to say:

Hello, we meets again!
You are really promising
trainer! I want to give
you this!
Obtained the trainer tools.
Now, I must go, but we
will meet again soon.

And to give me Pokedex, running shues, and PokeNav, and then go 3 squares down (GO not jump), and jump into the water with "plum" (like in Mitic Island trailer/okemon Jaspe - Alexmad or Magma members in Team Magma Hideout to submarine), and thisappear, and don't reapear any more time.

I've tried all, but I really don't know how to do it - please make it for me to work with PokeScript - the base rom is Ruby - I will be very pleased, and after looking on It, I will know how to do it next time ;)

Does someone know an answer for my question?
I don't know how to good place command for giving 3 items, and for going (not jumping) , and for "plum", and how to insert so much messeages. When I'm trying to put so much things, I always do many bugs, so I need help with it.


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.