• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • 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.

Script Requests/Sharing/Discussion

Status
Not open for further replies.

The Shadow Knight

Roaming Kanto
195
Posts
16
Years
  • Seen Jun 26, 2022
Some pokémon don't hatch for a loooooong time.

@TSK: So isn't that what you wanted?
I must have misformulated,I meant what's the flag or var that allows the player to recieve a pokémon from the pokéballs in OAK's lab.(what triggers the givepokémon part of those scripts)
 

linkandzelda

Ex-rom hacker turned indie game developer
777
Posts
17
Years
Some pokémon don't hatch for a loooooong time.

its just in shiny gold i have got to goldenrod city and the egg hatched. i got to goldenrod in my hack and the egg still says it wont hatch for a long time.

if your sure then ok.

thanks
link
 
860
Posts
17
Years
I'll have a go at fixing that for you (All changed parts in bold)
Spoiler:


Most of it looks pretty fine to me. I just fixed up the parts woth "Pause 0x?" and stuff like that.

Thanks...:)
I'm gonna try it out right now..:D

:EDIT:
Hmm..it still doesn't compile in PokeScript...
Anybody else?
 

spenceroone3

<he eats lots of burgers.
215
Posts
16
Years
Oh I see! Why didn't I before? Here is your script, all fixed up ;)
Code:
#org $begin
checkflag 0x999
if B_true goto $done
applymovement 0x06 $move1
applymovement 0x07 $move2
pause 0x70
message $message1
boxset 6
applymovement 0xFF $move3
pause 0x20
applymovement 0x06 $move4
applymovement 0x07 $move5
pause 0x170
setflag 0x999
release
end

#org $done
release
end

#org $move1
[B]$move1 1 ;[/B] #binary 0x12 0x12 0x11 0x12 0x11 0x11 0x63 0xFE

#org $move2
[B]$move2 1 ;[/B] #binary 0x12 0x12 0x12 0x11 0x12 0x11 0x63 0xFE

#org $message1
[B]$message1 1 =[/B] Hey you! You're \v\h01 right?!\nWe are Team Forester!\pProf. Andreas aked us to wait \nand meet you here.\pWe are there wherever you are!\nAnd we will help you on your journey!\pWe have to go now!\nSee ya later...

#org $move3
[B]$move3 1 ;[/B] #binary 0x11 0x13 0xFE

#org $move4
[B]$move4 1 ;[/B] #binary 0x11 0x11 0x11 0x11 0x12 0x12 0x12 0x11 0x11 0x12 0x12 0x12 0x12 0x12 0x10 0x10 0x60 0xFE


#org $move5
[B]$move5 1 ;[/B] #binary 0x11 0x11 0x11 0x11 0x11 0x12 0x12 0x12 0x11 0x11 0x12 0x12 0x12 0x12 0x10 0x10 0x60 0xFE
You just forgot the $move 1 ; bits. by the way, do you use ScriptEd?
 

Death_Mande

Avenged Sevenfold.
195
Posts
16
Years
I made a warp script from scratch, (i dont know how to make scripts from scratch) and i have a feeling i did something wrong..
Spoiler:


Can anybody tell me what it is?
 

spenceroone3

<he eats lots of burgers.
215
Posts
16
Years
Code:
#org $warp
lock
faceplayer
warp 0x[map bank] 0x[map] 0x[warp]
release
end
The only thing wrong with this script is that you haven't finished the 0x[map bank] 0x[Map] 0x[warp] parts.
 
1,104
Posts
16
Years
its just in shiny gold i have got to goldenrod city and the egg hatched. i got to goldenrod in my hack and the egg still says it wont hatch for a long time.

if your sure then ok.

thanks
link

Make a copy of your rom... and in one of them change the amount of steps that it takes for togepi to hatch to something smaller, like 100 steps.

Ps. My egg hatched on the way to olivine when I played Shiny Gold, remeber that it's not a time based thing... It hatches on the amount of steps that you take.

Oh I see! Why didn't I before? Here is your script, all fixed up ;)
Code:
#org $begin
checkflag 0x999
if B_true goto $done
applymovement 0x06 $move1
applymovement 0x07 $move2
pause 0x70
message $message1
boxset 6
applymovement 0xFF $move3
pause 0x20
applymovement 0x06 $move4
applymovement 0x07 $move5
pause 0x170
setflag 0x999
release
end

#org $done
release
end

#org $move1
[B]$move1 1 ;[/B] #binary 0x12 0x12 0x11 0x12 0x11 0x11 0x63 0xFE

#org $move2
[B]$move2 1 ;[/B] #binary 0x12 0x12 0x12 0x11 0x12 0x11 0x63 0xFE

#org $message1
[B]$message1 1 =[/B] Hey you! You're \v\h01 right?!\nWe are Team Forester!\pProf. Andreas aked us to wait \nand meet you here.\pWe are there wherever you are!\nAnd we will help you on your journey!\pWe have to go now!\nSee ya later...

#org $move3
[B]$move3 1 ;[/B] #binary 0x11 0x13 0xFE

#org $move4
[B]$move4 1 ;[/B] #binary 0x11 0x11 0x11 0x11 0x12 0x12 0x12 0x11 0x11 0x12 0x12 0x12 0x12 0x12 0x10 0x10 0x60 0xFE


#org $move5
[B]$move5 1 ;[/B] #binary 0x11 0x11 0x11 0x11 0x11 0x12 0x12 0x12 0x11 0x11 0x12 0x12 0x12 0x12 0x10 0x10 0x60 0xFE
You just forgot the $move 1 ; bits. by the way, do you use ScriptEd?

Actually, it won't compile due to runtime error 13..
I'll fix it. Use this script, It will compile now.
Code:
#org $begin
checkflag 0x999
if B_true goto $done
applymovement 0x06 $move1
applymovement 0x07 $move2
pause 0x70
message $message1
boxset 6
applymovement 0xFF $move3
pause 0x20
applymovement 0x06 $move4
applymovement 0x07 $move5
pause 0x170
setflag 0x999
release
end

#org $done
release
end

#org $move1
$move1 1 ; #binary 0x12 0x12 0x11 0x12 0x11 0x11 0x63 0xFE

#org $move2
$move2 1 ; #binary 0x12 0x12 0x12 0x11 0x12 0x11 0x63 0xFE

#org $message1
$message1 1 = Hey you! You're \v\h01 right?!\nWe are Team Forester!\pProf. Andreas aked us to wait \nand meet you here.\pWe are there wherever you are!\nAnd we will help you on your journey!\pWe have to go now!\nSee ya later...

#org $move3
$move3 1 ; #binary 0x11 0x13 0xFE

#org $move4
#raw 0x11 0x11 0x11 0x11 0x12 
#raw 0x12 0x12 0x11 0x11 0x12 
#raw 0x12 0x12 0x12 0x12 0x10 
#raw 0x10 0x60 0xFE


#org $move5
#raw 0x11 0x11 0x11 0x11 0x11 
#raw 0x12 0x12 0x12 0x11 0x11 
#raw 0x12 0x12 0x12 0x12 0x10 
#raw 0x10 0x60 0xFE
 
Why do all my scripts end up into nothing? After I compiled my script, "used" my script and want to go away I get this:
fout-1.png

The script works but afterwords I get this thing.

I also used a script from Irish Witch but that script doesn't say anything. And after rapidly pressing the A buton I get this:
strangeness.png
 
31
Posts
17
Years
  • Seen Mar 8, 2024
With the script you posted earlier, linkandzelda, the egg will never hatch, because the Pokemon you pass to the egg isn't Togepi, its something completely random like &H33AF (Togepi is 00AF). Try this script to give a Togepi egg:
Spoiler:
The other raws you had there are actually part of other commands and unneeded.
 

Geeked

Pokemon Crimson Version
352
Posts
16
Years
  • Age 29
  • Seen Oct 9, 2012
thethethethe wrote ths script for me but im surprised it doesnt' work
Code:
#org $start
checkflag 0x829             
if b_true goto $done
applymovement 0x02 $move         
pausemove 0
message $kD
boxset 6
applymovement 0xFF $move2      
pausemove 0
release
end

#org $done
release
end

#org $move
#raw 0x62 0x02 0xFE

#org $move2
#raw 0x10 0xFE

#org $kD
$kD 1 =You can't pass without a\npokedex. Go see K-D he lives\pin the house below\nyours.
 
1,104
Posts
16
Years
With the script you posted earlier, linkandzelda, the egg will never hatch, because the Pokemon you pass to the egg isn't Togepi, its something completely random like &H33AF (Togepi is 00AF). Try this script to give a Togepi egg:
Spoiler:
The other raws you had there are actually part of other commands and unneeded.

I thought that the egg line looked wrong but I just thought that it was a different way of giving an egg. Well anyway... Don't you mean countpokemon, not checkpokemon(not a command, in normal database, and wrong use).

thethethethe wrote ths script for me but im surprised it doesnt' work

I really can't see what I did wrong. Can anyone find a problem with that?
 
Why do all my scripts end up into nothing? After I compiled my script, "used" my script and want to go away I get this:
fout-1.png

The script works but afterwords I get this thing.

I also used a script from Irish Witch but that script doesn't say anything. And after rapidly pressing the A buton I get this:
strangeness.png

Doesn't anyone know the problem? Ill post my scripts to.


Spoiler:

NOTE: You can use scriptED scripts in Pokescript. Some did it for me once but he has removed all his hacking tools.
NOTE2: They all end up like this except Irish Witch's wildbatte:
fout-1.png


IW's wildbattles turn into this after rapidly pressing A:
strangeness.png
 

spenceroone3

<he eats lots of burgers.
215
Posts
16
Years
Okay, I'll help ya a little bit:
Code:
#org $lukenetty
lock
faceplayer
message $berichtje
$berichtje 1 = Plaats hier je tekst!
[B]boxset 6[/B]
release
end
Compile that in Pokescript. It works fine for me. Just don't use callstd 6 in these scripts, cos it probably is something else that I don't know about.
 
Okay, I'll help ya a little bit:
Code:
#org $lukenetty
lock
faceplayer
message $berichtje
$berichtje 1 = Plaats hier je tekst!
[B]boxset 6[/B]
release
end
Compile that in Pokescript. It works fine for me. Just don't use callstd 6 in these scripts, cos it probably is something else that I don't know about.

same problem. I don't think it will ever work.
 

linkandzelda

Ex-rom hacker turned indie game developer
777
Posts
17
Years
hi. i made a script for getting the coin case and it works but i still cant buy coins. is there a flag i need to set or somthing?

thanks in advance
link
 
22
Posts
16
Years
  • Seen Jan 10, 2011
Hi, could some one make this script for me:

Gives Lugia Egg

Then screen goes black for a second and she disappears.
 
Status
Not open for further replies.
Back
Top