• 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 Trading Card Game 2 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.

[Archive] Simple Questions

Status
Not open for further replies.
Rubikon Help

Okay, how exactly do I go about compiling a rubikon script into a rom with Rubikon? Each time I try to run rkc.exe, it just loads then finishes and then closes without doing anything.
 
First, this on my comp dont works on give pokemon code.
Second, here it is.
Open ScriptEd, which comes with Elitemap,open also your script in Notepad,
copy your code, then paste it into ScriptEd, click Compile button,select your rom and little while later a rkclog.txt will show up and there might be some text "translated to its language". Next open map editor (recommend ADVANCEMAP, it can change events easier), look for your "victim" and to the script box (behind dollar symbol in advancemap,or behind &H in elitemap) of the person insert starting offset for your script.Now run your ROM in emulator and try to speak or do something with your victim of script. Hope it will change as you want. But, MAKE A COPY, i didn't and I am starting my hack again. If you know about good give pokemon script and working free offset (as starting) in Sapphire, please PM me!
 
Last edited:
when i want to compile this one:
#org 0x1670B4
message 0x1670D0
boxset 0x4end
#org 0x1670D0
= Do you want a charmander?
checkflag 0x1670B4 if 0 0x800200
setflag 0x1670B4
givepokemon 0x04 0x05 0x00
(dont even now if it's correct) it says runtime error tye mismatch
is the tekst wrong, do I mis a file
I know the rom is okay because i just did 1 before this one
#org 0x800000
message 0x800100
boxset 0x02
end
#org 0x800100
= VENA!VENASAUR!
 
a lil help

i dont know if im in the right thread but, when i download a romhack, my vba wont play it, can somebody explain why this happens?

EDIT:when i open my vba, it doesnt show the file of the game when i open its folder, in other words, its not a gba file
 
Rubikon Scripts

Code:
'-----------------------
#org 0x1655F9
jingle
setvar 0x4001 0x1
goto 0x8165605 
end
'-----------------------
#org 0x165605
setvar 0x8004 0x0
setvar 0x8005 0x2
special 0x174
#raw 0xC7
nop
pause 0x1E
playsound 0x12E
nop
#raw 0x67
#raw 0x2C
#raw 0xD7
#raw 0x17
jumpstd 0x66
pause 0x55
#raw 0x68
applymovement APPLYMOVE_PLAYER 0x81A75ED
pause 0x0
#raw 0x2F
copybyte 0xFF4F00 0xDB
#raw 0x75
copyvarifnotzero 0x5108 0x0
pause 0x1E
#raw 0x55
return

'-----------
' Movements
'-----------
#raw 2D 'Down4
#raw FE 'Exit

this is the code from fire red when you try to leave pallet town for the first time. could someone plz explain what everything is in it? i want to make a script to make a pikachu follow you but i dont understand this barely. ty
 
ramon99 said:
when i want to compile this one:
#org 0x1670B4
message 0x1670D0
boxset 0x4end
#org 0x1670D0
= Do you want a charmander?
checkflag 0x1670B4 if 0 0x800200
setflag 0x1670B4
givepokemon 0x04 0x05 0x00

*sigh* -_-


#org 0x1670B4
checkflag 0x10A
if 0 0x800200
message 0x1670D0
boxset 0x04
givepokemon 0x04 0x05 0x00
setflag 0x10A
setflag 0x800
end
 
Can someone give me a script/tutorial on how to implement a move tutor like in Fr/Lg/E? For Curse, preferably.
 
#org 0x14D6DC
checkflag 0x10A
if 0 0x800200
message 0x14D6E4
boxset 0x04
givepokemon 0x98 0x0F 0x00
setflag 0x10A
setflag 0x800
end

#org 0x14D6E4
= Hi! I am your grandma! That's/n present for you

Please help! When I used this code, applyed to the person and when I talked to it, music played, but map disappeared and screen became maroon... Is this script OK?
 
Can someone make me a scrip for making u start at home instead of being inside the truck?
 
Whenever I try to compile this script in Scripted, I keep getting an RTE 13: type mismatch. Is there an error?

Code:
#autobank on

#org 0x71f330
lock
msgbox 0x71f530
callstd 0x4
checkflag 0x1ff
if 0x1 jump 0x71f480
msgbox 0x71f630
callstd 0x6
boxset BOXSET_YESNO
compare LASTRESULT 0x0
if 0x1 jump 0x71f480
msgbox 0x71f730
callstd 0x6
wildbattle 0xFB 0x1E
setflag 0x1ff
release
end

#org 0x71f480
release
end

#org 0x71f530
= It's the shrine dedicated to\nthe protector of the forest.

#org 0x71f630
= A small hole sits in the center\nof the shrine.\pInsert the GS Ball?

#org 0x71f730
= \v\h01 placed the GS Ball in the\nILEX shrine.
 
UNlz.gba.exe, number needed please.

I have searched but not found.
Does someone know the number for pokemon sapphire where it says
pokemon 2003
nintendo 2003
gamefreak

blabla... (in the begining of the game, the black screen)

please i need the numbers. thanks in advance!
also I need to know in wich color modes

p.s. I have searched for it. but not found anything!

thanks.

EDIT: sorry for not directly placing it here :)

----------------------------------------------------------------------
jojotjuh.
 
Last edited:
RicePigeonKKM said:
Whenever I try to compile this script in Scripted, I keep getting an RTE 13: type mismatch. Is there an error?

Code:
#autobank on
ß.

Yeeeeeesh -_-* it's full with errors from Elite Map ¬¬

#org 0x71F330
lock
message 0x71F530
boxset 0x4
checkflag 0x1FF
if 1 0x71F480
message 0x71F630
boxset BOXSET_YESNO
compare LASTRESULT 0
if 1 0x71F480
message 0x71F730
boxset 0x2
wildbattle 0xFB 0x1E
setflag 0x1FF
release
end

#org 0x71F480
release
end

#org 0x71F530
= It's the shrine dedicated to\nthe protector of the forest.

#org 0x71F630
= A small hole sits in the center\nof the shrine.\pInsert the GS Ball?

#org 0x71F730
= \v\h01 placed the GS Ball in the\nILEX shrine
 
I have little problem with PET. i changed all pokemon, but Rivals and GYM Liders pokemon have attacks like Vicegrip and Struggle. I can't change it with editor, how can i fix it?
 
Time to answer the unanswered...
Nusegi said:
Dumb questioning time ^^':
1) How can i open the rooms on Map editor, Advance-Mart and stuff???
2) Where can i download pokemon ROMS???
1) Depends on the program. Usually you click on "File"->"Open" and select your ROM.

2) We won't supply any ROMs or links to ROMs to you, as it is against the rules.

MissingNo. Hunter Jake said:
i dont know if im in the right thread but, when i download a romhack, my vba wont play it, can somebody explain why this happens?

EDIT:when i open my vba, it doesnt show the file of the game when i open its folder, in other words, its not a gba file
https://www.pokecommunity.com/threads/46315
See the point "How to apply an IPS-Patch?".

h@Ck3R said:
this is the code from fire red when you try to leave pallet town for the first time. could someone plz explain what everything is in it? i want to make a script to make a pikachu follow you but i dont understand this barely. ty
o.0
Everything that happens in the Game when you leave Pallet Town is in it.
It set's needed variables, stops you from going out, plays the following music, talks a bit and takes you into the Lab where another script is executed.
That's it.

Nusegi said:
Can someone teach me the basics of scripting??
You learn best by taking a look at existing scripts.
The Script Database in the Tutorial forum and the "commands.html" & "tutorial.html" that come with EliteMap are very helpful.

RicePigeonKKM said:
Can someone give me a script/tutorial on how to implement a move tutor like in Fr/Lg/E? For Curse, preferably.
You should take a look at the existing Move-Tutor scripts.
Copy them and just change the things you want different. (Like the attacks that are teached.)

Watson Jr. said:
Please help! When I used this code, applyed to the person and when I talked to it, music played, but map disappeared and screen became maroon... Is this script OK?
No, it's not okay.
Again the "givepokemon" command screws up your script.
It has more bytes than ScriptED actually tells you it has.
Code:
#org 0x14D6DC
checkflag 0x10A
if 0 0x800200
message 0x14D6E4
boxset 0x04
givepokemon 0x98 0x0F 0x00
#raw 00
#raw 00
#raw 00
#raw 00
#raw 00
#raw 00
#raw 00
#raw 00
#raw 00
setflag 0x10A
setflag 0x800
end

#org 0x14D6E4
= Hi! I am your grandma! That's/n present for you
That should work.

Nusegi said:
Can someone make me a scrip for making u start at home instead of being inside the truck?
The Script where you start is hardcoded in the Intro routine of the game.
It's not possible to re-script it yet.
However, you can change the Map you start on.
How to do it has been posted a few pages back in this thread.

jojotjuh said:
I have searched but not found.
Does someone know the number for pokemon sapphire where it says
pokemon 2003
nintendo 2003
gamefreak

blabla... (in the begining of the game, the black screen)

please i need the numbers. thanks in advance!
also I need to know in wich color modes

p.s. I have searched for it. but not found anything!

thanks.

EDIT: sorry for not directly placing it here :)

----------------------------------------------------------------------
jojotjuh.
1631 /Black and White mode

makiri said:
I have little problem with PET. i changed all pokemon, but Rivals and GYM Liders pokemon have attacks like Vicegrip and Struggle. I can't change it with editor, how can i fix it?
You can't. It's a problem with how PET reads the Trainer data.
This is set inside the program and can't be changed. However, since PET displays the Pokémon data offset to you, you can easily edit the used attacks with a Hex-Editor.
 
Advance battle 3 doesn't work on FR, and i don't know how to edit it with hex. is there any other way?
 
Status
Not open for further replies.
Back
Top