The PokéCommunity Forums

The PokéCommunity Forums (https://www.pokecommunity.com/index.php)
-   Binary ROM Hacking (https://www.pokecommunity.com/forumdisplay.php?f=284)
-   -   Help Thread Quick Questions & Answers (https://www.pokecommunity.com/showthread.php?t=335486)

Hockeymikey December 1st, 2015 1:02 PM

Is there a tutorial for expanding the world map of Pokemon Emerald? There's this video where a guy did it but I can't find a tutorial anywhere. https://www.youtube.com/watch?v=WCkCCuowTDQ&feature=related

ThomasWinwood December 1st, 2015 2:08 PM

Quote:

Originally Posted by NewDenverCity (Post 9017442)
No, not that we have figured out yet. You'd need to allocate new sections of memory and whatnot for them.

That's not entirely true, assuming you're talking about FireRed. You do need to free up some memory, but that's not that difficult—just disable the previously-on stuff from whenever you load a saved game.

Avara December 1st, 2015 4:22 PM

Uhm, this might be a silly question, but when should you start worrying about running out of space in your ROM? When scripting my FSF is taking me well into the 92000s when finding free space for scripts. =/ I'm just worried because it seems like such a lot although I do have a lot of ASM in there. Have I got little to no space left? I just wish I had some idea, before I go working a lot more on my hack just to find that there can't be any more done to it =(

NewDenverCity December 1st, 2015 5:14 PM

Quote:

Originally Posted by ThomasWinwood (Post 9017636)
That's not entirely true, assuming you're talking about FireRed. You do need to free up some memory, but that's not that difficult—just disable the previously-on stuff from whenever you load a saved game.

Thanks, but that's not quite what I meant. I think the main problem would be actually finding how to change the flags that the various functions look at. I can see that there are quite a few places dedicated to trainers and their flags in IDA, but so far nobody has bothered to look through them and alter what flags they check as far as I know.

Quote:

Originally Posted by avaramoon (Post 9017793)
Uhm, this might be a silly question, but when should you start worrying about running out of space in your ROM? When scripting my FSF is taking me well into the 92000s when finding free space for scripts. =/ I'm just worried because it seems like such a lot although I do have a lot of ASM in there. Have I got little to no space left? I just wish I had some idea, before I go working a lot more on my hack just to find that there can't be any more done to it =(

You can expand your ROM, and it's both easy and safe. You'll just have to use 09 instead of 08 in your pointers.

chrunch December 2nd, 2015 2:37 AM

Quote:

Originally Posted by avaramoon (Post 9017793)
Uhm, this might be a silly question, but when should you start worrying about running out of space in your ROM? When scripting my FSF is taking me well into the 92000s when finding free space for scripts. =/ I'm just worried because it seems like such a lot although I do have a lot of ASM in there. Have I got little to no space left? I just wish I had some idea, before I go working a lot more on my hack just to find that there can't be any more done to it =(

Adding on to what NewDenverCity said, don't worry you'll still got tons of space left. Free space goes all the way up to FFFFFF so you shouldn't have to expand it or anything unless you're planning on adding an excessive amount of content.

Also, not sure what script editor you're using but there's no need to use FSF to locate space for your scripts. That's exactly what the #dynamic command in XSE is meant to be used for.

imnewhere December 2nd, 2015 9:11 AM

Quote:

Originally Posted by NewDenverCity (Post 9017442)
No, you'd have to translate it yourself.

Can you or someone else recommend me a tool to change Pokemon names and attacks? thats all i need.

Nakasu December 2nd, 2015 12:52 PM

Running into a little problem with giving out TM 02 Dragon Claw.

is this not the correct way to do it.

"Too less perimeters (on the giveitem line) correct number is 3"

Spoiler:
#dynamic 0x71F03A

#org @start
lock
fanfare 0x13E
msgbox @1 0x6
giveitem 0x122 0x1
waitfanfare
hidesprite 0x1602
setvar 0x25B9 0x1
release
end

#org @start
= You Got TM 02 DRAGON CLAW!

Vendily December 2nd, 2015 1:06 PM

Quote:

Originally Posted by Nakasu (Post 9018974)
Running into a little problem with giving out TM 02 Dragon Claw.

is this not the correct way to do it.

"Too less perimeters (on the giveitem line) correct number is 3"

Spoiler:
#dynamic 0x71F03A

#org @start
lock
fanfare 0x13E
msgbox @1 0x6
giveitem 0x122 0x1
waitfanfare
hidesprite 0x1602
setvar 0x25B9 0x1
release
end

#org @start
= You Got TM 02 DRAGON CLAW!

This is an easy fix. Your give item only has 2 of the three parts that it needs to work.
Either write giveitem 0x122 0x1 MSG_OBTAIN (If a person gives the item) or giveitem 0x122 0x1 MSG_FIND (Finding an item on the ground.)
They both make the Message appear so you don't need the msgbox.

Nakasu December 2nd, 2015 1:19 PM

Quote:

Originally Posted by Vendily (Post 9018989)
This is an easy fix. Your give item only has 2 of the three parts that it needs to work.
Either write giveitem 0x122 0x1 MSG_OBTAIN (If a person gives the item) or giveitem 0x122 0x1 MSG_FIND (Finding an item on the ground.)
They both make the Message appear so you don't need the msgbox.

Ahh I see, thank you :)

NewDenverCity December 2nd, 2015 2:53 PM

Quote:

Originally Posted by imnewhere (Post 9018814)
Can you or someone else recommend me a tool to change Pokemon names and attacks? thats all i need.

http://www.pokecommunity.com/showthread.php?t=311461

Red_Void December 2nd, 2015 3:24 PM

Are there any hacks around with an expanded number of pokemon?

Auros December 2nd, 2015 3:37 PM

How much safe would it be to resize almost all overworlds to 32x32? And should I just use Overworld Changer or would it be recommended to follow Darthatron's OW tutorial?

Desert Stream~ December 2nd, 2015 9:00 PM

I literally know nothing about this, will it damage my game?

Will this damage my game? I really know so little :(

destinedjagold December 2nd, 2015 9:27 PM

Quote:

Originally Posted by MUDKIP!!! (Post 9019481)
I literally know nothing about this, will it damage my game?

What are you even talking about?

Desert Stream~ December 3rd, 2015 1:22 PM

Say I deleted someone I need for the story line. could I get rid of the hack, oris my game ruined?

And where do I start, do I need some program, and are there tutorial videos?

Auros December 3rd, 2015 3:50 PM

I resized and inserted all frames of the main character's overworld following Darthatron's.
The overworld is shown correctly both in Overworld Editor and in Advance Map, but ingame there's just one part of the top of the overworld and it's split too. How could I solve it?

Solved it.
To those who might run into the same problem: "Unknown pointer 1" and "Unknown pointer 2" are different according just to the sprite dimension.
So if you want to use a 32x32 overworld, check the UP1 and UP2 of an already existing 32x32 overworld. Then with your hex editor replace the current UP1 and UP2 of your resized overworld with those of the one whose dimensions are 32x32 already.

Desert Stream~ December 3rd, 2015 8:31 PM

I got advancemap, VBA, and XSE but I don't have a rom... How do I get one?

Crizzle December 3rd, 2015 9:11 PM

Quote:

Originally Posted by MUDKIP!!! (Post 9020903)
I got advancemap, VBA, and XSE but I don't have a rom... How do I get one?

Google is your friend.

Desert Stream~ December 4th, 2015 1:10 PM

Ok, now I'm trying to make an old man speak, (80008F not sure if that matters) but when I talk to him I end up in the team rocket hideout?

azurile13 December 4th, 2015 1:28 PM

Quote:

Originally Posted by MUDKIP!!! (Post 9021660)
Ok, now I'm trying to make an old man speak, (80008F not sure if that matters) but when I talk to him I end up in the team rocket hideout?

Yes. This happens ALL. THE. TIME. to me. A script that I compile just randomly sends me to team rocket's hideout. But just to make sure it is precisely the same thing that happens to me, perhaps you should post the actual script in the script help thread? Or more likely, the actual issue is that you didn't compile it in free space and overwrote another script.

Desert Stream~ December 4th, 2015 1:37 PM

Code
 
#dynamic 0x800000

#org @start
msgbox @talk1 0x2
end

#org @talk1
= Zzz... What's That? Zzz...

Compiled:
-------------------------------------
Opening output: C:\Users\KIDS\Desktop\1636 - Pokemon - Fire Red Version (U).gba...
Processing input script...
1 - #DYNAMIC
> lDynamicStart = 0x800000
3 - #ORG
> lNewOffset = 0x80008F
4 - (0F) - MSGBOX (native) [+8]
> pText = 0x8800099
> bType = 0x2
5 - (02) - END [+1]
7 - #ORG
> lNewOffset = 0x800099
8 - RAW TEXT [+27]
> sText = "Zzz... What's That? Zzz..."
-------------------------------------
DYNAMIC_OFFSET 1
> sLabel = @start
> lOffset = 0x80008F
DYNAMIC_OFFSET 2
> sLabel = @talk1
> lOffset = 0x800099
-------------------------------------
Cleaning up...
Closing output...
Finished processing input in 0.013 seconds.

Desert Stream~ December 4th, 2015 2:56 PM

This is bad. really bad.
http://i.imgur.com/vYVSTsi.png

Auros December 4th, 2015 4:07 PM

Try to put #freespace 0xFF before #dynamic 0x800000, maybe your script is just overwriting some other data. Then take the first offset XSE gives you and put it on the overworld on Advance Map.

Aethestode December 7th, 2015 1:58 AM

Quote:

Originally Posted by ThomasWinwood (Post 9017636)
That's not entirely true, assuming you're talking about FireRed. You do need to free up some memory, but that's not that difficult—just disable the previously-on stuff from whenever you load a saved game.

Okay, so if I disable it. How can I use the free space to extend the trainer flags from 742 to 1342?

ThomasWinwood December 7th, 2015 2:03 AM

That I don't know—the reason I corrected NewDenverCity was I thought you were just talking about getting more flags. I have no idea how trainer flags are mapped into the available space.


All times are GMT -8. The time now is 2:33 AM.


Like our Facebook Page Follow us on Twitter © 2002 - 2018 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 - 2016 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.

Acknowledgements
Use of PokéCommunity Assets
vB Optimise by DragonByte Technologies Ltd © 2023.