The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page Script Requests/Sharing/Discussion

Notices
For all updates, view the main page.

Binary ROM Hacking Need a helping hand or just want to talk about binary ROM hacks? Get comments and answers to any ROM Hacking-related problems, questions or thoughts you have here.

Ad Content
Closed Thread
 
Thread Tools
  #1351   Link to this post, but load the entire thread.  
Old November 1st, 2007 (1:56 AM).
destinedjagold's Avatar
destinedjagold destinedjagold is offline
You can contact me in PC's discord server...
 
Join Date: May 2007
Age: 32
Gender: Male
Nature: Careful
Posts: 8,579
No... I was just curious 'cause I saw this in the tutorials... I printed it...

Code:
BOXSET <type>
Alias: callstd <type>
Displays the text loaded by MSGBOX and updates the screen. Type of boxes are:
0 - 'Find Object'
1 - 'Obtained Object'
2 - 'Received Pokemon'
5 - 'Yes/No'
6 - 'Text Box'
Btw, thanks thethethethe. I'll add that in my print-outs! ^^ That is very useful!

- edited -

btw, couldn't I just make it like

Code:
cry 0xA1 1
__________________

  #1352   Link to this post, but load the entire thread.  
Old November 1st, 2007 (2:31 AM).
Dabomstew Dabomstew is offline
 
Join Date: Feb 2007
Gender:
Nature: Adamant
Posts: 31
Quote:
Originally Posted by destinedjagold View Post
No... I was just curious 'cause I saw this in the tutorials... I printed it...

Code:
BOXSET <type>
Alias: callstd <type>
Displays the text loaded by MSGBOX and updates the screen. Type of boxes are:
0 - 'Find Object'
1 - 'Obtained Object'
2 - 'Received Pokemon'
5 - 'Yes/No'
6 - 'Text Box'
Btw, thanks thethethethe. I'll add that in my print-outs! ^^ That is very useful!

- edited -

btw, couldn't I just make it like

Code:
cry 0xA1 1
No, because the cry command takes 5 bytes of arguments instead of 3 as defined in PokeScript and ScriptED, so if you use it on it's own, it'll "eat" the next command you use (won't happen). With the pause 0x28 after it, it just "eats" that, leaving the rest of the script to run properly.

EDIT: Whoops, I guess I missed the point. Yes, you could just use a decimal number for the Pokemon... but my advice in the previous paragraph is handy just in case you forget the "pause" after the cry command.
__________________
FR scripter back in the day... now, check out my Universal Pokemon Randomizer
  #1353   Link to this post, but load the entire thread.  
Old November 1st, 2007 (3:01 AM).
Saken's Avatar
Saken Saken is offline
 
Join Date: Jan 2007
Location: Australia
Nature: Modest
Posts: 112
@cooley: If you need further help on making a sprite disappear...you can use #raw 0x60 once the person is moved out of the way into somewhere where it cannot be interacted with, or, you can use this:
#raw 0x53
#raw 0xPeopleNoInAdvanceMap
nop

That will make the sprite dissapear temporarily and you will not be able to interact with it. Although once you leave and re-enter the place, then it will be there again, so assign a number in the People Id of the sprite you want dissapeared, and in the script near the end of it put a setflag 0xTheNumberYouAssignedToTheSprite and it should be gone permenantly. The beauty of this is that you can then use: clearflag 0xTheNumberYouAssignedToTheSprite to get the sprite back there if you ever want it again.
__________________
FC: 3867 0389 3587
  #1354   Link to this post, but load the entire thread.  
Old November 1st, 2007 (10:44 AM).
The Shadow Knight's Avatar
The Shadow Knight The Shadow Knight is offline
Roaming Kanto
 
Join Date: Jun 2007
Nature: Timid
Posts: 195
What var or flag enables the givepokémon part of the script of the pokéballs in OAK's lab?
  #1355   Link to this post, but load the entire thread.  
Old November 1st, 2007 (11:47 AM).
cooley's Avatar
cooley cooley is offline
///Keepin' it simple
 
Join Date: Feb 2007
Location: United States
Age: 28
Gender: Male
Nature: Impish
Posts: 1,148
@TSK: It has to do with Specials. I think it is 'special 0x29'. Someone
correct me if I am wrong.
__________________

  #1356   Link to this post, but load the entire thread.  
Old November 1st, 2007 (11:59 AM).
linkandzelda's Avatar
linkandzelda linkandzelda is offline
n00b desu ka?
 
Join Date: Dec 2006
Location: Hastings, England
Gender: Male
Nature: Careful
Posts: 776
hi. i need help with an egg script. i get the egg but it seems like in the game that it will never hatch.

#org $begin
lock
faceplayer
message $speak
boxset 6
message $speak2
boxset 5
compare LASTRESULT B_TRUE
if B_FALSE goto $no
fanfare 0x10C
message $yes
boxset 6
compare LASTRESULT 0x6
if 0x0 jump $give
message $full
$full 1 = You have no room for the egg!
boxset 6
end

#org $give
#raw 0x67
#raw 0xEA
#raw 0xC2
setvar 0x3208 0x7A66
#raw 0xAF
#raw 0x33
message $yes2
boxset 6
applymovement 0x05 $aidleave
pause 0x60
setflag 0x1044
release
end
release
end

#org $full
= You have no room for the EGG!


#org $no
message $no1
boxset 6
setflag 0x1052
release
end

#org $speak
$speak 1 = \v\h01, long time, no see.\nPROF.ELM asked me to find you.\pHe has another favor to ask.

#org $speak2
$speak2 1 = Would you take the POKéMON EGG?


#org $yes
$yes 1 = \v\h01 received EGG.

#org $yes2
$yes2 1 = We discovered that a POKéMON will\nnot hatch until it grows in the EGG.\pIt also has to be with other\nactive POKéMON to hatch.\p\v\h01, you're the only person\nwe can rely on.\pPlease return to the LAB when\nthat EGG hatches!

#org $aidleave
$aidleave 1 ; #binary 0x10 0x10 0x10 0x12 0x10 0x60 0x10

#org $no1
$no1 1 = B-but... PROF.ELM asked for you...


thanks in advance
link
__________________
  #1357   Link to this post, but load the entire thread.  
Old November 2nd, 2007 (1:01 AM). Edited November 2nd, 2007 by The Shadow Knight.
The Shadow Knight's Avatar
The Shadow Knight The Shadow Knight is offline
Roaming Kanto
 
Join Date: Jun 2007
Nature: Timid
Posts: 195
Quote:
Originally Posted by cooley View Post
@TSK: It has to do with Specials. I think it is 'special 0x29'. Someone
correct me if I am wrong.
I'll try it.Thanks for the info.
EDIT:0x29 triggers the choose three pokémon window.
  #1358   Link to this post, but load the entire thread.  
Old November 2nd, 2007 (7:45 AM).
cooley's Avatar
cooley cooley is offline
///Keepin' it simple
 
Join Date: Feb 2007
Location: United States
Age: 28
Gender: Male
Nature: Impish
Posts: 1,148
Quote:
Originally Posted by linkandzelda View Post
hi. i need help with an egg script. i get the egg but it seems like in the game that it will never hatch.

Code:
#org $begin
lock
faceplayer
message $speak
boxset 6
message $speak2
boxset 5
compare LASTRESULT B_TRUE
if B_FALSE goto $no
fanfare 0x10C
message $yes
boxset 6
compare LASTRESULT 0x6
if 0x0 jump $give
message $full
$full 1 = You have no room for the egg!
boxset 6
end

#org $give 
#raw 0x67
#raw 0xEA
#raw 0xC2
setvar 0x3208 0x7A66
#raw 0xAF
#raw 0x33
message $yes2
boxset 6
applymovement 0x05 $aidleave
pause 0x60
setflag 0x1044
release
end
release
end

#org $full
= You have no room for the EGG!


#org $no
message $no1
boxset 6
setflag 0x1052
release
end

#org $speak
$speak 1 = \v\h01, long time, no see.\nPROF.ELM asked me to find you.\pHe has another favor to ask.

#org $speak2
$speak2 1 = Would you take the POKéMON EGG?


#org $yes
$yes 1 = \v\h01 received EGG.

#org $yes2
$yes2 1 = We discovered that a POKéMON will\nnot hatch until it grows in the EGG.\pIt also has to be with other\nactive POKéMON to hatch.\p\v\h01, you're the only person\nwe can rely on.\pPlease return to the LAB when\nthat EGG hatches!

#org $aidleave
$aidleave 1 ; #binary 0x10 0x10 0x10 0x12 0x10 0x60 0x10

#org $no1
$no1 1 = B-but... PROF.ELM asked for you...

thanks in advance
link
Some pokémon don't hatch for a loooooong time.

@TSK: So isn't that what you wanted?
__________________

  #1359   Link to this post, but load the entire thread.  
Old November 2nd, 2007 (8:27 AM).
The Shadow Knight's Avatar
The Shadow Knight The Shadow Knight is offline
Roaming Kanto
 
Join Date: Jun 2007
Nature: Timid
Posts: 195
Quote:
Originally Posted by cooley View Post
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)
  #1360   Link to this post, but load the entire thread.  
Old November 2nd, 2007 (9:13 AM).
linkandzelda's Avatar
linkandzelda linkandzelda is offline
n00b desu ka?
 
Join Date: Dec 2006
Location: Hastings, England
Gender: Male
Nature: Careful
Posts: 776
Quote:
Originally Posted by cooley View Post
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
__________________
  #1361   Link to this post, but load the entire thread.  
Old November 2nd, 2007 (9:33 AM).
Satoshi Sugimori's Avatar
Satoshi Sugimori Satoshi Sugimori is offline
Hermit
 
Join Date: Dec 2006
Location: Tokyo, Japan
Age: 30
Gender: Male
Nature: Timid
Posts: 860
Quote:
Originally Posted by spenceroone3 View Post
I'll have a go at fixing that for you (All changed parts in bold)
Spoiler:
#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
#binary 0x12 0x12 0x11 0x12 0x11 0x11 0x63 0xFE

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

#org $message1
= 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
#binary 0x11 0x13 0xFE

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


#org $move5
#binary 0x11 0x11 0x11 0x11 0x11 0x12 0x12 0x12 0x11 0x11 0x12 0x12 0x12 0x12 0x10 0x10 0x60 0xFE


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?
__________________
  #1362   Link to this post, but load the entire thread.  
Old November 2nd, 2007 (2:14 PM).
spenceroone3's Avatar
spenceroone3 spenceroone3 is offline
<he eats lots of burgers.
 
Join Date: Aug 2007
Location: In your closet
Gender:
Nature: Hasty
Posts: 215
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
$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
$move4 1 ; #binary 0x11 0x11 0x11 0x11 0x12 0x12 0x12 0x11 0x11 0x12 0x12 0x12 0x12 0x12 0x10 0x10 0x60 0xFE


#org $move5
$move5 1 ; #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?
__________________
<wtf? A lugi-oh?
<What the hell did you do to my Arceus?
  #1363   Link to this post, but load the entire thread.  
Old November 2nd, 2007 (2:23 PM).
Death_Mande's Avatar
Death_Mande Death_Mande is offline
Avenged Sevenfold.
 
Join Date: Jul 2007
Location: The Island of Enchantment.
Age: 28
Gender: Male
Nature: Modest
Posts: 194
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:

#org $warp
lock
faceplayer
warp 0x[map bank] 0x[map] 0x[warp]
release
end


Can anybody tell me what it is?
__________________
Endless sorrow.
  #1364   Link to this post, but load the entire thread.  
Old November 2nd, 2007 (2:37 PM).
spenceroone3's Avatar
spenceroone3 spenceroone3 is offline
<he eats lots of burgers.
 
Join Date: Aug 2007
Location: In your closet
Gender:
Nature: Hasty
Posts: 215
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.
__________________
<wtf? A lugi-oh?
<What the hell did you do to my Arceus?
  #1365   Link to this post, but load the entire thread.  
Old November 2nd, 2007 (2:56 PM).
thethethethe thethethethe is offline
 
Join Date: Jun 2007
Location: Melbourne, Australia
Gender: Male
Posts: 1,104
Quote:
Originally Posted by linkandzelda View Post
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.

Quote:
Originally Posted by spenceroone3 View Post
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
$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
$move4 1 ; #binary 0x11 0x11 0x11 0x11 0x12 0x12 0x12 0x11 0x11 0x12 0x12 0x12 0x12 0x12 0x10 0x10 0x60 0xFE


#org $move5
$move5 1 ; #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
__________________
Gone.
  #1366   Link to this post, but load the entire thread.  
Old November 2nd, 2007 (3:01 PM).
Death_Mande's Avatar
Death_Mande Death_Mande is offline
Avenged Sevenfold.
 
Join Date: Jul 2007
Location: The Island of Enchantment.
Age: 28
Gender: Male
Nature: Modest
Posts: 194
Quote:
Originally Posted by spenceroone3 View Post
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.
I know that. But what i meant was if i was missing anything to add to the script.
__________________
Endless sorrow.
  #1367   Link to this post, but load the entire thread.  
Old November 2nd, 2007 (3:32 PM).
Haile Selassie IV's Avatar
Haile Selassie IV Haile Selassie IV is offline
.
 
Join Date: Mar 2007
Location: Aker, Amsterdam, Noord-Holland, The Netherlands, Europe, The Earth.
Age: 29
Nature: Modest
Posts: 82
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:
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:
__________________
Cna yuo raed tihs? Olny 55% of plepoe can.

I cdnuolt blveiee taht I cluod aulaclty uesdnatnrd waht I was rdanieg. The phaonmneal pweor of the hmuan mnid, aoccdrnig to a rscheearch at Cmabrigde Uinervtisy, it dseno't mtaetr in waht oerdr the ltteres in a wrod are, the olny iproamtnt tihng is taht the frsit and lsat ltteer be in the rghit pclae. The rset can be a taotl mses and you can sitll raed it whotuit a pboerlm. Tihs is bcuseae the huamn mnid deos not raed ervey lteter by istlef, but the wrod as a wlohe. Azanmig huh? yaeh and I awlyas tghuhot slpeling was ipmorantt!
fi yuo cna raed tihs, palce it in yuor siantugre.
  #1368   Link to this post, but load the entire thread.  
Old November 2nd, 2007 (4:34 PM).
linkandzelda's Avatar
linkandzelda linkandzelda is offline
n00b desu ka?
 
Join Date: Dec 2006
Location: Hastings, England
Gender: Male
Nature: Careful
Posts: 776
thanks thethethethe how would i go about changing it? i bet its hex editing.
__________________
  #1369   Link to this post, but load the entire thread.  
Old November 2nd, 2007 (4:49 PM).
Dabomstew Dabomstew is offline
 
Join Date: Feb 2007
Gender:
Nature: Adamant
Posts: 31
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:
#org $begin
lock
faceplayer
message $speak
boxset 6
message $speak2
boxset 5
compare LASTRESULT B_TRUE
if B_FALSE goto $no
fanfare 0x10C
message $yes
boxset 6
checkpokemon
compare LASTRESULT 0x6
if 0x0 jump $give
message $full
$full 1 = You have no room for the egg!
boxset 6
end

#org $give
#raw 7A AF 00
message $yes2
boxset 6
applymovement 0x05 $aidleave
pause 0x60
setflag 0x1044
release
end
release
end

#org $full
= You have no room for the EGG!


#org $no
message $no1
boxset 6
setflag 0x1052
release
end

#org $speak
$speak 1 = \v\h01, long time, no see.\nPROF.ELM asked me to find you.\pHe has another favor to ask.

#org $speak2
$speak2 1 = Would you take the POKéMON EGG?


#org $yes
$yes 1 = \v\h01 received EGG.

#org $yes2
$yes2 1 = We discovered that a POKéMON will\nnot hatch until it grows in the EGG.\pIt also has to be with other\nactive POKéMON to hatch.\p\v\h01, you're the only person\nwe can rely on.\pPlease return to the LAB when\nthat EGG hatches!

#org $aidleave
$aidleave 1 ; #binary 0x10 0x10 0x10 0x12 0x10 0x60 0x10

#org $no1
$no1 1 = B-but... PROF.ELM asked for you...
The other raws you had there are actually part of other commands and unneeded.
__________________
FR scripter back in the day... now, check out my Universal Pokemon Randomizer
  #1370   Link to this post, but load the entire thread.  
Old November 2nd, 2007 (11:18 PM).
Geeked's Avatar
Geeked Geeked is offline
Pokemon Crimson Version
 
Join Date: Jun 2007
Age: 29
Gender: Male
Nature: Adamant
Posts: 352
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.
__________________
Coming soon I guess?
  #1371   Link to this post, but load the entire thread.  
Old November 2nd, 2007 (11:55 PM).
thethethethe thethethethe is offline
 
Join Date: Jun 2007
Location: Melbourne, Australia
Gender: Male
Posts: 1,104
Quote:
Originally Posted by Dabomstew View Post
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:
#org $begin
lock
faceplayer
message $speak
boxset 6
message $speak2
boxset 5
compare LASTRESULT B_TRUE
if B_FALSE goto $no
fanfare 0x10C
message $yes
boxset 6
checkpokemon
compare LASTRESULT 0x6
if 0x0 jump $give
message $full
$full 1 = You have no room for the egg!
boxset 6
end

#org $give
#raw 7A AF 00
message $yes2
boxset 6
applymovement 0x05 $aidleave
pause 0x60
setflag 0x1044
release
end
release
end

#org $full
= You have no room for the EGG!


#org $no
message $no1
boxset 6
setflag 0x1052
release
end

#org $speak
$speak 1 = \v\h01, long time, no see.\nPROF.ELM asked me to find you.\pHe has another favor to ask.

#org $speak2
$speak2 1 = Would you take the POKéMON EGG?


#org $yes
$yes 1 = \v\h01 received EGG.

#org $yes2
$yes2 1 = We discovered that a POKéMON will\nnot hatch until it grows in the EGG.\pIt also has to be with other\nactive POKéMON to hatch.\p\v\h01, you're the only person\nwe can rely on.\pPlease return to the LAB when\nthat EGG hatches!

#org $aidleave
$aidleave 1 ; #binary 0x10 0x10 0x10 0x12 0x10 0x60 0x10

#org $no1
$no1 1 = B-but... PROF.ELM asked for you...
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).

Quote:
Originally Posted by yung stunna View Post
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?
__________________
Gone.
  #1372   Link to this post, but load the entire thread.  
Old November 3rd, 2007 (12:36 AM).
Haile Selassie IV's Avatar
Haile Selassie IV Haile Selassie IV is offline
.
 
Join Date: Mar 2007
Location: Aker, Amsterdam, Noord-Holland, The Netherlands, Europe, The Earth.
Age: 29
Nature: Modest
Posts: 82
Quote:
Originally Posted by lukenetty View Post
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:
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:
Doesn't anyone know the problem? Ill post my scripts to.


Spoiler:

This one I used beacause I wanted to be sure nothing was wrong with me own:
Code:
#org $StartWild
lock
faceplayer
cry 5
message $charCry
$charcry 1 = Charmeleon:Raarg!
boxset 6
checkflag 0x808
if 0x1 goto $WildBatt
release
end

#org $Wildbatt
lock
wildbattle 5 20 1
release
setflag 0x500
fadescreen 0
end
I first changed it into this:
Code:
#org $StartWild
lock
faceplayer
cry 151
message $mewCry
$mewcry 1 = Mew: Mew?
boxset 6
checkflag 0x808
if 0x1 goto $WildBatt
release
end

#org $Wildbatt
lock
wildbattle 151 5 0
release
setflag 0x500
fadescreen 0
end
This one is very strange, it will say I allready have one, but he gives me one(only one):
Code:
#org 0x831000
faceplayer
checkflag 0x20B
compare LASTRESULT 0x1
if 0x1 goto 0x831100
message 0x831200
boxset 0x4
givepokemon 0x4 0xA 0xD7
setflag 0x20B
release
end

#org 0x831100
message 0x831300
boxset 0x4
release
end

#org 0x831200
= You have won a CHARMANDER!

#org 0x831300
= Sorry, you already have one.
This one also screws up:
Code:
#org 0x800000
lock
faceplayer
checkflag 0x10A
if 1 jump 0x800050
special 0x16F
setflag 0x10A
fanfare 0x13E
msgbox 0x800100
callstd 0x6
waitfanfare
release
end

#org 0x800050
msgbox 0x800070
callstd 0x6
release
end

#org 0x800070
= Like your new POKéDEX?

#org 0x800100
= Your POKéDEX was upgraded!
Even this will screw up in the end:
Code:
#org $lukenetty
lock
faceplayer
message $berichtje
$berichtje 1 = Plaats hier je tekst!
callstd 6
release
end


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:

IW's wildbattles turn into this after rapidly pressing A:
__________________
Cna yuo raed tihs? Olny 55% of plepoe can.

I cdnuolt blveiee taht I cluod aulaclty uesdnatnrd waht I was rdanieg. The phaonmneal pweor of the hmuan mnid, aoccdrnig to a rscheearch at Cmabrigde Uinervtisy, it dseno't mtaetr in waht oerdr the ltteres in a wrod are, the olny iproamtnt tihng is taht the frsit and lsat ltteer be in the rghit pclae. The rset can be a taotl mses and you can sitll raed it whotuit a pboerlm. Tihs is bcuseae the huamn mnid deos not raed ervey lteter by istlef, but the wrod as a wlohe. Azanmig huh? yaeh and I awlyas tghuhot slpeling was ipmorantt!
fi yuo cna raed tihs, palce it in yuor siantugre.
  #1373   Link to this post, but load the entire thread.  
Old November 3rd, 2007 (12:51 AM).
spenceroone3's Avatar
spenceroone3 spenceroone3 is offline
<he eats lots of burgers.
 
Join Date: Aug 2007
Location: In your closet
Gender:
Nature: Hasty
Posts: 215
Okay, I'll help ya a little bit:
Code:
#org $lukenetty
lock
faceplayer
message $berichtje
$berichtje 1 = Plaats hier je tekst!
boxset 6
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.
__________________
<wtf? A lugi-oh?
<What the hell did you do to my Arceus?
  #1374   Link to this post, but load the entire thread.  
Old November 3rd, 2007 (1:02 AM).
Haile Selassie IV's Avatar
Haile Selassie IV Haile Selassie IV is offline
.
 
Join Date: Mar 2007
Location: Aker, Amsterdam, Noord-Holland, The Netherlands, Europe, The Earth.
Age: 29
Nature: Modest
Posts: 82
Quote:
Originally Posted by spenceroone3 View Post
Okay, I'll help ya a little bit:
Code:
#org $lukenetty
lock
faceplayer
message $berichtje
$berichtje 1 = Plaats hier je tekst!
boxset 6
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.
__________________
Cna yuo raed tihs? Olny 55% of plepoe can.

I cdnuolt blveiee taht I cluod aulaclty uesdnatnrd waht I was rdanieg. The phaonmneal pweor of the hmuan mnid, aoccdrnig to a rscheearch at Cmabrigde Uinervtisy, it dseno't mtaetr in waht oerdr the ltteres in a wrod are, the olny iproamtnt tihng is taht the frsit and lsat ltteer be in the rghit pclae. The rset can be a taotl mses and you can sitll raed it whotuit a pboerlm. Tihs is bcuseae the huamn mnid deos not raed ervey lteter by istlef, but the wrod as a wlohe. Azanmig huh? yaeh and I awlyas tghuhot slpeling was ipmorantt!
fi yuo cna raed tihs, palce it in yuor siantugre.
  #1375   Link to this post, but load the entire thread.  
Old November 3rd, 2007 (1:18 AM).
spenceroone3's Avatar
spenceroone3 spenceroone3 is offline
<he eats lots of burgers.
 
Join Date: Aug 2007
Location: In your closet
Gender:
Nature: Hasty
Posts: 215
Oh, I see. Here is a screenie of what you have to have:
__________________
<wtf? A lugi-oh?
<What the hell did you do to my Arceus?
Closed Thread

Quick Reply

Join the conversation!

Create an account to post a reply in this thread, participate in other discussions, and more!

Create a PokéCommunity Account
Ad Content

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 GMT -8. The time now is 9:21 AM.