The PokéCommunity Forums [ARCHIVE] Simple Questions (SEARCH BEFORE ASKING A QUESTION)

 Beginner’s Lounge Where all good (and bad) ideas start. This is the Beginner’s Lounge, where if you need a helping hand or want to develop your small ideas, you bring it here. We won't bite.

August 21st, 2013 (7:17 PM).
 destinedjagold Oh Hai Thar~ Silver Tier Join Date: May 2007 Location: Philippines Age: 25 Gender: Male Nature: Careful Posts: 8,368
Question time~

I am currently following a tutorial on adding new attacks into a Ruby ROM.
I am following Jambo's tutorial.
Things are going smoothly but, a question suddenly popped in my head.

Quote:
 Originally Posted by Jambo51 Now, navigate back to 0x250C04 and copy (12 * number of new attacks) worth of data. This should ensure that the new attacks you add inherit some sensible data which PGE can work with.
Since I am adding 157 new attacks, this step asks me to copy 1884 bytes of data (12 * 157).

And now my question: how can one actually know they copied 1884 bytes of data?

Do I need to...
(1)navigate to the address (e.g. 0x250C04) and just simply add 1884 to it (result would be 0x252488), and then copy the data from the address (e.g. 0x250C04) to the result (0x252488) or...

(2)do I first have to convert the address (e.g. 0x250C04) into decimal (result would be 2427908) and then add 1884 to it (result would be 2429792), and then convert back to hex (result would be 0x251360), and then copy the data from the address (e.g. 0x250C04) to the result (0x251360)?

Thankies~
__________________

FC: 0061-1111-6462
TSV: 1364(X), 0790(OR)

August 21st, 2013 (8:09 PM).
 DoesntKnowHowToPlay Tiny Umbrella with Lots and Lots of Good Join Date: Jan 2012 Posts: 241
The latter. Another way would be to convert 1884 into hex (you'd get 0x75C) and add that to x250C04. Never add decimal and hexadecimal values together without converting one of them if you want results that make any sense.
__________________
August 21st, 2013 (9:39 PM).
 SpadeEdge16 Join Date: May 2012 Gender: Male Posts: 154
Quote:
 Originally Posted by karatekid552 What version exactly? I have an issue with a custom version of 1.7.2.2 where this happens. On 1.7.5.X, this is not an issue.
Where can I get 175X? I haven't been able to find it...
August 22nd, 2013 (5:06 AM).
 karatekid552 What happens if I push it?.... Join Date: Nov 2012 Location: Do you really want to know? Really? Gender: Male Nature: Bold Posts: 1,766
Quote:
 Originally Posted by SpadeEdge16 Where can I get 175X? I haven't been able to find it...
http://www.pokecommunity.com/attachment.php?attachmentid=58090&d=1292194929

__________________

Paired with Simba
August 22nd, 2013 (12:48 PM).
 zacharianinja Join Date: Oct 2008 Posts: 11
ok quick question. anyone know what this means?
"invalid pointer to map footer"
it appears when i try to load a map i have edited in advmap.
August 22nd, 2013 (12:54 PM).
 TheTorraRegion Join Date: Aug 2013 Gender: Posts: 53
Is it possible to make pokemon follow you like in HG/SS in FireRed? Also, is it possible to put something similar to poke amie from X/Y in FireRed? (I'm thinking no, but one of us really wants to know)
__________________
Igloo's Shtuffs
[/URL
[URL=http://www.nodiatis.com/personality.htm]
August 22nd, 2013 (1:37 PM).
 GoGoJJTech http://GoGoJJTech.com (WIP!) Gold Tier Join Date: Nov 2012 Location: Earth Age: 17 Gender: Female Nature: Jolly Posts: 2,468
Quote:
 Originally Posted by zacharianinja ok quick question. anyone know what this means? "invalid pointer to map footer" it appears when i try to load a map i have edited in advmap.
This means that you have corrupted data. Do not use Advance map 1.95 since it's an unfinished beta and is extremely buggy. Use 1.92
__________________
August 22nd, 2013 (2:30 PM).
 Teh Blazer Divider of Zero Join Date: Feb 2009 Location: 'MERICA Age: 21 Gender: Male Nature: Relaxed Posts: 757
Kind of a quick question for Fire Red here:

Is there a trainer battle number where even if you lose the script continues like normal? The closest I have found was the one below, but that has that whole little bit with Prof. Oak teaching you how to fight even though you've been playing the series for years now and I don't really want that.

Code:
` trainerbattle 0x9 0x(trainer number) 0x3 0x(pointers) 0x(more pointers)`
__________________
Being a hero is overrated anyways
August 22nd, 2013 (2:42 PM).
 Le pug Creator of Pokémon: Discovery / Fat Kid Crystal Tier Join Date: Aug 2013 Location: Le bed Age: 23 Gender: Male Nature: Bold Posts: 770
Quote:
 Originally Posted by TheTorraRegion Is it possible to make pokemon follow you like in HG/SS in FireRed? Also, is it possible to put something similar to poke amie from X/Y in FireRed? (I'm thinking no, but one of us really wants to know)

Mmmm.

sssshhhh.....
Le pug is talking.

I'm thinking no unless Copy Player [35] or something of the Movement Type in AdvanceMap can be implemented and even then it would look bad.

...okay le pug is done.
still sssshhhh.....
August 22nd, 2013 (3:03 PM). Edited August 22nd, 2013 by GoGoJJTech.
 GoGoJJTech http://GoGoJJTech.com (WIP!) Gold Tier Join Date: Nov 2012 Location: Earth Age: 17 Gender: Female Nature: Jolly Posts: 2,468
Quote:
 Originally Posted by TheTorraRegion Is it possible to make pokemon follow you like in HG/SS in FireRed? Also, is it possible to put something similar to poke amie from X/Y in FireRed? (I'm thinking no, but one of us really wants to know)
Use ASM, and you get a good result like Jambo51.

Quote:
 Originally Posted by Teh Blazer Kind of a quick question for Fire Red here: Is there a trainer battle number where even if you lose the script continues like normal? The closest I have found was the one below, but that has that whole little bit with Prof. Oak teaching you how to fight even though you've been playing the series for years now and I don't really want that. Code: ` trainerbattle 0x9 0x(trainer number) 0x3 0x(pointers) 0x(more pointers)`
__________________
August 22nd, 2013 (5:53 PM).
 karatekid552 What happens if I push it?.... Join Date: Nov 2012 Location: Do you really want to know? Really? Gender: Male Nature: Bold Posts: 1,766
Quote:
 Originally Posted by TheTorraRegion Is it possible to make pokemon follow you like in HG/SS in FireRed? Also, is it possible to put something similar to poke amie from X/Y in FireRed? (I'm thinking no, but one of us really wants to know)
I can tell you that it involves writing directly to the OAMT states. That is all Jambo51 told me.
__________________

Paired with Simba
August 22nd, 2013 (6:28 PM).
 Jamlpr Join Date: Aug 2013 Posts: 2
I was wondering how I would insert a new font in to a game? Fire Red in specific. I would like to do a translation for Pashto speakers (native to Afghanistan). It's an Arabic script language with 8 more letters to the alphabet. Any idea how this would be done? Any attempt in the Advance Text Editor just gives me question marks instead of letters.

Thank you very much!
August 22nd, 2013 (6:33 PM).
 TheTorraRegion Join Date: Aug 2013 Gender: Posts: 53
One more quick question: what is ASM (sorry. New. Ugh....)
__________________
Igloo's Shtuffs
[/URL
[URL=http://www.nodiatis.com/personality.htm]
August 22nd, 2013 (7:08 PM). Edited August 22nd, 2013 by awipe1.
 awipe1 Join Date: Aug 2012 Gender: Male Posts: 215
Quote:
 Originally Posted by TheTorraRegion One more quick question: what is ASM (sorry. New. Ugh....)
__________________
Check out my Pokemon Rom! Click the Image Below!
August 22nd, 2013 (7:28 PM).
 Le pug Creator of Pokémon: Discovery / Fat Kid Crystal Tier Join Date: Aug 2013 Location: Le bed Age: 23 Gender: Male Nature: Bold Posts: 770
I searched for this and could not find the answer.

I'm using the Pokemon Ruby rom.
I am not looking to a Safari-styled zone but merely a ONE TIME safari-styled battle

i.e. you click on a rock that is in front of an eevee and it asks if you want to use it, then you proceed to a safari-styled battle with the Throw Rock, Bait, Throw Ball options.

Anyone have any idea on if this is possible or?
August 22nd, 2013 (7:50 PM).
 destinedjagold Oh Hai Thar~ Silver Tier Join Date: May 2007 Location: Philippines Age: 25 Gender: Male Nature: Careful Posts: 8,368
Quote:
 Originally Posted by TheTorraRegion One more quick question: what is ASM (sorry. New. Ugh....)
__________________

FC: 0061-1111-6462
TSV: 1364(X), 0790(OR)

August 23rd, 2013 (5:07 AM).
 TheTorraRegion Join Date: Aug 2013 Gender: Posts: 53
Thank you! I'll be reading those right away!
__________________
Igloo's Shtuffs
[/URL
[URL=http://www.nodiatis.com/personality.htm]
August 23rd, 2013 (6:52 AM).
 SpadeEdge16 Join Date: May 2012 Gender: Male Posts: 154
Quote:
So, I downloaded this version and I used it to try and expand the hero sprite, but for some reason the option to uncheck the box under the secondary tab is not available, so I skipped that step and moved on to expanding the canvas and changing every offset of each frame, but when I made my sprite, it still ended up bleeding into the next frame. After I tried editing a normal trainer sprite and followed the tut exactly, even unchecking the box, and the same thing still happened. Is there possibly a different process I could use to do this?
Also, KarateKid, I saw your tut about this, and looked at the part for extending, but other than editing the size in the hex editor, the process seems to be the same. Although I haven't tried it yet, ill still give it a shot.
August 23rd, 2013 (7:10 AM).
 karatekid552 What happens if I push it?.... Join Date: Nov 2012 Location: Do you really want to know? Really? Gender: Male Nature: Bold Posts: 1,766
Quote:
 Originally Posted by SpadeEdge16 So, I downloaded this version and I used it to try and expand the hero sprite, but for some reason the option to uncheck the box under the secondary tab is not available, so I skipped that step and moved on to expanding the canvas and changing every offset of each frame, but when I made my sprite, it still ended up bleeding into the next frame. After I tried editing a normal trainer sprite and followed the tut exactly, even unchecking the box, and the same thing still happened. Is there possibly a different process I could use to do this? Heres the tut. http://www.pokecommunity.com/showthread.php?t=302814 Also, KarateKid, I saw your tut about this, and looked at the part for extending, but other than editing the size in the hex editor, the process seems to be the same. Although I haven't tried it yet, ill still give it a shot.
The process in darth's tut is the same, only it deals with the raw hex instead. Now, if you don't repoint frames, it will bleed. That is because these are uncompressed frames. Just force the program to repoint all frames to free space so that they are all black (or transparent color) when the program loads them next time.
__________________

Paired with Simba
August 23rd, 2013 (7:28 AM).
 SpadeEdge16 Join Date: May 2012 Gender: Male Posts: 154
Quote:
 Originally Posted by karatekid552 The process in darth's tut is the same, only it deals with the raw hex instead. Now, if you don't repoint frames, it will bleed. That is because these are uncompressed frames. Just force the program to repoint all frames to free space so that they are all black (or transparent color) when the program loads them next time.
For me, when I edit the frames, I use the "FSF" on NSE to get my offset, but then when it changes, the canvas is black (not my transparent color). So does that mean its not using free space?
August 23rd, 2013 (8:21 AM).
 GoGoJJTech http://GoGoJJTech.com (WIP!) Gold Tier Join Date: Nov 2012 Location: Earth Age: 17 Gender: Female Nature: Jolly Posts: 2,468
It's black since you repointed. So now it's loading a bunch of FFs, and now you are free to either draw or import.
__________________
August 23rd, 2013 (8:33 AM).
 SpadeEdge16 Join Date: May 2012 Gender: Male Posts: 154
Quote:
 Originally Posted by gogojjtech It's black since you repointed. So now it's loading a bunch of FFs, and now you are free to either draw or import.
Yeah, I understand that and I know it should be working. its a very simple process, yet its not working for me and im not sure if im overlooking something or not. I have noticed that when I click the magnifying glass to find a new offset for me, it finds one that's currently being used by another sprite, so I thought maybe I would have to get rid of the offset in both places, but then realized it overwrites it, so it shouldn't matter. I cant think of what the problem might be.
__________________
August 23rd, 2013 (8:34 AM).
 GoGoJJTech http://GoGoJJTech.com (WIP!) Gold Tier Join Date: Nov 2012 Location: Earth Age: 17 Gender: Female Nature: Jolly Posts: 2,468
Well you could use a hex editor and search for free space yourself, that way you're never wrong. I do that.
__________________
August 23rd, 2013 (8:39 AM).
 SpadeEdge16 Join Date: May 2012 Gender: Male Posts: 154
Quote:
 Originally Posted by gogojjtech Well you could use a hex editor and search for free space yourself, that way you're never wrong. I do that.
Could I also use a FSF? instead of the one in NSE? and search for the bytes? Im not too skilled with using my hex editor yet. How many bytes would I search for if im doing that? is it 8 ofr each frame?
__________________
August 23rd, 2013 (8:40 AM).
 GoGoJJTech http://GoGoJJTech.com (WIP!) Gold Tier Join Date: Nov 2012 Location: Earth Age: 17 Gender: Female Nature: Jolly Posts: 2,468
No, just look for a bunch of FFs. Like about 400 bytes worth, even though a frame is only like 200. Just be sure it's after 720000 in FR and Ruby, and F00000 in emerald.
__________________

 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 [icon] codes HTML code is Off Forum Rules
 Forum Jump Dashboard Private Messages Subscriptions Who's Online Search Forums Forums Home Community Square     Main Street: Meet & Greet!     Celebrations!     City Hall: Feedback & Support     PokéCommunity Daily         Published Piece Archive     The Bulletin Board Main Series Pokémon Gaming     Pokémon Sun & Pokémon Moon     Omega Ruby & Alpha Sapphire     Pokémon X & Pokémon Y     Fifth Generation     Fourth Generation     Third Generation     Second Generation     First Generation Pokémon Gaming     Pokémon Gaming Central     Pokémon GO         Pokémon Field Journals     Pokkén Tournament     Challenges     Trade Corner         Trade Shops         Quick Trades         Trader Reviews     Battling & Team Building         The PokéCommunity League         Events & Groups Approval The Wide World of Pokémon     Pokémon General     Pokémon World Championships     Pokémon Anime         Episode Discussion     Pokémon Trivia     Pokémon Trading Card Game         TCG Deck Reviewing         Custom Cards ROM Hacking     ROM Hacking Hub         Beginner’s Lounge     Hacks Studio         Progressing Hacks         Sideshow Showcase     Research & Development     Tools, Tutorials & Resources Create & Discover     Art & Design         A&D School of the Arts     Creative Media     Roleplay Theatre         Roleplay Casting         Roleplay Stage     Fan Fiction and Writing         Writer's Lounge         Fanfiction Archive     Game Development         Games Showcase         Progressing Games         Resources         Scripts & Tutorials         Pokémon Essentials Entertainment & Hobbies     General Entertainment     Anime & Manga     Video Games     Tabletop Gaming Off-Topic Discussions     The Mall     The Treehouse     The Lab     The Round Table     The Playground     The Underground

All times are GMT -8. The time now is 11:03 AM.