The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > ROM Hacking > ROM Hacking Hub
Sign Up Rules/FAQ Live Battle Blogs Mark Forums Read

Notices

ROM Hacking Hub General discussions about ROM Hacking and Emulation. Not sure where to start? This is the place for you.
Posting links to ROMs is illegal and is not tolerated anywhere on the forum.
New threads in this forum are to be approved by a moderator before they are displayed.


Closed Thread
Click here to go to the first staff post in this thread.  
Thread Tools
  #51    
Old February 27th, 2007, 04:05 AM
foofatron
Booted out - don't be like me!
 
Join Date: Jan 2007
Age: 12
Gender:
Nature: Adamant
Send a message via Windows Live Messenger to foofatron
Idid it and its saying this.When I compile it.I'm using Rubikon ScriptED for ruby scripting.
Loading command database...
Empty command database detected. Program halte
  #52    
Old February 27th, 2007, 07:49 AM
Christos's Avatar
Christos
Project Shinx
 
Join Date: Feb 2006
Location: Spain, Went's room
Nature: Serious
Send a message via Skype™ to Christos
Quote:
Originally Posted by foofatron View Post
Idid it and its saying this.When I compile it.I'm using Rubikon ScriptED for ruby scripting.
Loading command database...
Empty command database detected. Program halte
Your ROM and script must be saved in the same folder as ScriptED with no spaces in the name.
__________________
I DON'T HAVE THE POKECOMMUNITY VIRUS(ALSO KNOW AS PC VIRUSE)
What I mean by this is, I'm not strict like MOST people *cough* Admins/Mods *cough* on this site. And no not all Admins/Mods are like that, but MOST are,
Post this in your sign. if you are PC Viruse free!

Last edited by Christos; February 27th, 2007 at 08:35 AM.
  #53    
Old February 27th, 2007, 01:24 PM
foofatron
Booted out - don't be like me!
 
Join Date: Jan 2007
Age: 12
Gender:
Nature: Adamant
Send a message via Windows Live Messenger to foofatron
Ok I used Diamond cutter to put it on my rom how do I find the script and put it on a person?
  #54    
Old March 2nd, 2007, 01:40 AM
Irish Witch's Avatar
Irish Witch
Office Jenny
 
Join Date: Jul 2006
Location: Australia
Age: 34
Gender:
Nature: Lonely
Send a message via AIM to Irish Witch Send a message via Yahoo to Irish Witch
Now Possible to NAME new pokemon after using GivePokemon!

*shameless plug*

The latest version of the pkmadv database now has a command 'NamePokemon'
Use something like this:
Code:
#org 0x800000
lock
faceplayer
checkflag 0x200
if 0x1 goto $GotMew
message $WantMew
boxset 0x5
compare LASTRESULT 0x1
if 0x1 goto $GiveMew
message $NoMew
boxset 0x6
release
end

#org $GotMew
message $HowMew
boxset 0x6
release
end

#org $GiveMew
countpokemon
compare LASTRESULT 0x6
if 0x1 goto $ErrorMew
message $RecieveMew
boxset 0x6
givepokemon 151 5 0
message $NewName
callstd 0x5
compare LASTRESULT 0x1
if 0x1 gosub $NameMew
setflag 0x200
release
end


#org $ErrorMew
message $FullParty
boxset 6
release
end

#org $NameMew
namepokemon
return

$FullParty 1 = Your Party is full!
$NewName 1= Would you like to give the pokemon a name?
$WantMew 1 = Would you like my Mew?\nI dont want it anymore.
$NoMew 1 = You're Weird!
$HowMew 1 = So how is MY Mew?
$RecieveMew 1 = You recieved a mew
- EDIT - 2320 gmt+8

Now added 'Countpokemon' to command database. Code above adjusted apropriately!
__________________
PokeScript Assembler C pokewitch inc

PokeWitch's PokePets

Smitten the level 25 Kirlia! :: Myrial the Level 22 Pidgeotto

Last edited by Irish Witch; March 2nd, 2007 at 06:23 AM.
  #55    
Old March 2nd, 2007, 06:46 AM
frank$or
Beginning Trainer
 
Join Date: Nov 2006
Gender:
Nature: Adamant
Wtf is wrong with my script?
I've tried it, but it says all text ( without enters etc, new message commands right after the others. like: (#900000)Hi i'm frank.(#900100)How are you?

Script:
Code:
#org 0x944F00
message 0x944F20
boxset 0x2
applymovement 0xFF 0x944F40
pause 0x10
message 0x944F30
boxset 0x2
applymovement 0x0 0x944F60
pause 0x60
warp 0x2D 0x1 0x0
end

#org 0x944F20
= Mew!?\pWhere am I?

#org 0x944F40
#raw 0x62
#raw 0xFE

#org 0x944F30
= No wait!\pDon't go!

#org 0x944F60
#raw 0x32
#raw 0x32
#raw 0x32
#raw 0x32
#raw 0x32
#raw 0xFE
  #56    
Old March 2nd, 2007, 06:46 PM
Irish Witch's Avatar
Irish Witch
Office Jenny
 
Join Date: Jul 2006
Location: Australia
Age: 34
Gender:
Nature: Lonely
Send a message via AIM to Irish Witch Send a message via Yahoo to Irish Witch
Quote:
Originally Posted by frank$or View Post
Wtf is wrong with my script?
I've tried it, but it says all text ( without enters etc)

Script:
Code:
#org 0x944F00
message 0x944F20
boxset 0x2
applymovement 0xFF 0x944F40
pausemove 0x0
message 0x944F30
boxset 0x2
applymovement 0x0 0x944F60
pausemove 0x0
warp 0x2D 0x1 0x0
end
Try using pausemove instead of pause!
__________________
PokeScript Assembler C pokewitch inc

PokeWitch's PokePets

Smitten the level 25 Kirlia! :: Myrial the Level 22 Pidgeotto
  #57    
Old March 3rd, 2007, 01:31 AM
Monkey's Avatar
Monkey
Beginning Trainer
 
Join Date: Feb 2007
Gender:
Nature: Adamant
could some1 help me with this pokewitch script? its not finished becouse the other stuffs i dont understand and the line TRAINERBATTLE the last 3 things neither

Code:
#org $start
lock
faceplayer
message $battle
TRAINERBATTLE 00 <Trainer> (ptr Intro) <ptr Defeat>
message $lost
end

#org $battle
= Lets battle

#org $lost
= NO! I lost thats not possible!
(is it possible to give this offset to more players?)
  #58    
Old March 3rd, 2007, 12:06 PM
Irish Witch's Avatar
Irish Witch
Office Jenny
 
Join Date: Jul 2006
Location: Australia
Age: 34
Gender:
Nature: Lonely
Send a message via AIM to Irish Witch Send a message via Yahoo to Irish Witch
Shouldn't post same Q in multiple threads...

Answered in my Tutorial thread since I had intended to do a tutorial on this anyway but can't find time!
__________________
PokeScript Assembler C pokewitch inc

PokeWitch's PokePets

Smitten the level 25 Kirlia! :: Myrial the Level 22 Pidgeotto
  #59    
Old March 3rd, 2007, 08:10 PM
O.G. Duke's Avatar
O.G. Duke
a.k.a OmegaGroudon
 
Join Date: Oct 2006
Nature: Adamant
Send a message via Windows Live Messenger to O.G. Duke
What is the script of Player Starting Position in Pokewitch?
__________________
This signature has been disabled.
Signature too tall
Please review and fix the issues by reading the signature rules.

You must edit it to meet the limits set by the rules before you may remove the [sig-reason] code from your signature. Removing this tag will re-enable it.

Do not remove the tag until you fix the issues in your signature. You may be infracted for removing this tag if you do not fix the specified issues. Do not use this tag for decoration purposes.
  #60    
Old March 3rd, 2007, 09:00 PM
Irish Witch's Avatar
Irish Witch
Office Jenny
 
Join Date: Jul 2006
Location: Australia
Age: 34
Gender:
Nature: Lonely
Send a message via AIM to Irish Witch Send a message via Yahoo to Irish Witch
If people are going to start posting the same Q both in this thread and in my Tutorial thread I'm going to tell the modorators to my one!

And I'm looking for that myself!

It's controlled by the opening script which I haven't located yet. There's nothing on the map to indicate a warp point or a flight point so it must be done using -

DUM DUM DUM DUM
RAW CODE
__________________
PokeScript Assembler C pokewitch inc

PokeWitch's PokePets

Smitten the level 25 Kirlia! :: Myrial the Level 22 Pidgeotto
  #61    
Old March 3rd, 2007, 09:26 PM
zel 2.0's Avatar
zel 2.0
Gold Remaker
 
Join Date: Jun 2006
Location: Argentina
Age: 27
Gender: Male
Nature: Quiet
Quote:
Originally Posted by frank$or View Post
Wtf is wrong with my script?
I've tried it, but it says all text ( without enters etc, new message commands right after the others. like: (#900000)Hi i'm frank.(#900100)How are you?
In fact, Irish Witch and frank$or, you didn't realize you were overwriting offsets!

I'll avoid using much space so I'll spoil the fixings in the script, ok?

Spoiler:
#org 0x944F00
message 0x944F40
boxset 0x2
applymovement 0xFF 0x944F70
pause 0x10
message 0x944F55
boxset 0x2
applymovement 0x0 0x944F75
pause 0x60
warp 0x2D 0x1 0x0
end

#org 0x944F40
= Mew!?\pWhere am I?

#org 0x944F70
#raw 0x62
#raw 0xFE

#org 0x944F55
= No wait!\pDon't go!

#org 0x944F75
#raw 0x32
#raw 0x32
#raw 0x32
#raw 0x32
#raw 0x32
#raw 0xFE


Just be careful... Messages usually take a lot of space, if you want to make sure, count the letters (and the wild card counts as one letter, and don't forget to add 1 because of the end of text thing...)
Also, careful with the script blocks length, because your main block (the one that starts at 0x944F00 is quite longer than 32 bytes, and you were starting the text quite close to it, thus crushing the main script. Just be careful... However, don't worry, because it happens to me, even though it happens because I'm stubborn and I want to save as much rom space as possible jojo!)
__________________


  #62    
Old March 3rd, 2007, 09:32 PM
Irish Witch's Avatar
Irish Witch
Office Jenny
 
Join Date: Jul 2006
Location: Australia
Age: 34
Gender:
Nature: Lonely
Send a message via AIM to Irish Witch Send a message via Yahoo to Irish Witch
Well you see, that's why I didn't have any troubles. Cause I compiled using pokescript and re-position the offsetts using bufrite so no overlap!

So there
EDIT - Just so you know this problem what what inspired me to make pokescript in the first place.

Quote:
Originally Posted by OmegaGroudon View Post
What is the script of Player Starting Position in Pokewitch?
Hold the phones, horses AND potatos!

I just came up with a novel way of doing this while working on my own hack.
I used advanced map to replace the truck map with a 'clone' of the map I want. Many of the scripts I use in this clone are different but the trick is that you think you'r in the same room. I then programme a few small events that can only take place there (easter egg time) and make it so that once you leave you can't go back. When you go back through the door you come out of you go into the real room!
__________________
PokeScript Assembler C pokewitch inc

PokeWitch's PokePets

Smitten the level 25 Kirlia! :: Myrial the Level 22 Pidgeotto

Last edited by Irish Witch; March 3rd, 2007 at 09:45 PM. Reason: No Double Posts
  #63    
Old March 3rd, 2007, 09:37 PM
O.G. Duke's Avatar
O.G. Duke
a.k.a OmegaGroudon
 
Join Date: Oct 2006
Nature: Adamant
Send a message via Windows Live Messenger to O.G. Duke
What you mean is replace the truck into your room?
__________________
This signature has been disabled.
Signature too tall
Please review and fix the issues by reading the signature rules.

You must edit it to meet the limits set by the rules before you may remove the [sig-reason] code from your signature. Removing this tag will re-enable it.

Do not remove the tag until you fix the issues in your signature. You may be infracted for removing this tag if you do not fix the specified issues. Do not use this tag for decoration purposes.
  #64    
Old March 3rd, 2007, 09:46 PM
Irish Witch's Avatar
Irish Witch
Office Jenny
 
Join Date: Jul 2006
Location: Australia
Age: 34
Gender:
Nature: Lonely
Send a message via AIM to Irish Witch Send a message via Yahoo to Irish Witch
Well in my case the lounge room yes.

I replace the map of the inside or the truck with a duplicate of the room I want you to go to and make all the warps go one way (no way back in)!...

Do this by going to you're original map and clicking file/map/save map as...

Then go filemap/insert map

Open the map you just saved.
In the 'Replace Map' area set the bank to 25 and the map to 40.
When you insert it it will re-point the map and you're done!
__________________
PokeScript Assembler C pokewitch inc

PokeWitch's PokePets

Smitten the level 25 Kirlia! :: Myrial the Level 22 Pidgeotto

Last edited by Irish Witch; March 3rd, 2007 at 09:53 PM.
  #65    
Old March 3rd, 2007, 11:05 PM
frank$or
Beginning Trainer
 
Join Date: Nov 2006
Gender:
Nature: Adamant
Thanks zel.

Last question, how can you create a pokemon following you al the time?
( like in yellow, that pikachu? )
  #66    
Old March 4th, 2007, 12:51 AM
O.G. Duke's Avatar
O.G. Duke
a.k.a OmegaGroudon
 
Join Date: Oct 2006
Nature: Adamant
Send a message via Windows Live Messenger to O.G. Duke
Quote:
Originally Posted by Irish Witch View Post
Well in my case the lounge room yes.

I replace the map of the inside or the truck with a duplicate of the room I want you to go to and make all the warps go one way (no way back in)!...

Do this by going to you're original map and clicking file/map/save map as...

Then go filemap/insert map

Open the map you just saved.
In the 'Replace Map' area set the bank to 25 and the map to 40.
When you insert it it will re-point the map and you're done!
I tried it but there is something strange here:
Look at this screenies:

There is 3 tile have strange look...
__________________
This signature has been disabled.
Signature too tall
Please review and fix the issues by reading the signature rules.

You must edit it to meet the limits set by the rules before you may remove the [sig-reason] code from your signature. Removing this tag will re-enable it.

Do not remove the tag until you fix the issues in your signature. You may be infracted for removing this tag if you do not fix the specified issues. Do not use this tag for decoration purposes.
  #67    
Old March 4th, 2007, 05:34 AM
Irish Witch's Avatar
Irish Witch
Office Jenny
 
Join Date: Jul 2006
Location: Australia
Age: 34
Gender:
Nature: Lonely
Send a message via AIM to Irish Witch Send a message via Yahoo to Irish Witch
Huh!
Oh-Kay. I wonder whether that has something to do with the 'driving truck' sequence or something...............

Sorry I don't have an answer for that. I'll have to play with it myself, it was just an idea after all.....
__________________
PokeScript Assembler C pokewitch inc

PokeWitch's PokePets

Smitten the level 25 Kirlia! :: Myrial the Level 22 Pidgeotto
  #68    
Old March 4th, 2007, 08:30 AM
Christos's Avatar
Christos
Project Shinx
 
Join Date: Feb 2006
Location: Spain, Went's room
Nature: Serious
Send a message via Skype™ to Christos
Quote:
Originally Posted by OmegaGroudon View Post
I tried it but there is something strange here:
Look at this screenies:

There is 3 tile have strange look...
Those tiles change because of the script in the start. If you have the truck's tileset the tiles will change so that it will look like the truck's open.
__________________
I DON'T HAVE THE POKECOMMUNITY VIRUS(ALSO KNOW AS PC VIRUSE)
What I mean by this is, I'm not strict like MOST people *cough* Admins/Mods *cough* on this site. And no not all Admins/Mods are like that, but MOST are,
Post this in your sign. if you are PC Viruse free!
  #69    
Old March 4th, 2007, 09:53 AM
Irish Witch's Avatar
Irish Witch
Office Jenny
 
Join Date: Jul 2006
Location: Australia
Age: 34
Gender:
Nature: Lonely
Send a message via AIM to Irish Witch Send a message via Yahoo to Irish Witch
I suppose the only way around that then is to either:

-reverse engineer the thing that changes those tile (Good luck there)
-change the tileset so the tiles being changed are identical,
-or lastly put a sprite over the spot (sweep the problem under the rug so to speek).

I think there is a 'map script' somewhere that you might be able to change, I know elite map can open it but whenever I've tried to edit it the game freezes on entering that point!

-----

While I'm here, ANOTHER NEW COMMAND: selectpokemon

If you don't want to download then it consists of the following commands joined into an alias:
Code:
special &h009F
#73 
copyvar &h800A &h8004
Put either the new command or the three above in place of the givepokemon command in the previous name pokemon script script to make a script to re-name any pokemon already in your party!


(In case you haven't figured out, I'm trying to figure out a 'tradepokemon' command and while I'm at it hopefully giving things like eggs!
__________________
PokeScript Assembler C pokewitch inc

PokeWitch's PokePets

Smitten the level 25 Kirlia! :: Myrial the Level 22 Pidgeotto

Last edited by Irish Witch; March 4th, 2007 at 10:32 AM.
  #70    
Old March 4th, 2007, 02:18 PM
SSJ4 Furanki's Avatar
SSJ4 Furanki
Got my Zoroark and everything!
 
Join Date: Jul 2006
Age: 21
Nature: Hasty
When I try to put this script in Scripted or Pokescript it doesn't write it to the rom:

Ok I have another question why is it in scripted I can't get this script to work:
when i insert it it says "Run Time Error 53 File Not found"

This is the script I'm trying to make:

'-----------------------
#org 0xD90380
lock
faceplayer
checkflag 0x200
if 0x1 goto 0x800100
message 0x800200
boxset 0x5
compare LASTRESULT 0x1
if 0x1 goto 0x800300
message 0x800400
boxset 0x6
release
end
#org 0x800100
message 0x800500
boxset 0x6
release
end

#org 0x800300
message 0x800600
boxset 0x6
givepokemon 404 47 0
setflag 0x200
release
end

#org 0x800200
= Want my PALKIA?\nI don't want it so you can have it.

#org 0x800400
= Don't be like that.

#org 0x800500
= So how do you like PALKIA?
__________________
Hacks I'm currently working on:
DarkCopper (Only at 1st Gym Area)

My X/Y Team:

  #71    
Old March 4th, 2007, 02:48 PM
Irish Witch's Avatar
Irish Witch
Office Jenny
 
Join Date: Jul 2006
Location: Australia
Age: 34
Gender:
Nature: Lonely
Send a message via AIM to Irish Witch Send a message via Yahoo to Irish Witch
Quote:
Originally Posted by Furanki Pkmn Master View Post
When I try to put this script in Scripted or Pokescript it doesn't write it to the rom:

Ok I have another question why is it in scripted I can't get this script to work:
when i insert it it says "Run Time Error 53 File Not found"

This is the script I'm trying to make:

'-----------------------
#org 0xD90380
lock
faceplayer
checkflag 0x200
if 0x1 goto 0x800100
message 0x800200
D ?????
Are you sure that shouldn't be
#ORG 0X890380
It is a weird offset, but otherwise that script looks normal.
Make sure the rom you are writing to is for the gameboy advanced!
And remember if you modify one offset you need to modify them all to suit. (Why I use floating offsets in pokescript where possible)

-------

EDIT: I just found a tiny glitch in bufrite. Because you used absolute offsets in this script the first offset auto assigns. I just fixed a buf with that that occurred if you then tried to change the offset.

May have been causing some confusion.
__________________
PokeScript Assembler C pokewitch inc

PokeWitch's PokePets

Smitten the level 25 Kirlia! :: Myrial the Level 22 Pidgeotto
  #72    
Old March 4th, 2007, 03:01 PM
SSJ4 Furanki's Avatar
SSJ4 Furanki
Got my Zoroark and everything!
 
Join Date: Jul 2006
Age: 21
Nature: Hasty
Okay now when I insert the new script it says

--------------------------------------------------------------
Loading command database...
Empty command database detected. Program halted.
__________________
Hacks I'm currently working on:
DarkCopper (Only at 1st Gym Area)

My X/Y Team:

  #73    
Old March 4th, 2007, 03:04 PM
foofatron
Booted out - don't be like me!
 
Join Date: Jan 2007
Age: 12
Gender:
Nature: Adamant
Send a message via Windows Live Messenger to foofatron
Quote:
Originally Posted by Christos View Post
Your ROM and script must be saved in the same folder as ScriptED with no spaces in the name.
I had the same problem Cristos answered it.

I'm quite aware that there is a script command for CheckItem but I was wondering whether there is a command for CheckPokemon. The idea behind this is say for example you picked the fire type pokemon at the start of the game then a certain event would occur however if you picked another then a different event would occur.

Last edited by foofatron; March 4th, 2007 at 03:16 PM.
  #74    
Old March 5th, 2007, 01:15 PM
SSJ4 Furanki's Avatar
SSJ4 Furanki
Got my Zoroark and everything!
 
Join Date: Jul 2006
Age: 21
Nature: Hasty
Can someone tell me where I put the flags thats all I'm confused about:
#org 0x900000
cry 0x28 0x14
wildbattle 0x194 0x46 0x2
cry 0xA1 0x194
end
__________________
Hacks I'm currently working on:
DarkCopper (Only at 1st Gym Area)

My X/Y Team:

  #75    
Old March 5th, 2007, 01:43 PM
Dragonspy
Beginning Trainer
 
Join Date: Feb 2007
Gender:
Nature: Adamant
Not sure if this is the place to post this but.
I'm stuck on how to insert (or whatever you need to do) a script into the game.
can someone help me?
Closed Thread
Quick Reply

Sponsored Links
Thread Tools

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
Minimum Characters Per Post: 25



All times are UTC -8. The time now is 02:05 PM.


Style by Nymphadora, artwork by Sa-Dui.
Like our Facebook Page Follow us on Twitter © 2002 - 2014 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2014 The PokéCommunity / PokéCommunity.com.
PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator.