• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Our weekly protagonist poll is now up! Vote for your favorite Conquest protagonist in the poll by clicking here.
  • 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.
Trainer Battle script if possible for ruby

6 Trainers

2 Trainers
Kid Trainer is the name
Pokemon: Eeveex2 level 5 both

2 Trainers
Kid Trainer is the name yet again
Pokemon: Pikachu and Vulpix level 7 for both

1 Trainer
Kid Trainer is the name yet again
Pokemon: Bulbasor Charmandar level 10 for both

Trainer Hill Champeons Double Battle is the name
Pokemon: Charmeleon , Butterfree level 15 for both
 
hi
i have a problem with scripted

i open it, write me script, click compile and load my rom.
and then it says

Rubikon 1.3 by Kyoufu Kawa
--------------------------------------------------------------
Loading command database...
Empty command database detected. Program halted.

i have my script and rom in a freshly made folder of elite map with all the tools installed and i still get this message.

please please please help

Make sure the ROM and the script have no spaces in their names.

Trainer Battle script if possible for ruby

6 Trainers

2 Trainers
Kid Trainer is the name
Pokemon: Eeveex2 level 5 both

2 Trainers
Kid Trainer is the name yet again
Pokemon: Pikachu and Vulpix level 7 for both

1 Trainer
Kid Trainer is the name yet again
Pokemon: Bulbasor Charmandar level 10 for both

Trainer Hill Champeons Double Battle is the name
Pokemon: Charmeleon , Butterfree level 15 for both

You can't edit trainers' pokémon with scripts.
 
ok now my script work.
(#org 0x800000
lock
faceplayer
wildbattle 0x196 0x46 0x3
nop
nop
cry PKMN_MEW
pause 0x28
#raw 0xC5
fadescreen 1
setflag 0x767
setflag 0x861
movesprite 0x2 0xB 0x11
#raw 0x27
clearflag 0x861
release
end) ...thank you to irish and zel

but..now when i finish the battle the pokemon is still there..so i can repeat the event infinity time...i don't want this...i want it disappeared... what i should do????
help meee :D
 
ok now my script work.
(#org 0x800000
lock
faceplayer
wildbattle 0x196 0x46 0x3
nop
nop
cry PKMN_MEW
pause 0x28
#raw 0xC5
fadescreen 1
setflag 0x767
setflag 0x861
movesprite 0x2 0xB 0x11
#raw 0x27
clearflag 0x861
release
end) ...thank you to irish and zel

but..now when i finish the battle the pokemon is still there..so i can repeat the event infinity time...i don't want this...i want it disappeared... what i should do????
help meee :D

Code:
#org 0x800000
lock
faceplayer
wildbattle 0x196 0x46 0x3
nop
nop
cry PKMN_MEW
pause 0x28
#raw 0xC5
fadescreen 1
setflag 0x767
movesprite 0x2 0xB 0x11
#raw 0x27
release
end

I removed the flag 0x861, it's not needed and I don't know why you want that other flag in the script.
Is the movesprite for the sprite you talk to for the wildbattle? You can make the movesprite take it somewhere off the map so that you won't battle it again.
 
Code:
#org 0x800000
lock
faceplayer
wildbattle 0x196 0x46 0x3
nop
nop
cry PKMN_MEW
pause 0x28
#raw 0xC5
fadescreen 1
setflag 0x767
movesprite 0x2 0xB 0x11
#raw 0x27
release
end

I removed the flag 0x861, it's not needed and I don't know why you want that other flag in the script.
Is the movesprite for the sprite you talk to for the wildbattle? You can make the movesprite take it somewhere off the map so that you won't battle it again.

ok you solved my problem...tnk u vry much!!!(the problem was the sprite number...it wasn't right)
 
Can someone give me a script for my hack? I need a CPU to give you an egg which hatches into celebi. I will put your name in the credits.
 
Is this script right?

'-----------------------
#org 0x163A4E
jingle
msgbox 0x817A8B4
callstd 0x4
#raw 0x68
applymovement APPLYMOVE_PLAYER 0x81A75ED
pause 0x20
msgbox 0x817A970
callstd 0x4
#raw 0x68
applymovement APPLYMOVE_PLAYER 0x81A75DD
pause 0x60
msgbox 0x817A9E1
callstd 0x4
#raw 0x68
end


#raw 2D 'Down4
#raw FE 'Exit

#raw 1C 'StRight1
#raw 1C 'StRight1
#raw 1C 'StRight1
#raw FE 'Exit


Because my game freeze. :( And I not sure which script code is correct.
I'm not a good scriper but i'm good at text.

I tried to figure out since no one helped me for a scripted. I change some and it's stills frezzes.

Code:
#org 0x163A4E
msgbox 0x817A8B4
callstd 0x6
applymovement APPLYMOVE_PLAYER 0x81A75ED
pause 0x20
msgbox 0x817A970
callstd 0x4
applymovement APPLYMOVE_PLAYER 0x81A75DD
pause 0x60
msgbox 0x817A9E1
callstd 0x4
return


0x81A75ED
#raw 2D 'Down4
#raw FE 'Exit

0x81A75DD
#raw 1C 'StRight1
#raw 1C 'StRight1
#raw 1C 'StRight1
#raw FE 'Exit
The thing is, i'm not a good scriper, but i'm beginning to hack. I follow the instruction but it quite hard for me.
 
I am starting a hack and I have tried to learn how to script through this thread and others here but I just don't get it. If there is anybody that has a good understanding of scripting that would like to help me please send me a PM.
 
I would love a script for pokemon trainers for ruby the ammount of trainers just to say is 8 thanks in advance
 
I was just wondering if I did this improperly.. Im getting a white screen in VBA.. I edited a person in RSE's forest to hopefully give you a celebi..

I think this would look better (just watch out with the flag 1020, I just put a kinda random value there). Also, I put your offsets somewhere safer... Probably (I hope Ruby has free space on 800000)

Spoiler:


That way, you'd not only give the Celebii, but you also make sure to not be giving a Celebii each time you talk to the person.

Can someone give me a script for my hack? I need a CPU to give you an egg which hatches into celebi. I will put your name in the credits.

Hmmm... Let's see Sergio's Egg Script...

Spoiler:


No need to credit me for anything (unless you want to credit Sergio...)

I tried to figure out since no one helped me for a scripted. I change some and it's stills frezzes.

The thing is, i'm not a good scriper, but i'm beginning to hack. I follow the instruction but it quite hard for me.

A better idea would be to use an offset different than the ones you used (specially the 163A4E, if you've been doing changes there, maybe you already broke your rom. It may have been better to use this on Scripted...

Spoiler:

Keep in mind it may keep failing, since I'm still using the texts located at 17A8B4, and etc. At least it should not freeze, perhaps it would throw garbage when writing messages.
By the way, you need to open Advance Map, find the sprite you want to have this event. Select the sprite, and search it's Script Offset, just change the $Something for $800000, that will make that sprite reproduce this event.

I would love a script for pokemon trainers for ruby the ammount of trainers just to say is 8 thanks in advance

Huh? I think Christos answered a similar question recently. If you want a trainer battle script first make sure to read Christos and Irish Witch's Scripting tutorials, after that, attempt to do one, and return if you have problems.
 
jonicito said:
I tried to figure out since no one helped me for a scripted. I change some and it's stills frezzes.

The thing is, i'm not a good scriper, but i'm beginning to hack. I follow the instruction but it quite hard for me.

A better idea would be to use an offset different than the ones you used (specially the 163A4E, if you've been doing changes there, maybe you already broke your rom. It may have been better to use this on Scripted...

Um... I posted this right after you asked the question:
Irish Witch said:
That script looks like you decompiled it from a rom.. as such:

1. Remove the 8 from the beginning of the pointers or scripted sometimes stuffs them up when it re-compiles.
2. If you've edited it in any way then then the offsets will be wrong. I suggest repointing them.

And 3. don't forget you need offsets for the movement scripts themselves.

So people DID try to help you... You just didn't read the posts!

EDIT

I like your new Avatar btw Zel
Hot ;)
 
Last edited:
Ok i got a pokemon trainer script


Code:
#org $Trainer1
lock
faceplayer
trainerbattle 0 395 $MadChall $MadDefeat
$MadChall 1 = Madeline: I am mighty... I hope!
$MadDefeat 1 = Madeline: Oh poor Numel!!!!
message $MadTalk
$MadTalk 1 = I thought having a fire pokemon\iwould help make me stronger.\pI Guess I was wrong.
boxset 6
release
end[code]
*thanks irish witch*

but how do i add it to the Trainer and then how do i give the trainer pokemon >.<
 
Last edited:
I need big help.
I've got a script for someone to give you an egg but can't put it in my game! can someone do it for me and make an ips of it?
I want it to be script reference: $1560C4

here is the script:


#org 0x800000 'we make sure player has room for the EGG
#raw 0x43
compare LASTRESULT 0x6
if 0x0 jump 0x800020
message 0x800050
boxset 0x2
end

#org 0x800020 'we give the EGG
message 0x800080
boxset 0x2
#raw 0x67
#raw 0xEA
#raw 0xC2
setvar 0x3208 0x7A66
#raw FB
nop
release
end

#org 0x800050
= You have no room for the EGG!
#org 0x800080
= \v\h01 got the EGG!
 
Can you give me a script on how to make a door to a basement in the characters home?

Or a program that does it easier?
 
Hmmm... Basically, all you really need to do is add a warp event with Advance Map. So, that's an issue not involving scripting, most likely it has been asked in the Simple Questions thread, go have a look there.

Yeah... I know, we can make warp scripts, but I think he only needs a simple way of warping... :P

PS for I.W: Hot? Nothing compared to your avatar... >.<
 
Status
Not open for further replies.
Back
Top