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
  #1326   Link to this post, but load the entire thread.  
Old October 30th, 2007 (1:16 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
Yes! I got my steal item script to work! It has everything it would need!!
It includes being busted, several different items that you can get etc. The only glitch with it is that I spelt \v\H01 wrong, so that is what it says, so you can fix it up. It is in the spoiler.
Spoiler:
Code:
#org $Stealscript
checkflag 0x500
if B_TRUE goto $Nothing
message $Steal
$Steal 1 = There is good things in this\nhouse. Rob it?
boxset 5
compare LASTRESULT B_TRUE
if B_False goto $Nosteal
#raw 0x8F
#raw 0x04 0x00
copyvar 0x8008 0x800D
compare 0x8008 0x0
if 0x1 call $Busted
compare 0x8008 0x1
if 0x1 call $Goahead

#org $Goahead
message $Nowsteal
$Nowsteal 1 = /v/H01/ robbed the house.\nThey found a lot of useful\pthings in there.
boxset 6
#raw 0x8F
#raw 0x04 0x00
copyvar 0x8008 0x800D
compare 0x8008 0x0
if 0x1 call $Tinymushroom
compare 0x8008 0x1
if 0x1 call $Oranberry
compare 0x8008 0x2
if 0x1 call $Pokeball
compare 0x8008 0x3
if 0x1 call $Potion
compare 0x8008 0x4
if 0x1 call $Cash
release
end

#org $Nothing
$Nothing 1 = You stole it all before!\lThere is nothing left!
release
end

#org $Nosteal
$Nosteal 1 = Decided against doing an\nunlawful act.
release
end

#org $Potion
giveitem 0xD 0x1
setflag 0x500
release
end

#org $Pokeball
giveitem 0x4 0x1
setflag 0x500
release
end

#org $Tinymushroom
giveitem 0x67 0x1
setflag 0x500
release
end

#org $Oranberry
giveitem 0x8B 0x1
setflag 0x500
release
end

#org $Cash
message $Money
$Money 1 = You got some money.
#raw 0x90
#raw 0x3E
#raw 0x08
#raw 0x00
#raw 0x00
#raw 0x00
setflag 0x500
release
end

#org $Busted
$Busted 1 = Somebody is watching...
__________________
<wtf? A lugi-oh?
<What the hell did you do to my Arceus?
  #1327   Link to this post, but load the entire thread.  
Old October 30th, 2007 (1:24 AM).
♠εx's Avatar
♠εx ♠εx is offline
Working on my hack, busy also.
 
Join Date: May 2007
Gender:
Nature: Adamant
Posts: 299
destinyjagold: I beleive that my script should work, when I fix it up...
It has something to do with the script. See where I put the mew thing, it needs to be there BUT you need to find out the proper name, it should be in the Pokemon List in PokeWitches thread, try using the hex value for the Pokemon, maybe that will work?
__________________
Made A New Account - Crashink

Yes, this does mean Icy Blue will be locked down, but only for a short time while I fix my bugs.

- Crashink.
  #1328   Link to this post, but load the entire thread.  
Old October 30th, 2007 (1:47 AM).
thethethethe thethethethe is offline
 
Join Date: Jun 2007
Location: Melbourne, Australia
Gender: Male
Posts: 1,104
Quote:
Originally Posted by destinedjagold View Post
about that code.., I can't perfect a certain script that gives a cry before the battle starts... could someone explain it to me, for I have been around the tuts and gained no luck at all...

cry.., then..?

Thanks in advance.
Try using this...

Code:
cry 0xA1 0x(Pokemon in hex)
pause 0x28
__________________
Gone.
  #1329   Link to this post, but load the entire thread.  
Old October 30th, 2007 (2:27 AM).
Hedgehogger's Avatar
Hedgehogger Hedgehogger is offline
Learning ASM, but struggling
 
Join Date: Feb 2007
Location: Somewhere near a box.
Gender: Male
Nature: Quiet
Posts: 204
Is there any reason why this wouldn't work?

Spoiler:
#org 0x801480
setflag 0x829
message 0x801485
boxset 0x6
applymovement 0x6 0x80149C
pausemove 0
release
end

#org 0x801485
= \v\h01 obtained the POKeDEX!

#org 0x80149C
#Raw 0x60
#Raw 0xFE
I used the applymovement command to make the thing hidden after you "talk" to it, since it's lying on a table. The Dex doesn't disappear, and even though it says Pokedex on the menu, it won't let me open it for some reason. And in case, you couldn't already tell, this is for FR.
__________________


Pokeymenz Am-nee-shaaah Beta 4 Released!
  #1330   Link to this post, but load the entire thread.  
Old October 30th, 2007 (2:41 AM).
Dabomstew Dabomstew is offline
 
Join Date: Feb 2007
Gender:
Nature: Adamant
Posts: 31
Quote:
Originally Posted by Hedgehogger View Post
Is there any reason why this wouldn't work?

Spoiler:
#org 0x801480
setflag 0x829
message 0x801485
boxset 0x6
applymovement 0x6 0x80149C
pausemove 0
release
end

#org 0x801485
= \v\h01 obtained the POKeDEX!

#org 0x80149C
#Raw 0x60
#Raw 0xFE
I used the applymovement command to make the thing hidden after you "talk" to it, since it's lying on a table. The Dex doesn't disappear, and even though it says Pokedex on the menu, it won't let me open it for some reason. And in case, you couldn't already tell, this is for FR.
Overflow of data (your text overwrites your script). Your script is about 23 bytes long but your message is placed only 5 bytes after the start of the script. In a similar fashion, your text is 24 bytes long so if it started at 0x801485 it would finish at 0x80149D, which is where you've elected to put the movement data. Here's a rewrite using valid offsets instead:
Spoiler:
#org 0x801480
setflag 0x829
message 0x801498
boxset 0x6
applymovement 0x6 0x8014B1
pausemove 0
release
end

#org 0x801498
= \v\h01 obtained the POKeDEX!

#org 0x8014B1
#Raw 0x60
#Raw 0xFE
I gave the text 25-bytes space as it is 24 bytes text then one FF-byte to finish the text.
__________________
FR scripter back in the day... now, check out my Universal Pokemon Randomizer
  #1331   Link to this post, but load the entire thread.  
Old October 30th, 2007 (11:55 AM).
Hedgehogger's Avatar
Hedgehogger Hedgehogger is offline
Learning ASM, but struggling
 
Join Date: Feb 2007
Location: Somewhere near a box.
Gender: Male
Nature: Quiet
Posts: 204
Quote:
Originally Posted by Dabomstew View Post
Overflow of data (your text overwrites your script). Your script is about 23 bytes long but your message is placed only 5 bytes after the start of the script. In a similar fashion, your text is 24 bytes long so if it started at 0x801485 it would finish at 0x80149D, which is where you've elected to put the movement data. Here's a rewrite using valid offsets instead:
Spoiler:
#org 0x801480
setflag 0x829
message 0x801498
boxset 0x6
applymovement 0x6 0x8014B1
pausemove 0
release
end

#org 0x801498
= \v\h01 obtained the POKeDEX!

#org 0x8014B1
#Raw 0x60
#Raw 0xFE
I gave the text 25-bytes space as it is 24 bytes text then one FF-byte to finish the text.
Well, the message works and all, and Pokedex does appear on the menu, but it still won't open whenever I choose it; It does nothing. What's odd is that the other things on the menu work perfectly.
__________________


Pokeymenz Am-nee-shaaah Beta 4 Released!
  #1332   Link to this post, but load the entire thread.  
Old October 30th, 2007 (12:09 PM).
Ooka's Avatar
Ooka Ooka is offline
Cosmic
 
Join Date: Aug 2007
Location: Challenging The E4
Age: 30
Nature: Relaxed
Posts: 2,621
I still don't know what's wrong with this script, any help?

Code:
#org $dex
lock
faceplayer
checkflag 0x205
if b_true goto $hey
message $give
$give 1 = Hey \v\h01, so this\nis your birthday? Well, Sam said \pyou would be by to pick up your\npokemon. First take this,
boxset 6
setflag 0x829
setflag 0x828
special 0x16F
message $recieved
$recieved 1 = You recieved the Pokedex!!
boxset 6
message $follow
$follow 1 = Now for your Pokemon,\nfollow me.
boxset 6
applymovement $Walk1
$Walk1 1 ; #Binary 0x01 0x09 0x09 0x04
pausemove 0
message $pick
$pick 1 = Pick one of these Pokemon\nand take it to Viridian,\pSam said he wanted you to\ncome to Agatha's house.
setflag 0x205
release
end


#org $hey
checkflag 0x200
compare lastresult 1
if b_true goto $alright
checkflag 0x201
compare lastresult 1
if b_true goto $alright
checkflag ox202
compare lastresult 1
if b_true goto $alright
lock 
faceplayer
message $hey1
$hey1 1 = So have you went to see Sam yet?
boxset 6
release
end

#org $alright
lock
faceplayer
message $alright1
$alright1 1 = So do you like your Pokemon?
boxset 6
release
end
  #1333   Link to this post, but load the entire thread.  
Old October 30th, 2007 (3:23 PM).
Geeked's Avatar
Geeked Geeked is offline
Pokemon Crimson Version
 
Join Date: Jun 2007
Age: 29
Gender: Male
Nature: Adamant
Posts: 352
i know this may not be much help but i had a probem like that and then thethethethe put 0x828 first then 0x829. that might not b the problem but hey... atleast i tried
__________________
Coming soon I guess?
  #1334   Link to this post, but load the entire thread.  
Old October 30th, 2007 (9:44 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
Quote:
Originally Posted by Hedgehogger View Post
Well, the message works and all, and Pokedex does appear on the menu, but it still won't open whenever I choose it; It does nothing. What's odd is that the other things on the menu work perfectly.
It could be that in game you might not have any Pokemon?
__________________
<wtf? A lugi-oh?
<What the hell did you do to my Arceus?
  #1335   Link to this post, but load the entire thread.  
Old October 31st, 2007 (8:09 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
Can someone check this script?
(it's one of my first PokeScript scripts so I made much faults I think that's why I'm asking you to check..:D)
Spoiler:

#org $begin
checkflag 0x999
if B_true goto $done
applymovement 0x06 $move1
pause 0x70
applymovement 0x07 $move2
pause 0x70
message $message1
boxset 6
applymovement 0xFF $move3
pause 0x20
applymovement 0x06 $move4
pause 0x170
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!\nC 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
__________________
  #1336   Link to this post, but load the entire thread.  
Old October 31st, 2007 (12:17 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
Quote:
Originally Posted by Poke-Roy View Post
Can someone check this script?
(it's one of my first PokeScript scripts so I made much faults I think that's why I'm asking you to check..:D)
Spoiler:

#org $begin
checkflag 0x999
if B_true goto $done
applymovement 0x06 $move1
pause 0x70
applymovement 0x07 $move2
pause 0x70
message $message1
boxset 6
applymovement 0xFF $move3
pause 0x20
applymovement 0x06 $move4
pause 0x170
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!\nC 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

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.
__________________
<wtf? A lugi-oh?
<What the hell did you do to my Arceus?
  #1337   Link to this post, but load the entire thread.  
Old October 31st, 2007 (2:46 PM).
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
Quote:
Originally Posted by thethethethe View Post
Try using this...

Code:
cry 0xA1 0x(Pokemon in hex)
pause 0x28
Thanks thethethethe, but another question... What does 0xA1 stands for..?
__________________

  #1338   Link to this post, but load the entire thread.  
Old October 31st, 2007 (3:38 PM). Edited October 31st, 2007 by cooley.
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 ~Kazaam~ View Post
I still don't know what's wrong with this script, any help?

Code:
#org $dex
lock
faceplayer
checkflag 0x205
if b_true goto $hey
message $give
$give 1 = Hey \v\h01, so this\nis your birthday? Well, Sam said \pyou would be by to pick up your\npokemon. First take this,
boxset 6
setflag 0x829
setflag 0x828
special 0x16F
message $recieved
$recieved 1 = You recieved the Pokedex!!
boxset 6
message $follow
$follow 1 = Now for your Pokemon,\nfollow me.
boxset 6
applymovement $Walk1
$Walk1 1 ; #Binary 0x01 0x09 0x09 0x04
pausemove 0
message $pick
$pick 1 = Pick one of these Pokemon\nand take it to Viridian,\pSam said he wanted you to\ncome to Agatha's house.
setflag 0x205
release
end


#org $hey
checkflag 0x200
compare lastresult 1
if b_true goto $alright
checkflag 0x201
compare lastresult 1
if b_true goto $alright
checkflag ox202
compare lastresult 1
if b_true goto $alright
lock 
faceplayer
message $hey1
$hey1 1 = So have you went to see Sam yet?
boxset 6
release
end

#org $alright
lock
faceplayer
message $alright1
$alright1 1 = So do you like your Pokemon?
boxset 6
release
end
Please tell what happens in-game. What is up with the "compare LASTRESULT's"?

An My question is: After I put 0x60, Or #raw 53 #raw <People no.> #raw 00, how come the person that disappeared isn't there, and When I try to past the original spot that person was at,

I can't get past it. When I press A on it, it Freezes the game. Any command that will permanently remove the sprite? Like when you find an item in a pokeball.
-cooley
__________________

  #1339   Link to this post, but load the entire thread.  
Old October 31st, 2007 (3:56 PM).
linkandzelda's Avatar
linkandzelda linkandzelda is offline
n00b desu ka?
 
Join Date: Dec 2006
Location: Hastings, England
Gender: Male
Nature: Careful
Posts: 776
cooley: There is one thing i do to get the sprite to dissapear. i do 0x60 and then i add some movements to get the sprite out of the way like into a tree or ontop of a house. and i add a setflag so that when i enter the map again, the sprite is gone for good. Thats the only way i know. there proberly is a command. thethethethe might know it.

hope it helped
link
__________________
  #1340   Link to this post, but load the entire thread.  
Old October 31st, 2007 (4:29 PM).
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
Thanks link. I'll do that from now on.
__________________

  #1341   Link to this post, but load the entire thread.  
Old October 31st, 2007 (8:02 PM).
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
I have a script request and hoping that someone could be a dear and make me a simple script...

I just need a script that when the player talks to 'it', some text will apper, and after, the player's PKMN party will be completely healed.., and then a text will appear and the script is done.

Thanks in advance...
__________________

  #1342   Link to this post, but load the entire thread.  
Old October 31st, 2007 (8:53 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
Sure, Jagold, I made this on the spot for you (It is in Pokescript can't remember what u use):
Code:
#org $Heal
lock
faceplayer
message $Health
$Health 1 = Your Pokemon look tired.\p I'll heal them for you!
boxset 6
setflag 0x0000
message $healed
$healed 1 = Your Pokemon are healed!
boxset 6
release
end
The heal part is in bold!
__________________
<wtf? A lugi-oh?
<What the hell did you do to my Arceus?
  #1343   Link to this post, but load the entire thread.  
Old October 31st, 2007 (9:08 PM).
thethethethe thethethethe is offline
 
Join Date: Jun 2007
Location: Melbourne, Australia
Gender: Male
Posts: 1,104
Quote:
Originally Posted by cooley View Post
Please tell what happens in-game. What is up with the "compare LASTRESULT's"?

An My question is: After I put 0x60, Or #raw 53 #raw <People no.> #raw 00, how come the person that disappeared isn't there, and When I try to past the original spot that person was at,

I can't get past it. When I press A on it, it Freezes the game. Any command that will permanently remove the sprite? Like when you find an item in a pokeball.
-cooley
Well I think the problem might be that you're using both of them at the same time, but there is know way of me proveing this unless you show me the script...

#raw 53 is supposed to initiate the vanishing of the sprite and it will not be able to be interacted with, but without the setflag, it will re-appear.

The movement 0x60 will make the sprite dissappear but you will still be able to talk to it...

Hopefully that information can help fix some of your problem.

Quote:
Originally Posted by destinedjagold View Post
I have a script request and hoping that someone could be a dear and make me a simple script...

I just need a script that when the player talks to 'it', some text will apper, and after, the player's PKMN party will be completely healed.., and then a text will appear and the script is done.

Thanks in advance...
Spenceroone3, I know you've started to learn how to script, but there is a major mistake....
Special 0x0 heals the pokemon in the party, I'm not sure what setflag 0x0 might do...
Quote:
Originally Posted by spenceroone3 View Post
Sure, Jagold, I made this on the spot for you (It is in Pokescript can't remember what u use):
Code:
#org $Heal
lock
faceplayer
message $Health
$Health 1 = Your Pokemon look tired.\p I'll heal them for you!
boxset 6
special 0x0
message $healed
$healed 1 = Your Pokemon are healed!
boxset 6
release
end
The heal part is in bold!
__________________
Gone.
  #1344   Link to this post, but load the entire thread.  
Old October 31st, 2007 (11:26 PM).
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
Thanks to you both! It works now. Oh and thethethethe, remember that pkmncry ya gave me, well, I just want to clarrify what 0xA1 stands for..?
__________________

  #1345   Link to this post, but load the entire thread.  
Old October 31st, 2007 (11:30 PM).
thethethethe thethethethe is offline
 
Join Date: Jun 2007
Location: Melbourne, Australia
Gender: Male
Posts: 1,104
Quote:
Originally Posted by destinedjagold View Post
Thanks to you both! It works now. Oh and thethethethe, remember that pkmncry ya gave me, well, I just want to clarrify what 0xA1 stands for..?
The way that 'cry' is used in pokescript has to be like this...
Code:
addcmmd cry #30 'Play back a pokemon cry
addparm 0 'bank no
addparm 1 'Pokemon Species
That's from the Pokescript commands file. So 0xA1 is the 'Bank no.'
__________________
Gone.
  #1346   Link to this post, but load the entire thread.  
Old October 31st, 2007 (11:37 PM).
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
okay.., the bank number of the map is what you mean, thethethethe..?
__________________

  #1347   Link to this post, but load the entire thread.  
Old October 31st, 2007 (11:44 PM).
thethethethe thethethethe is offline
 
Join Date: Jun 2007
Location: Melbourne, Australia
Gender: Male
Posts: 1,104
Quote:
Originally Posted by destinedjagold View Post
okay.., the bank number of the map is what you mean, thethethethe..?
I'm not really sure but, I think it means the 'pokemon bank'. Use 0xA1 for all pokemon...
__________________
Gone.
  #1348   Link to this post, but load the entire thread.  
Old November 1st, 2007 (12:21 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
okay! gotcha! ;)

but how will I know the pkmn's hex numbers..?

I don't know how to use the calculator in my laptop...

also I have a question, in scripting a givepokemon, what boxset should I use..?
__________________

  #1349   Link to this post, but load the entire thread.  
Old November 1st, 2007 (1:13 AM).
thethethethe thethethethe is offline
 
Join Date: Jun 2007
Location: Melbourne, Australia
Gender: Male
Posts: 1,104
Quote:
Originally Posted by destinedjagold View Post
okay! gotcha! ;)

but how will I know the pkmn's hex numbers..?

I don't know how to use the calculator in my laptop...

also I have a question, in scripting a givepokemon, what boxset should I use..?
I've got a list of hex numbers but you'll need to reverse them...
eg. 0100 = 0001 or 0x1
and 9601 = 0196 or 0x196
Spoiler:
0100 = BULBASAUR
0200 = IVYSAUR
0300 = VENESAUR
0400 = CHARMANDER
0500 = CHARMELEON
0600 = CHARIZARD
0700 = SQUIRTLE
0800 = WARTORTLE
0900 = BLASTOISE
0A00 = CATERPIE
0B00 = METAPOD
0C00 = BUTTERFREE
0D00 = WEEDLE
0E00 = KAKUNA
0F00 = BEEDRILL
1000 = PIDGEY
1100 = PIDGEOTTO
1200 = PIDGEOT
1300 = RATTATA
1400 = RATICATE
1500 = SPEAROW
1600 = FEAROW
1700 = EKANS
1800 = ARBOK
1900 = PIKACHU
1A00 = RAICHU
1B00 = SANDSHREW
1C00 = SANDSLASH
1D00 = NIDORAN (FEMALE)
1E00 = NIDORINA
1F00 = NIDOQUEEN
2000 = NIDORAN (MALE)
2100 = NIDORINO
2200 = NIDOKING
2300 = CLEFAIRY
2400 = CLEFABLE
2500 = VULPIX
2600 = NINETALES
2700 = JIGGLYPUFF
2800 = WIGGLYTUFF
2900 = ZUBAT
2A00 = GOLBAT
2B00 = ODDISH
2C00 = GLOOM
2D00 = VILEPLUME
2E00 = PARAS
2F00 = PARASECT
3000 = VENONAT
3100 = VENOMOTH
3200 = DIGLETT
3300 = DUGTRIO
3400 = MEOWTH
3500 = PERSIAN
3600 = PSYDUCK
3700 = GOLDUCK
3800 = MANKEY
3900 = PRIMEAPE
3A00 = GROWLITHE
3B00 = ARCANINE
3C00 = POLIWAG
3D00 = POLIWHIRL
3E00 = POLIWRATH
3F00 = ABRA
4000 = KADABRA
4100 = ALAKAZAM
4200 = MACHOP
4300 = MACHOKE
4400 = MACHAMP
4500 = BELLSPROUT
4600 = WEEPINBELL
4700 = VICTREEBELL
4800 = TENTACOOL
4900 = TENTACRUEL
4A00 = GEODUDE
4B00 = GRAVELER
4C00 = GOLEM
4D00 = PONYTA
4E00 = RAPIDASH
4F00 = SLOWPOKE
5000 = SLOWBRO
5100 = MAGNEMITE
5200 = MAGNETON
5300 = FARFETCH'D
5400 = DODUO
5500 = DODRIO
5600 = SEEL
5700 = DEWGONG
5800 = GRIMER
5900 = MUK
5A00 = SHELLDER
5B00 = CLOYSTER
5C00 = GASTLY
5D00 = HAUNTER
5E00 = GENGAR
5F00 = ONIX
6000 = DROWZEE
6100 = HYPNO
6200 = KRABBY
6300 = KINGLER
6400 = VOLTORB
6500 = ELECTRODE
6600 = EXEGGCUTE
6700 = EXEGGUTOR
6800 = CUBONE
6900 = MAROWAK
6A00 = HITMONLEEE
6B00 = HITMONCHAN
6C00 = LICKITUNG
6D00 = KOFFING
6E00 = WEEZING
6F00 = RHYHORN
7000 = RHYDON
7100 = CHANSEY
7200 = TANGELA
7300 = KANGASKHAN
7400 = HORSEA
7500 = SEADRA
7600 = GOLDEEN
7700 = SEAKING
7800 = STARYU
7900 = STARMIE
7A00 = MR. MIME
7B00 = SCYTHER
7C00 = JYNX
7D00 = ELECTABUZZ
7E00 = MAGMAR
7F00 = PINSIR
8000 = TAUROS
8100 = MAGIKARP
8200 = GYARADOS
8300 = LAPRAS
8400 = DITTO
8500 = EEVEE
8600 = VAPOREON
8700 = JOLTEON
8800 = FLAREON
8900 = PORYGON
8A00 = OMANYTE
8B00 = OMASTAR
8C00 = KABUTO
8D00 = KABUTOPS
8E00 = AERODACTYL
8F00 = SNORLAX
9000 = ARTICUNO
9100 = ZAPDOS
9200 = MOLTRES
9300 = DRATINI
9400 = DRAGONAIR
9500 = DRAGONITE
9600 = MEWTWO
9700 = MEW
9800 = CHIKORITA
9900 = BAYLEEF
9A00 = MEGANIUM
9B00 = CYNDAQUIL
9C00 = QUILAVA
9D00 = TYPLOSION
9E00 = TOTODILE
9F00 = CROCONAW
A000 = FERALIGATR
A100 = SENTRET
A200 = FURRET
A300 = HOOTHOOT
A400 = NOCTOWL
A500 = LEDYBA
A600 = LEDIAN
A700 = SPINARAK
A800 = ARIADOS
A900 = CROBAT
AA00 = CHINCHOU
AB00 = LANTURN
AC00 = PICHU
AD00 = CLEFFA
AE00 = IGGLYBUFF
AF00 = TOGEPI
B000 = TOGETIC
B100 = NATU
B200 = XATU
B300 = MAREEP
B400 = FLAAFFY
B500 = AMPHAROS
B600 = BELLOSSOM
B700 = MARRILL
B800 = AZUMARILL
B900 = SUDOWOODO
BA00 = POLITOED
BB00 = HOPPIP
BC00 = SKI PLOOM
BD00 = JUMPLUFF
BE00 = AIPOM
BF00 = SUNKERN
C000 = SUNFLORA
C100 = YANMA
C200 = WOOPER
C300 = QUAGSIRE
C400 = ESPEON
C500 = UMBREON
C600 = MURKROW
C700 = SLOWKING
C800 = MISDREAVUS
C900 = UNOWN
CA00 = WOBBUFFET
CB00 = GIRAFARIG
CC00 = PINECO
CD00 = FORRETRESS
CE00 = DUNSPARCE
CF00 = GLIGAR
D000 = STEELIX
D100 = SNUBBULL
D200 = GRANBULL
D300 = QWILFISH
D400 = SCIZOR
D500 = SHUCKLE
D600 = HERACROSS
D700 = SNEASEL
D800 = TEDDIURSA
D900 = URSARING
DA00 = SLUGMA
DB00 = MAGCARGO
DC00 = SWINUB
DD00 = PILOSWINE
DE00 = CORSOLA
DF00 = REMORAID
E000 = OCTILLERY
E100 = DELIBIRD
E200 = MANTINE
E300 = SKARMORY
E400 = HOUNDOUR
E500 = DOUNDOOM
E600 = KINGDRA
E700 = PHANPY
E800 = DONPHAN
E900 = PORYGON2
EA00 = STANTLER
EB00 = SMEARGLE
EC00 = TYROGUE
ED00 = HITMONTOP
EE00 = SMOOCHUM
EF00 = ELEKID
F000 = MAGBY
F100 = MILTANK
F200 = BLISSEY
F300 = RAIKOU
F400 = ENTEI
F500 = SUICINE
F600 = LARVITAR
F700 = PUPITAR
F800 = TYRANITAR
F900 = LUGIA
FA00 = HO-OH
FB00 = CELEBI
1501 = TREECKO
1601 = GROVYLE
1701 = SCEPTILE
1801 = TORCHIC
1901 = COMBUSKEN
1A01 = BLAZIKEN
1B01 = MUDKIP
1C01 = MARSHTOMP
1D01 = SWAMPERT
1E01 = POOCHYENA
1F01 = MIGHTYENA
2001 = ZIGZAGOON
2101 = LINOONE
2201 = WURMPLE
2301 = SILCOON
2401 = BEAUTIFLY
2501 = CASCOON
2601 = DUSTOX
2701 = LOTAD
2801 = LOMBRE
2901 = LUDICOLO
2A01 = SEEDOT
2B01 = NUZLEAF
2C01 = SHIFTRY
2D01 = NINCADA
2E01 = NINJASK
2F01 = SHEDINJA
3001 = TAILLOW
3101 = SWELLOW
3201 = SHROOMISH
3301 = BRELOOM
3401 = SPINDA
3501 = WINGULL
3601 = PELIPPER
3701 = SURSKIT
3801 = MASQUERAIN
3901 = WAILMER
3A01 = WAILORD
3B01 = SKITTY
3C01 = DELCATTY
3D01 = KECLEON
3E01 = BALTOY
3F01 = CLAYDOL
4001 = NOSEPASS
4101 = TORKOAL
4201 = SABLEYE
4301 = BARBOACH
4401 = WHISCASH
4501 = LUVDISC
4601 = CORPHISH
4701 = CRAWDAUNT
4801 = FEEBAS
4901 = MILOTIC
4A01 = CARVANHA
4B01 = SHARPEDO
4C01 = TRAPINCH
4D01 = VIBRAVA
4E01 = FLYGON
4F01 = MAKUHITA
5001 = HARIYAMA
5101 = ELECTRIKE
5201 = MANECTRIC
5301 = NUMEL
5401 = CAMERUPT
5501 = SPHEAL
5601 = SEALEO
5701 = WALREIN
5801 = CACNEA
5901 = CACTURNE
5A01 = SNORUNT
5B01 = GLALIE
5C01 = LUNATONE
5D01 = SOLROCK
5E01 = AZURILL
5F01 = SPOINK
6001 = GRUMPIG
6101 = PLUSLE
6201 = MINUN
6301 = MAWILE
6401 = MEDITITE
6501 = MEDICHAM
6601 = SWABLU
6701 = ALTARIA
6801 = WYNAUT
6901 = DUSKULL
6A01 = DUSCLOPS
6B01 = ROSELIA
6C01 = SLAKOTH
6D01 = VIGOROTH
6E01 = SLAKING
6F01 = GULPIN
7001 = SWALOT
7101 = TROPIUS
7201 = WHISMUR
7301 = LOUDRED
7401 = EXPLOUD
7501 = CLAMPERL
7601 = HUNTAIL
7701 = GOREBYSS
7801 = ABSOL
7901 = SHUPPET
7A01 = BANNETE
7B01 = SEVIPER
7C01 = ZANGOOSE
7D01 = RELICANTH
7E01 = ARON
7F01 = LAIRON
8001 = AGGRON
8101 = CASTFORM
8201 = VOLBEAT
8301 = ILLUMISE
8401 = LILEEP
8501 = CRADILY
8601 = ANORITH
8701 = ARMALDO
8801 = RALTS
8901 = KIRLIA
8A01 = GARDEVOIR
8B01 = BAGON
8C01 = SHELGON
8D01 = SALAMENCE
8E01 = BELDUM
8F01 = METANG
9001 = METAGROSS
9101 = REGI ROCK
9201 = REGICE
9301 = REGI STEEL
9401 = KYOGRE
9501 = GROUDON
9601 = RAYQUAZA
9701 = LATIAS
9801 = LATIOS
9901 = JIRACHI
9A01 = DEOXYS
9B01 = CHIMECHO


Huh? Why would you need a boxset for a givepokemon?
givepokemon (pokemon) (Level) (Item)
Why would you need a boxset?
__________________
Gone.
  #1350   Link to this post, but load the entire thread.  
Old November 1st, 2007 (1:19 AM).
Dabomstew Dabomstew is offline
 
Join Date: Feb 2007
Gender:
Nature: Adamant
Posts: 31
Quote:
Originally Posted by thethethethe View Post
I've got a list of hex numbers but you'll need to reverse them...
eg. 0100 = 0001 or 0x1
and 9601 = 0196 or 0x196
spoiler removed
Huh? Why would you need a boxset for a givepokemon?
givepokemon (pokemon) (Level) (Item)
Why would you need a boxset?
Remember, givepokemon doesn't show a message when the Pokemon is given automatically, so I presume he means for that purpose.

You could either use:
Code:
fanfare 0x13D
givepokemon (pokemon) (level) (item)
message $blah
$blah 1 = Got a POKEMON!
boxset 0x6
waitfanfare
or
Code:
fanfare 0x13D
givepokemon (pokemon) (level) (item)
message $blah
$blah 1 = Got a POKEMON!
boxset 0x4
waitfanfare
#raw 68
__________________
FR scripter back in the day... now, check out my Universal Pokemon Randomizer
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:22 AM.