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
  #1476   Link to this post, but load the entire thread.  
Old November 17th, 2007 (7:47 AM).
coin3's Avatar
coin3 coin3 is offline
 
Join Date: Aug 2006
Nature: Adamant
Posts: 84
You do not need compare lastresult there. Just put

checkflag 0x50A
if 0x1 goto 0x726CD4
__________________

Click here to feed me a Rare Candy!




My friends: DP Master, Spenceroone3, Hiidoran, Destinedjagold.
Spoiler:

My family. I am twins with Spenceroon3 :P.
Dad: Celebi_XD
Mom: Sea_Guardian
Best friend(S): ___________
Brother(s): Gotron228, Godot
Sister(s): ___________
Twin (Coin3 can get triplets though as well): Spenceroone3
Best enemy(s): Kid Nino
Girlfriend/Pair: _____________
  #1477   Link to this post, but load the entire thread.  
Old November 17th, 2007 (2:58 PM).
lightor's Avatar
lightor lightor is offline
Banana Pie Co.
 
Join Date: Nov 2007
Gender:
Nature: Brave
Posts: 8
I need a few scripters for my new hack pokemon hell and heaven. please tell me if you can help. I will give credits. thank you
  #1478   Link to this post, but load the entire thread.  
Old November 17th, 2007 (3:58 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
Please don't post that here. You should look around before posting Pointless Posts, if you did look around, you would see that there is a help-recruitment thread.

Found Here


@coin3: Yes you do need compare LASTRESULT. In some cases
__________________

  #1479   Link to this post, but load the entire thread.  
Old November 17th, 2007 (4:12 PM).
HackMew's Avatar
HackMew HackMew is offline
Mewtwo Strikes Back
 
Join Date: Jun 2006
Posts: 1,314
Quote:
Originally Posted by Prof. 9 View Post
Here's my script. It works, but... for some reason, either the setflag of the checkflag doesn't work.

[...]
I guess the biggest problem is the flag choosen, which could be already in use by the game itself.

Try using this:

Code:
#org 0x726C70
checkflag 0x100A
if 0x1 goto 0x726C90
message 0x726C94
boxset 0x6
applymovement 0xFF 0x726CA5
#raw 51 00 00 'this is the waitmovement command
setflag 0x100A
end

#org 0x726C90
release
end

#org 0x726C94
= Hey, wait up!

#org 0x726CA5
#raw 0x62
#raw 0x02
#raw 0xFE
__________________
  #1480   Link to this post, but load the entire thread.  
Old November 19th, 2007 (4:16 AM).
Cherry1 Cherry1 is offline
 
Join Date: Nov 2007
Gender:
Posts: 3
hello. I have a lot of problems and hope, you can help me. Im using Pokémon Emerald.
1. When I use jingle, nothing happens. When I use fanfare or playsound, the game freezes. Why?
2. Can somebody tell me, what I can do with the special command?
3. Has somebody a list of the functions of the emerald flags. E.g. 0x800 doesnt turn on the Pokémon item in menu. Why?
4. How can I let the player give the hero a new name?
It'd be very Cool if sbd canhelp
  #1481   Link to this post, but load the entire thread.  
Old November 19th, 2007 (7:13 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
can anyone show me a script wich checks item for an eon ticket and if you have it, it wil step once to the left and once up? Because fadescreen won't 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.
  #1482   Link to this post, but load the entire thread.  
Old November 21st, 2007 (12:16 AM).
Soul.//Silver's Avatar
Soul.//Silver Soul.//Silver is offline
 
Join Date: Sep 2007
Location: Brisbane, Australia
Age: 29
Gender: Male
Nature: Jolly
Posts: 489
Can someone plz make me a give pokemon script.
You press A on the pokeball and it says: What's this? It's a pokeball. Pick up the Pokeball Yes/No
(If PLAYER chooses no, the following message appears: You chose not to pick up the Pokeball.)
When PLAYER says yes, the following message appears: PLAYER released the Pokemon in the Pokeball,
Its a Larvitar. Then it asks if you want to give Larvitar a nickname. Then I also need the PLAYER to find a Pokedex in the grass (part of the same script) and it needs to say: What's this in the grass? PLAYER received the Pokedex.

I really need someone to make this for me. Otherwise the player won't get his starter Pokemon lol.
  #1483   Link to this post, but load the entire thread.  
Old November 21st, 2007 (6:00 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
Hello to everyone and good day. I have some questions concerning about my planned script to make, however, school's taking my time, so I can't do it properly.

All I need is to clear my head about my future problem. Here goes...

I make a battle script using the trainer number 001, then, events, disappear. Again, I am gonna make another script, but can I use the same trainer I used in my previous script, for instance, 001..?

Thanks in advance and have a great day. Happy hacking. ;)

...... As always, DJG... :)
__________________

  #1484   Link to this post, but load the entire thread.  
Old November 21st, 2007 (9:41 AM). Edited November 22nd, 2007 by Derlo.
Derlo's Avatar
Derlo Derlo is offline
Tired....
 
Join Date: Aug 2007
Location: Mossoró-RN-BR
Gender: Male
Posts: 135
Which the command in POKECRIPT to enable the animation of the door opening in FR? did I already look for but didn't I find.
EX: at the beginning of the game when the PROF. OAK takes him for LABORATORY to give you first PKM.
Thank you.
  #1485   Link to this post, but load the entire thread.  
Old November 22nd, 2007 (1:17 AM). Edited November 22nd, 2007 by Amsirak.
Amsirak Amsirak is offline
 
Join Date: Nov 2007
Gender:
Posts: 2
I used this simple script as wrote in Irish Witch's Tutorial. When I answer "No" he gives me Lava Cookie anyway... What's wrong?

Code:
#org $Startscript
Lock
Faceplayer
checkflag 0x200
if B_TRUE goto $GotCookie
message $AskMe
$AskMe 1 = Would you like a Lava Cookie?
boxset 5
compare LASTRESUILT B_TRUE
if B_False goto $DontGet
giveitem 0x26 1
setflag 0x200
Release
end

#ORG $GotCookie
Lock
Faceplayer
message $NoCookie
$NoCookie 1 = I'm not made of cookies!\lYou only get one.
boxset 6
release
end

#ORG $DontGet
Lock
Faceplayer
message $AllMine
$AllMine 1 = All the more for me!
boxset 6
release
end
  #1486   Link to this post, but load the entire thread.  
Old November 22nd, 2007 (5:27 AM).
~*Pikafan*~'s Avatar
~*Pikafan*~ ~*Pikafan*~ is offline
Man I gotta stop leaving!
 
Join Date: Sep 2007
Age: 29
Gender:
Nature: Jolly
Posts: 202
I'm having trouble even on a simple talking script. I wanted someone to block the entrance to Tate and Liza's GYM in Mossdeep and say that the GYM is closed. I created the script and inserted it into the game, and nothing showed up. Then I tried compiling it again, and all of these random letters and numbers showed up. Can anyone tell me what the problem is?

Code:
#org $Showtext
lock
faceplayer
message $Sorry
$Sorry= Sorry, the GYM is closed.\pTate and Liza are having/nconstruction done on/pthe GYM.
boxset 6
release
end
__________________
I have returned ONC AGAIN!

Guitar Hero and Rock Band Rock. 'Nuff Said :P

I have a bunch of Friend Codes for Wii. These games I have Friend Codes for:

Guitar Hero World Tour (GHWT)
Super Smash Bros. Brawl (SSBB)
Guitar Hero 3 (GH3)
Pokemon Battle Revolution (PBR)
Rock Band 2, once I get it >_> (RB2)

RAWR. I NEED SHTUFF FOR MAH SIGNATURE. RAWR.
  #1487   Link to this post, but load the entire thread.  
Old November 22nd, 2007 (9:01 AM). Edited November 22nd, 2007 by Derlo.
Derlo's Avatar
Derlo Derlo is offline
Tired....
 
Join Date: Aug 2007
Location: Mossoró-RN-BR
Gender: Male
Posts: 135
I am not an expert in script, but I think that the problem is here:

Quote:
Originally Posted by Amsirak View Post
I used this simple script as wrote in Irish Witch's Tutorial. When I answer "No" he gives me Lava Cookie anyway... What's wrong?

Code:
#org $Startscript
Lock
Faceplayer
checkflag 0x200
if B_TRUE goto $GotCookie
message $AskMe
$AskMe 1 = Would you like a Lava Cookie?
boxset 5
compare LASTRESUILT B_TRUE
if B_False goto $DontGet
giveitem 0x26 1
setflag 0x200
Release
end

#ORG $GotCookie
Lock
Faceplayer
message $NoCookie
$NoCookie 1 = I'm not made of cookies!\lYou only get one.
boxset 6
release
end

#ORG $DontGet
Lock
Faceplayer
message $AllMine
$AllMine 1 = All the more for me!
boxset 6
release
end
the correct would be:
...............
Lock
Faceplayer
checkflag 0x200
if B_TRUE goto $GotCookie
message $AskMe
$AskMe 1 = Would you like a Lava Cookie?
boxset 5
compare LASTRESUILT B_False
if B_False goto $DontGet

giveitem 0x26 1
setflag 0x200
Release
end
......

hi, I am here again!

I think the mistake this in that:

Quote:
Originally Posted by ~*Pikafan*~ View Post
I'm having trouble even on a simple talking script. I wanted someone to block the entrance to Tate and Liza's GYM in Mossdeep and say that the GYM is closed. I created the script and inserted it into the game, and nothing showed up. Then I tried compiling it again, and all of these random letters and numbers showed up. Can anyone tell me what the problem is?

Code:
#org $Showtext
lock
faceplayer
message $Sorry
$Sorry= Sorry, the GYM is closed.\pTate and Liza are having/nconstruction done on/pthe GYM.
boxset 6
release
end
try this:

#org $Showtext
lock
faceplayer
message $Sorry
$Sorry 1 = Sorry, the GYM is closed.\pTate and Liza are having\nconstruction done on\pthe GYM.
boxset 6
release
end
  #1488   Link to this post, but load the entire thread.  
Old November 22nd, 2007 (9:46 AM).
Juan Juan is offline
Brazilian with a bad English
 
Join Date: Jun 2007
Location: Pindamonhangaba - SP
Age: 32
Nature: Adamant
Posts: 92
Code:
#org $Startscript
Lock
Faceplayer
checkflag 0x200
if 1 goto $GotCookie
message $AskMe
$AskMe 1 = Would you like a Lava Cookie?
boxset 5
compare LASTRESULT 1
if 1 goto $DontGet
giveitem 0x26 1
setflag 0x200
Release
end

#ORG $GotCookie
Lock
Faceplayer
message $NoCookie
$NoCookie 1 = I'm not made of cookies!\lYou only get one.
boxset 6
release
end

#ORG $DontGet
Lock
Faceplayer
message $AllMine
$AllMine 1 = All the more for me!
boxset 6
release
end
Try now xD
__________________
  #1489   Link to this post, but load the entire thread.  
Old November 22nd, 2007 (11:53 AM).
thethethethe thethethethe is offline
 
Join Date: Jun 2007
Location: Melbourne, Australia
Gender: Male
Posts: 1,104
Quote:
Originally Posted by Derlo View Post
Which the command in POKECRIPT to enable the animation of the door opening in FR? did I already look for but didn't I find.
EX: at the beginning of the game when the PROF. OAK takes him for LABORATORY to give you first PKM.
Thank you.
Use this. XX is the x-co-ordinate and YY is the Y-co-ordinates of the door.
#raw 0xAC 0xXX 0xXX 0xYY 0xYY
#raw AE

I'll give you an example incase it's still hard to understand.
X co-ordinate - 14
Y co-ordinate - 12
#raw 0xAC 0x0E 0x00 0x0C 0x00
#raw 0xAE
__________________
Gone.
  #1490   Link to this post, but load the entire thread.  
Old November 22nd, 2007 (11:58 AM).
Morfeo's Avatar
Morfeo Morfeo is offline
 
Join Date: Aug 2007
Gender:
Posts: 13
Hello, I have a question. Somebody knows that indicates 08 of an address offset either a script or a bank dialog?.

Example: 0xB00000 ----- ROM ----- 00 00 B0 08

Thanks in advance
  #1491   Link to this post, but load the entire thread.  
Old November 22nd, 2007 (12:17 PM).
Amsirak Amsirak is offline
 
Join Date: Nov 2007
Gender:
Posts: 2
Thank you, it worked ;P

I directly copied it from the tutorial 'cause i'm very lazy :D
  #1492   Link to this post, but load the entire thread.  
Old November 22nd, 2007 (12:18 PM).
~*Pikafan*~'s Avatar
~*Pikafan*~ ~*Pikafan*~ is offline
Man I gotta stop leaving!
 
Join Date: Sep 2007
Age: 29
Gender:
Nature: Jolly
Posts: 202
I need a script (one for a script insertion in Change Events on Advance Map) where when you come out of a house, someone walks up to you and says, "Hey \v\h01! You forgot your Beldum! Here, I found it for you!" Then he gives it to you with the Jingle noise as your starter, asking if you want to give a nickname. Then he says, "You forgot your pokedex too, here!" Then he gives you the pokedex.

Can anyone do that?
__________________
I have returned ONC AGAIN!

Guitar Hero and Rock Band Rock. 'Nuff Said :P

I have a bunch of Friend Codes for Wii. These games I have Friend Codes for:

Guitar Hero World Tour (GHWT)
Super Smash Bros. Brawl (SSBB)
Guitar Hero 3 (GH3)
Pokemon Battle Revolution (PBR)
Rock Band 2, once I get it >_> (RB2)

RAWR. I NEED SHTUFF FOR MAH SIGNATURE. RAWR.
  #1493   Link to this post, but load the entire thread.  
Old November 22nd, 2007 (1:19 PM). Edited November 22nd, 2007 by Cherry1.
Cherry1 Cherry1 is offline
 
Join Date: Nov 2007
Gender:
Posts: 3
has somebody an answer for my questions above, please?

has somebody an answer for my questions above, please?
  #1494   Link to this post, but load the entire thread.  
Old November 22nd, 2007 (1:28 PM).
Piplup-Trainer's Avatar
Piplup-Trainer Piplup-Trainer is offline
This is my custom user title.
 
Join Date: Nov 2007
Location: Europe. Many people haven`t heard about the country in which I live.
Age: 31
Gender: Male
Nature: Relaxed
Posts: 228
Can anybody make a script for me which is doing this :

1) A pikachu looks behind (okay, that I can edit in EliteMap).

2) If you click on that Pikachu, then he should say (breaks here means breaks in the dialog too):
"Hmhmhmhmhmhm... With the legendary Pokemon
Ho-Oh we can awake the three legendary dogs.
And then I and Rayquaza will rule over the Hoenn-Region!"

3) Now he should turn around to you and a "!" should appear over his head (like May is doing in her house, but without music.).

4) Now he should say :
"What!? Who are you!?
And what are you doing here!?

...

You listened what I said!?
You really listened what I said!?

That means that you know about my plan!

Well, then I have no another choice...
I must defeat you!!!

C'mon, bring it on!!!"

5) Now should a trainer battle begin (lets say for example, the ID is FFFF. With trainer battle I mean, that Pikachu and you are fighting with pokemons. The Music should be The Raikou, Entei and Suicune Theme. If there doesn't exist such a music file, then put in the script the "Team Magma Music".)

6) After the battle, Pikachu should say :
"What!? I can't believe it!

You bastard defeated all my mighty Pokemon!

This time, you were lucky.
But the next time, you won't be so lucky!!!"

7) Now he should leave the room (like May in Route 103 - if you click her on the left or right side, then she will make after the battle seven steps down. If you click her on beside, then she will go after the battle one step right or left and then she goes down. --> SEE IMAGES)

8) At last, the sprite should be deactivated and the script should be turned off.

I will thank you so much. If you want, then I will write down your name to the credits.

PS : The X marks where Pikachu will be.
  #1495   Link to this post, but load the entire thread.  
Old November 22nd, 2007 (6:29 PM). Edited November 22nd, 2007 by Derlo.
Derlo's Avatar
Derlo Derlo is offline
Tired....
 
Join Date: Aug 2007
Location: Mossoró-RN-BR
Gender: Male
Posts: 135
Quote:
Originally Posted by thethethethe View Post
Use this. XX is the x-co-ordinate and YY is the Y-co-ordinates of the door.
#raw 0xAC 0xXX 0xXX 0xYY 0xYY
#raw AE

I'll give you an example incase it's still hard to understand.
X co-ordinate - 14
Y co-ordinate - 12
#raw 0xAC 0x0E 0x00 0x0C 0x00
#raw 0xAE
Thank you very much, the command worked. But after the door opens, she doesn't close.
Is this SCRIPT, what is there wrong?

#org $mina
applymovement 10 $hun
pause 0x20
message $flori2
$flori2 1 = Margarida: \c\h01\h04Muito obrigado gatoto!\nTome isso como agradecimento!
boxset 6
giveitem 0x44 0x1
message $flori3
$flori3 1 = Margarida: \c\h01\h04Agora tenho que ir!\nTchau!
boxset 6
applymovement 10 $subir
$subir 1 ; #Binary 0x01 0xFE
pausemove 0
#raw 0xAC 0x19 0x00 0x12 0x00
#raw 0xAE

applymovement 10 $subir2
$subir2 1 ; #Binary 0x0D 0x0D 0x60 0xFE
pausemove 0
return
  #1496   Link to this post, but load the entire thread.  
Old November 22nd, 2007 (9:50 PM).
thethethethe thethethethe is offline
 
Join Date: Jun 2007
Location: Melbourne, Australia
Gender: Male
Posts: 1,104
Quote:
Originally Posted by Derlo View Post
Thank you very much, the command worked. But after the door opens, she doesn't close.
Is this SCRIPT, what is there wrong?

#org $mina
applymovement 10 $hun
pause 0x20
message $flori2
$flori2 1 = Margarida: \c\h01\h04Muito obrigado gatoto!\nTome isso como agradecimento!
boxset 6
giveitem 0x44 0x1
message $flori3
$flori3 1 = Margarida: \c\h01\h04Agora tenho que ir!\nTchau!
boxset 6
applymovement 10 $subir
$subir 1 ; #Binary 0x01 0xFE
pausemove 0
#raw 0xAC 0x19 0x00 0x12 0x00
#raw 0xAE

applymovement 10 $subir2
$subir2 1 ; #Binary 0x0D 0x0D 0x60 0xFE
pausemove 0
return
Sorry I forgot something.
#raw 0xAD 0xXX 0xXX 0xYY 0xYY
#raw AE
Use this to close the doors.
__________________
Gone.
  #1497   Link to this post, but load the entire thread.  
Old November 23rd, 2007 (6:48 AM). Edited November 23rd, 2007 by ~*Pikafan*~.
~*Pikafan*~'s Avatar
~*Pikafan*~ ~*Pikafan*~ is offline
Man I gotta stop leaving!
 
Join Date: Sep 2007
Age: 29
Gender:
Nature: Jolly
Posts: 202
Is there something wrong with this script that I made for the Script event, not for a person?

Code:
#org $Move1
checkflag 0x200
if B_TRUE goto $Done
applymovement 0x12 $whogivesthe
pause 0x10
setflag 0x200
end

#org $Done
end

#org $whogivesthe
$move 1; #Binary 0x56 0x10 0x06 0xFE

goto $GiveBeldum

#org $startBel
checkflag 0x800
message $GiveBel
$GiveBel 1 = \v\h01!/pYou forgot your Beldum!/nI found it outside/pof your house when/nI woke up, so I came/pto give it to you!
give pokemon 398 5 8E
jingle
message $GotBel
$GotBel 1 = You obtained Beldum!
boxset6
message $NameBel
$NameBel 1 = Would you like to give/nBeldum a Nickname?
boxset5
compare LASTRESULT 1
if b_false goto $GiveDex
Namepokemon
setflag 0x203
goto $GiveDex

#org $Givedex
Setflag 0x800
setflag 0x801
message $Pokedex
$Pokedex 1 = I also found your Pokedex!
boxset6
jingle
message $GotDex
$Gotdex 1 = You got the Pokedex!
boxset 6
end
__________________
I have returned ONC AGAIN!

Guitar Hero and Rock Band Rock. 'Nuff Said :P

I have a bunch of Friend Codes for Wii. These games I have Friend Codes for:

Guitar Hero World Tour (GHWT)
Super Smash Bros. Brawl (SSBB)
Guitar Hero 3 (GH3)
Pokemon Battle Revolution (PBR)
Rock Band 2, once I get it >_> (RB2)

RAWR. I NEED SHTUFF FOR MAH SIGNATURE. RAWR.
  #1498   Link to this post, but load the entire thread.  
Old November 23rd, 2007 (8:52 AM).
Cherry1 Cherry1 is offline
 
Join Date: Nov 2007
Gender:
Posts: 3
it'sn \p and \n, not /p and /n...
  #1499   Link to this post, but load the entire thread.  
Old November 23rd, 2007 (8:54 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
I'm wondering, If I could request gold scripts here.....
__________________

  #1500   Link to this post, but load the entire thread.  
Old November 23rd, 2007 (8:55 AM).
Piplup-Trainer's Avatar
Piplup-Trainer Piplup-Trainer is offline
This is my custom user title.
 
Join Date: Nov 2007
Location: Europe. Many people haven`t heard about the country in which I live.
Age: 31
Gender: Male
Nature: Relaxed
Posts: 228
Quote:
Originally Posted by pokemonhacker12345 View Post
I'm not trying to mini mod but piplup trainer you should not doulbe post you should edit your old one

and can someone make a script so you step on a tile and you have a pokemon with you?
Okay. The next time I will think on that. Thx
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.