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
  #2476    
Old November 13th, 2009 (07:47 PM).
Hacker42r/sT's Avatar
Hacker42r/sT
 
Join Date: May 2005
Location: USA
Age: 24
Gender: Male
Nature: Relaxed
im hacking fire red. and i wanted to know how i could get rid of the script that professor oak gives you the national pokedex in, and just have him give you the national pokedex in the beginning.
__________________
i play in a band http://www.myspace.com/elyson
  #2477    
Old November 13th, 2009 (08:32 PM).
NarutoActor's Avatar
NarutoActor
The rocks cry out to me
Community Supporter
 
Join Date: Jan 2009
Location: Brooklyn/Marlboro
Age: 21
Gender: Female
Nature: Bashful
Send a message via AIM to NarutoActor Send a message via Windows Live Messenger to NarutoActor
switch the flags. so switch the pokedex flag with the national dex flag.
__________________
~There are those people who understand hex, F the rest
  #2478    
Old November 13th, 2009 (11:59 PM).
Satoshi Ookami's Avatar
Satoshi Ookami
Memento Mori
Community Supporter
 
Join Date: Jul 2008
Location: Abyss of Time, Great Seal
Age: 22
Gender: Male
Nature: Calm
Lemme say this.
Get rid of Nintendo's level script and make your own for professor.
__________________
ROM hacking FAQ - Read before asking how to play a hack. | Previous Sign 2 | Previous Sign

Anime List | PSN Trophy List
  #2479    
Old November 14th, 2009 (01:56 AM).
HackMew's Avatar
HackMew
Mewtwo Strikes Back
 
Join Date: Jun 2006
Quote:
Originally Posted by NarutoActor View Post
switch the flags. so switch the pokedex flag with the national dex flag.
Before posting that, you should have known there isn't really a National Dex flag. A special is used to activate it.
__________________
  #2480    
Old November 14th, 2009 (04:05 AM).
Angry Ampharos's Avatar
Angry Ampharos
Beginning Trainer
 
Join Date: Mar 2009
Gender:
lock
faceplayer
checkflag 0x1300
if 0x01 goto $done
message $talk
$talk 1 =Mommy won't let me keep Fluffy...\nPlease take it...
givepokemon 360 5 0
boxset 6
setflag 0x1300
release
end

#org $done
message $go
$go 1 =How is Fluffy doing?
boxset 6
release
end

The script is meant to display the first text. give the Pokemon and then whenever you talk to the person again it should display the second amount of text.

At the moment what it does is just display the second script. This also triggers a change in another script.

I use pokescript.
  #2481    
Old November 18th, 2009 (10:50 AM). Edited November 18th, 2009 by Jm20.
Jm20's Avatar
Jm20
A.k.a. Zig :-)
 
Join Date: Sep 2009
Location: The Netherlands
Age: 22
Gender: Male
Hi, I've got two issues:

- On route 7, as a test, I added two person events. When I entered the map, only one person event was present. Walking all the way up the map, made the other person event appear. However, the script was the same for both events (namely the script of the first dude). What is happening here? (To be clear; route 7 didn't had any person events before I added these.) what the heck, doesn't matter actually
On other maps however I didn't have this problem yet, so it isn't very urgent.

- I am trying to make persons appear and disappear. Can I insert any random Person ID nr. into the Person-ID-nr.-box in Amap? Or should it be an empty flag/variable/thingy?
  #2482    
Old November 18th, 2009 (01:50 PM).
Pokepal17's Avatar
Pokepal17
More cowbell~
 
Join Date: Oct 2008
Location: Steeltown
Age: 20
Gender: Male
Nature: Modest
Quote:
Originally Posted by Jm20 View Post
Hi, I've got two issues:

- On route 7, as a test, I added two person events. When I entered the map, only one person event was present. Walking all the way up the map, made the other person event appear. However, the script was the same for both events (namely the script of the first dude). What is happening here? (To be clear; route 7 didn't had any person events before I added these.) what the heck, doesn't matter actually
On other maps however I didn't have this problem yet, so it isn't very urgent.

- I am trying to make persons appear and disappear. Can I insert any random Person ID nr. into the Person-ID-nr.-box in Amap? Or should it be an empty flag/variable/thingy?
Person ID must be the flag you set.

Flags are between 0x1 and 0x3FFF. Anything after is variables. So make the person, use hidesprite and the person event number and set a flag which is the person ID. 0x1000 and after are flags that you should use.
__________________
Pokémon Stardrop
  #2483    
Old November 19th, 2009 (10:42 AM).
Samike360's Avatar
Samike360
Lover of May
 
Join Date: Mar 2009
Location: ATL
Gender:
Nature: Bold
I'm trying to make a simple warp script. You step on the tile and you're somewhere else. I'm using

warp 0x4 0x1 0xFF 0x06 0x06

As the script. However, when I step on the tile, weird things happen. If I do not assign the 0003 and the 4050 then everything goes black the minute I step on it. If I do assign those, then the screen flashes black indefinitely. Does anyone know the problem?
__________________





Please warm my eggs...I'll be sure to return the favor

From now one, if you haven't contacted me yet....I will not accept hacks unless they are at least in progressing hacks. So if you want my help, get some screenshots first.
  #2484    
Old November 19th, 2009 (10:56 AM).
Satoshi Ookami's Avatar
Satoshi Ookami
Memento Mori
Community Supporter
 
Join Date: Jul 2008
Location: Abyss of Time, Great Seal
Age: 22
Gender: Male
Nature: Calm
Post the complete script here please...
Warp one doesn't seem to be wrong... by the way you don't have to use 0s in 06 and 006.
__________________
ROM hacking FAQ - Read before asking how to play a hack. | Previous Sign 2 | Previous Sign

Anime List | PSN Trophy List
  #2485    
Old November 19th, 2009 (11:03 AM).
Samike360's Avatar
Samike360
Lover of May
 
Join Date: Mar 2009
Location: ATL
Gender:
Nature: Bold
Quote:
Originally Posted by Ash493 View Post
Post the complete script here please...
Warp one doesn't seem to be wrong... by the way you don't have to use 0s in 06 and 006.
warp 0x4 0x1 0xFF 0x06 0x06
end

I've tried it without the 0s in front of the 6s but it doesn't make a difference
__________________





Please warm my eggs...I'll be sure to return the favor

From now one, if you haven't contacted me yet....I will not accept hacks unless they are at least in progressing hacks. So if you want my help, get some screenshots first.
  #2486    
Old November 19th, 2009 (11:25 AM).
Satoshi Ookami's Avatar
Satoshi Ookami
Memento Mori
Community Supporter
 
Join Date: Jul 2008
Location: Abyss of Time, Great Seal
Age: 22
Gender: Male
Nature: Calm
Try this.
#dynamic 0x800000
#org @start
lock
setvar 0x4050 0x1
0x4 0x1 0xFF 0x06 0x06
release
end
__________________
ROM hacking FAQ - Read before asking how to play a hack. | Previous Sign 2 | Previous Sign

Anime List | PSN Trophy List
  #2487    
Old November 19th, 2009 (12:08 PM).
Samike360's Avatar
Samike360
Lover of May
 
Join Date: Mar 2009
Location: ATL
Gender:
Nature: Bold
Quote:
Originally Posted by Ash493 View Post
Try this.
#dynamic 0x800000
#org @start
lock
setvar 0x4050 0x1
0x4 0x1 0xFF 0x06 0x06
release
end
I fixed it, thanks for your help. The way I fixed it is that I changed the dimensions, and somehow it worked

Anyway, would you mind telling me what the setvar does in the script? I haven't really done much work with vars
__________________





Please warm my eggs...I'll be sure to return the favor

From now one, if you haven't contacted me yet....I will not accept hacks unless they are at least in progressing hacks. So if you want my help, get some screenshots first.
  #2488    
Old November 19th, 2009 (12:41 PM).
Satoshi Ookami's Avatar
Satoshi Ookami
Memento Mori
Community Supporter
 
Join Date: Jul 2008
Location: Abyss of Time, Great Seal
Age: 22
Gender: Male
Nature: Calm
Quote:
Originally Posted by Samike360 View Post
Anyway, would you mind telling me what the setvar does in the script? I haven't really done much work with vars
It just removes the tile script
So when you fill the var number bar with 4050 and use setvar 0x4050 0x1 the tile script will be erased, it has similar function as flags when ya wanna erase person
__________________
ROM hacking FAQ - Read before asking how to play a hack. | Previous Sign 2 | Previous Sign

Anime List | PSN Trophy List
  #2489    
Old November 19th, 2009 (01:14 PM).
Jm20's Avatar
Jm20
A.k.a. Zig :-)
 
Join Date: Sep 2009
Location: The Netherlands
Age: 22
Gender: Male
Quote:
Originally Posted by Pokepal17 View Post
Person ID must be the flag you set.

Flags are between 0x1 and 0x3FFF. Anything after is variables. So make the person, use hidesprite and the person event number and set a flag which is the person ID. 0x1000 and after are flags that you should use.
Thanks alot! So it is normal that my person only disappears once the player begins to move (after I've run the setflag [peopleid] script), and therefore I have to use hidesprite. Right? Anyway, I think I understand! :p
  #2490    
Old November 19th, 2009 (03:55 PM).
NarutoActor's Avatar
NarutoActor
The rocks cry out to me
Community Supporter
 
Join Date: Jan 2009
Location: Brooklyn/Marlboro
Age: 21
Gender: Female
Nature: Bashful
Send a message via AIM to NarutoActor Send a message via Windows Live Messenger to NarutoActor
Okay, I tryed everything, but I can't get this level script to work it's a level script in players room, and when I try it in the game the screen just gose black.

here is the script
Spoiler:

'---------------
#org 0x71A5BC
movesprite 0xFF 0x2 0x6
movesprite 0x1 0x3 0x6
lock
msgbox 0x871D3FC MSG_NORMAL '"Good Morning, Sleepy hed.\pIts 12:..."
applymovement 0x1 0x871D4A6
waitmovement 0x0
setflag 0x710
setvar 0x4056 0x1
release
end

'---------
' Strings
'---------
#org 0x71D3FC
= Good Morning, Sleepy hed.\pIts 12:30 just because your on\nsummer vacation, dosen't mean you\lhave to act like a bum.\pNow go fetch me some grocyes, from\nthe local market.

'-----------
' Movements
'-----------
#org 0x71D4A6
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x60 'Hide
#raw 0xFE 'End of Movements


here is the maps script
Spoiler:

'---------------
#org 0x168CA3
#raw 0x3
#raw pointer 0x871A5BC
#raw 0x4
#raw pointer 0x8168CBE
#raw 0x0
'---------------
#org 0x168CBE
#raw word 0x4056
#raw word 0x0
#raw pointer 0x871A5BC
#raw word 0x0
'---------------
#org 0x71A5BC
movesprite 0xFF 0x2 0x6
movesprite 0x1 0x3 0x6
lock
msgbox 0x871D3FC MSG_NORMAL '"Good Morning, Sleepy hed.\pIts 12:..."
applymovement 0x1 0x871D4A6
waitmovement 0x0
setflag 0x710
setvar 0x4056 0x1
release
end

'---------
' Strings
'---------
#org 0x71D3FC
= Good Morning, Sleepy hed.\pIts 12:30 just because your on\nsummer vacation, dosen't mean you\lhave to act like a bum.\pNow go fetch me some grocyes, from\nthe local market.

'-----------
' Movements
'-----------
#org 0x71D4A6
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x60 'Hide
#raw 0xFE 'End of Movements
__________________
~There are those people who understand hex, F the rest
  #2491    
Old November 19th, 2009 (05:55 PM).
Pokepal17's Avatar
Pokepal17
More cowbell~
 
Join Date: Oct 2008
Location: Steeltown
Age: 20
Gender: Male
Nature: Modest
Quote:
Originally Posted by NarutoActor View Post
Okay, I tryed everything, but I can't get this level script to work it's a level script in players room, and when I try it in the game the screen just gose black.

here is the script
Spoiler:

'---------------
#org 0x71A5BC
movesprite 0xFF 0x2 0x6
movesprite 0x1 0x3 0x6
lock
msgbox 0x871D3FC MSG_NORMAL '"Good Morning, Sleepy hed.\pIts 12:..."
applymovement 0x1 0x871D4A6
waitmovement 0x0
setflag 0x710
setvar 0x4056 0x1
release
end

'---------
' Strings
'---------
#org 0x71D3FC
= Good Morning, Sleepy hed.\pIts 12:30 just because your on\nsummer vacation, dosen't mean you\lhave to act like a bum.\pNow go fetch me some grocyes, from\nthe local market.

'-----------
' Movements
'-----------
#org 0x71D4A6
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x60 'Hide
#raw 0xFE 'End of Movements


here is the maps script
Spoiler:

'---------------
#org 0x168CA3
#raw 0x2
#raw pointer 0x871A5BC
#raw 0x4
#raw pointer 0x8168CBE
#raw 0x0
'---------------
#org 0x168CBE
#raw word 0x4056
#raw word 0x0
#raw pointer 0x871A5BC
#raw word 0x0
'---------------
#org 0x71A5BC
movesprite 0xFF 0x2 0x6
movesprite 0x1 0x3 0x6
lock
msgbox 0x871D3FC MSG_NORMAL '"Good Morning, Sleepy hed.\pIts 12:..."
applymovement 0x1 0x871D4A6
waitmovement 0x0
setflag 0x710
setvar 0x4056 0x1
release
end

'---------
' Strings
'---------
#org 0x71D3FC
= Good Morning, Sleepy hed.\pIts 12:30 just because your on\nsummer vacation, dosen't mean you\lhave to act like a bum.\pNow go fetch me some grocyes, from\nthe local market.

'-----------
' Movements
'-----------
#org 0x71D4A6
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x60 'Hide
#raw 0xFE 'End of Movements
Use a type 2 level script instead of a type 3 level script. Changes in script.
__________________
Pokémon Stardrop
  #2492    
Old November 19th, 2009 (06:03 PM).
NarutoActor's Avatar
NarutoActor
The rocks cry out to me
Community Supporter
 
Join Date: Jan 2009
Location: Brooklyn/Marlboro
Age: 21
Gender: Female
Nature: Bashful
Send a message via AIM to NarutoActor Send a message via Windows Live Messenger to NarutoActor
Quote:
Originally Posted by Pokepal17 View Post
Use a type 2 level script instead of a type 3 level script. Changes in script.
I just did what you said, and it still dosen't work. I get the same problem as before a black screen, after the intro.
__________________
~There are those people who understand hex, F the rest
  #2493    
Old November 19th, 2009 (06:05 PM).
Pokepal17's Avatar
Pokepal17
More cowbell~
 
Join Date: Oct 2008
Location: Steeltown
Age: 20
Gender: Male
Nature: Modest
Quote:
Originally Posted by NarutoActor View Post
I just did what you said, and it still dosen't work. I get the same problem as before a black screen, after the intro.
I see what you've done. Here's the fix.

---------------
#org 0x168CA3
#raw 0x2
#raw pointer 0x8168CBE
#raw 0x0
'---------------
#org 0x168CBE
#raw word 0x4056
#raw word 0x0
#raw pointer 0x871A5BC
#raw word 0x0
'---------------
#org 0x71A5BC
movesprite 0xFF 0x2 0x6
movesprite 0x1 0x3 0x6
lock
msgbox 0x871D3FC MSG_NORMAL '"Good Morning, Sleepy hed.\pIts 12:..."
applymovement 0x1 0x871D4A6
waitmovement 0x0
setflag 0x710
setvar 0x4056 0x1
release
end

'---------
' Strings
'---------
#org 0x71D3FC
= Good Morning, Sleepy hed.\pIts 12:30 just because your on\nsummer vacation, dosen't mean you\lhave to act like a bum.\pNow go fetch me some grocyes, from\nthe local market.

'-----------
' Movements
'-----------
#org 0x71D4A6
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x60 'Hide
#raw 0xFE 'End of Movements

And BTW, use your own offsets for the beginning of the level script, you can overwrite important data if you don't.
__________________
Pokémon Stardrop
  #2494    
Old November 21st, 2009 (08:35 PM).
Larvitar170's Avatar
Larvitar170
Noobie hacker
 
Join Date: Jul 2009
Location: Kentucky.
Gender: Male
Nature: Modest
Game: Fire Red
Type: Movement/Script
Editor: XSE
Script:
Spoiler:
#dynamic 0x800000



#org @start

applymovement 0xFF @move

release

end



#org @move

#raw 0x10

#raw 0xFE


In the Advance Map, I entered 0003 in the unknown, and 4050 in the Var Number.
All this does is freeze the character.
__________________
Current project: Pokemon Mud Brown (Working Title, will be changed.)
No link because I haven't made a page for it yet.
Team: Myself as mapper, scripter, and spriter.Brandinokthx as spriter.

  #2495    
Old November 21st, 2009 (08:43 PM).
NarutoActor's Avatar
NarutoActor
The rocks cry out to me
Community Supporter
 
Join Date: Jan 2009
Location: Brooklyn/Marlboro
Age: 21
Gender: Female
Nature: Bashful
Send a message via AIM to NarutoActor Send a message via Windows Live Messenger to NarutoActor
you need to add a waitmovement 0x0
__________________
~There are those people who understand hex, F the rest
  #2496    
Old November 21st, 2009 (08:49 PM).
NatureKeeper
No longer active here.
 
Join Date: Jun 2008
Location: Somewhere.
Age: 17
Gender: Male
Nature: Hasty
Send a message via Windows Live Messenger to NatureKeeper Send a message via Skype™ to NatureKeeper
Quote:
Originally Posted by Larvitar170 View Post
Game: Fire Red
Type: Movement/Script
Editor: XSE
Script:
Spoiler:
#dynamic 0x800000

#org @start
applymovement 0xFF @move
waitmovement 0x0
release
end

#org @move
#raw 0x10
#raw 0xFE


In the Advance Map, I entered 0003 in the unknown, and 4050 in the Var Number.
All this does is freeze the character.
I Fixed it. Try it now. :D I am positive it will work.
  #2497    
Old November 21st, 2009 (09:00 PM). Edited November 21st, 2009 by Larvitar170.
Larvitar170's Avatar
Larvitar170
Noobie hacker
 
Join Date: Jul 2009
Location: Kentucky.
Gender: Male
Nature: Modest
Quote:
Originally Posted by NatureKeeper View Post
I Fixed it. Try it now. :D I am positive it will work.
I tried it, and it still didn't work. I made sure it was entered exactly as you had, then copied and pasted after that didn't work. Could it be that I'm not giving it enough space?

EDIT: It is my Rom. I tried it in another ROM, and it worked fine.
__________________
Current project: Pokemon Mud Brown (Working Title, will be changed.)
No link because I haven't made a page for it yet.
Team: Myself as mapper, scripter, and spriter.Brandinokthx as spriter.

  #2498    
Old November 22nd, 2009 (01:17 AM). Edited November 22nd, 2009 by sky_queen3.
sky_queen3's Avatar
sky_queen3
Minusle Fangirl. ;)
 
Join Date: Feb 2009
Location: Australia
Age: 24
Gender: Female
Nature: Naive
I want a bit of help please.

See this youtube clip
http://www.youtube.com/watch?v=RWg1MVCcAMg

The Eevee has a box appear above it's head, how do they do that? (Or the closest thing in Fire Red.)
__________________
  #2499    
Old November 22nd, 2009 (02:05 AM).
Satoshi Ookami's Avatar
Satoshi Ookami
Memento Mori
Community Supporter
 
Join Date: Jul 2008
Location: Abyss of Time, Great Seal
Age: 22
Gender: Male
Nature: Calm
Quote:
Originally Posted by sky_queen3 View Post
The Eevee has a box appear above it's head, how do they do that? (Or the closest thing in Fire Red.)
applymovement and one of movements needs to be #raw 0x66
__________________
ROM hacking FAQ - Read before asking how to play a hack. | Previous Sign 2 | Previous Sign

Anime List | PSN Trophy List
  #2500    
Old November 22nd, 2009 (02:31 AM).
Verloren
Beginning Trainer
 
Join Date: Nov 2009
Gender: Female
I want to edit the death script so when you get a game over it sends you back to the nearest place you healed at but only restores 1HP and 1PP to all your pokemon.

How would I go about doing this?
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:44 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.