[ARCHIVE] Simple Questions (SEARCH BEFORE ASKING A QUESTION) Page 1099

Started by Prof. 9 January 31st, 2007 7:25 AM
  • 1958403 views
  • 27748 replies
Male
Seen December 16th, 2016
Posted June 12th, 2016
33 posts
11.3 Years
http://www.pokecommunity.com/archive/index.php/t-215644.html

This thread details the weather byte, along with many other useful ones.
Wow, that's a great resource! While I still have your attention, then, I have one more question. Say that I want to change the duration of some move like Taunt to X number of turns. BSP indicates that Taunt uses the settaunt command, which is just command D0. So I go to the command table at 0x25011C and look for the offset corresponding to command D0, which is 0x02BFC5.

At 0x02BFC5 I find:
B5 10 4C 10 4B 18 78 C1 00 09 1A 89 00 0A 19 D1 7C 08 07 00 28 1B D1 10 20 40 42 08 40 02 21 08 43 D0 74 19 78 C8 00 40 1A 80 00 00 19 C2 7C 0F 21 11 40 20 22 11 43 C1 74 04 49 08 68 05 30 08 60 12 E0 0C 3E 02 02 6C 3D 02 02 74 3D 02 02 07 4B 1A 68 51 78 90 78 00 02 01 43 D0 78 00 04 01 43 10 79 00 06 01 43 19 60 10 BC 01 BC 00 47 74 3D 02 02 10
Now, I can't make heads or tails of this. I expect to find something related to the disable structure at 0x02023E0C that contains the Taunt timer (and indeed I do see that offset), but I have no idea what it's doing.

Sorry for bugging you so much with these questions.
Male
Seen January 4th, 2015
Posted May 28th, 2014
124 posts
10.2 Years
Is there a way to create new map banks? I just want to be able to change the name of a bunch of the maps that already exist without affecting others that are linked to them.
Yes, you must open your map, which you want to insert on the new bank and
navigate: File -> Insert Map -> New Place -> Scroll down and press "New Bank"
Male
Seen July 30th, 2016
Posted February 24th, 2015
28 posts
9.5 Years
Hi Guys!

I want to try and make an own hack, with what I think a great story! Anyway I have never done all this stuff before so I am learning on the way.

My biggest problem is inserting new tilesets in the game. When I try it (especially with trees) the end result is a lot different that the original picture.

My Question is : are there any rom hacks or roms with the most used tilesets already in it?

Thanks in advance!

Aethestode

Hacker

Male
Seen October 5th, 2022
Posted October 25th, 2020
1,700 posts
15.4 Years
I want to extend the number of block in advanceMap (tiles). Do I just simply go into Advance Map in Block Editor, under the Block setting. There's an option called "Change Amount". I'm just curious is it safe to use it?

Also, In Jpan engine. How does the special 0x58 wild pokemon data switch works? And can anyone give me an example?

Name: Sinep
Adopt one yourself! @Pokémon Orphanage

Aethestode

Hacker

Male
Seen October 5th, 2022
Posted October 25th, 2020
1,700 posts
15.4 Years
I want to extend the number of block in advanceMap (tiles). Do I just simply go into Advance Map in Block Editor, under the Block setting. There's an option called "Change Amount". I'm just curious is it safe to use it?

Also, In Jpan engine. How does the special 0x58 wild pokemon data switch works? And can anyone give me an example?

Can some explain to me how "getplayerpos" works?
Just bumping my question.

Name: Sinep
Adopt one yourself! @Pokémon Orphanage

Superjub

Pokémon Aureolin

Age 28
Male
Hoenn
Seen August 23rd, 2022
Posted November 5th, 2014
2,288 posts
15.7 Years
Hey, it's me again! :D I have a few questions this time. :)
1) I've added a few new Pokemon, is there a simple way to add them to the National Dex?
2) Is there any good tutorials for adding new abilities? Also, how would I go about it? I'm considering it but it's not an essential at the moment (even for Pokemon like Electivire who have signature abilities could probably live without them but it would be a nice touch. :))
3) So, Eevee's evolutions. I know it's been asked a few times, but how would I start writing a routine to direct Eevee to evolve into its extra evolutions (Leafeon, Glaceon and Sylveon)? I really want to give it a go since it's a key part of my hack (Eevee's the starter, the Fairy type is in it making Sylveon a nice Pokemon for the player to have etc.) but I'm a bit overwhelmed and I don't know where to start. ^^' Thanks! :D
Seen February 23rd, 2014
Posted January 18th, 2014
14 posts
9.5 Years
Yes, you must open your map, which you want to insert on the new bank and
navigate: File -> Insert Map -> New Place -> Scroll down and press "New Bank"
Thanks for your reply! but this just makes a copy of the map into a new bank... can I just change a map's bank without duplicating it?

karatekid552

What happens if I push it?....

Male
Do you really want to know? Really?
Seen January 12th, 2015
Posted December 14th, 2014
1,771 posts
10.5 Years
Thanks for your reply! but this just makes a copy of the map into a new bank... can I just change a map's bank without duplicating it?
Copy, paste, delete. There is no cut option. However, deleting may have issues, so back-up your rom.

Hey, it's me again! :D I have a few questions this time. :)
1) I've added a few new Pokemon, is there a simple way to add them to the National Dex?
2) Is there any good tutorials for adding new abilities? Also, how would I go about it? I'm considering it but it's not an essential at the moment (even for Pokemon like Electivire who have signature abilities could probably live without them but it would be a nice touch. :))
3) So, Eevee's evolutions. I know it's been asked a few times, but how would I start writing a routine to direct Eevee to evolve into its extra evolutions (Leafeon, Glaceon and Sylveon)? I really want to give it a go since it's a key part of my hack (Eevee's the starter, the Fairy type is in it making Sylveon a nice Pokemon for the player to have etc.) but I'm a bit overwhelmed and I don't know where to start. ^^' Thanks! :D
All three of these questions require a knowledge of ASM. Hands down. If you haven't done so, read my "Concept of ASM" tutorial and work through the provided links at the bottom.

Paired with Simba

Superjub

Pokémon Aureolin

Age 28
Male
Hoenn
Seen August 23rd, 2022
Posted November 5th, 2014
2,288 posts
15.7 Years
Copy, paste, delete. There is no cut option. However, deleting may have issues, so back-up your rom.



All three of these questions require a knowledge of ASM. Hands down. If you haven't done so, read my "Concept of ASM" tutorial and work through the provided links at the bottom.
Ah, I didn't realise the ability question tied in heavily with ASM. :o I assumed it'd be somewhat similar to editing attacks, although thinking about it I guess they'd have to be 100% custom so it makes sense. Thanks for answering. :)

karatekid552

What happens if I push it?....

Male
Do you really want to know? Really?
Seen January 12th, 2015
Posted December 14th, 2014
1,771 posts
10.5 Years
Ah, I didn't realise the ability question tied in heavily with ASM. :o I assumed it'd be somewhat similar to editing attacks, although thinking about it I guess they'd have to be 100% custom so it makes sense. Thanks for answering. :)
If you look up the 649 patch by clicking the link in my sig, you can look at some of the asm used for creating abilities. It is on GitHub. mrdollsteak is also pretty good at using them.

Paired with Simba

karatekid552

What happens if I push it?....

Male
Do you really want to know? Really?
Seen January 12th, 2015
Posted December 14th, 2014
1,771 posts
10.5 Years
I read that adding map banks is bad, why is that? Should I avoid it? I really need more banks though... :(
I haven't had an issue yet with adding banks. It is adding extra maps to banks that already exist that causes corruption. So, to be safe, when you add a new bank, just set the number of blank maps to like 10 or something. If they don't get used, it is fine. If I remember correctly, a blank map is only a blank pointer, or 4 bytes. Nothing compared to 16 mb.

Does anyone know how Triple Kick's base power scales?

Normally it goes 10, 20, 30. But if I change its base power to 20 will it scale
a) 20, 30, 40
b) 20, 20, 30 or
c) 20, 40, 60?
Why don't you try it? That is the best way to find out. Run some tests. If you need to know the opponents HP, google "Generation iii Pokemon Data Structure" and click on the very first link to bulbapedia. In it, there will be a nice page detailing the structure of the RAM where pokemon are stored, and at the bottom, are the RAM offsets of the opponents pokemon.

Does anyone know how to edit the behaviour bytes that are already in the game? There are a lot of tutorials on how to make new ones, but I want to edit the old ones.
You already got an answer to this on ep!c's thread. I saw it this morning.

Paired with Simba

Aethestode

Hacker

Male
Seen October 5th, 2022
Posted October 25th, 2020
1,700 posts
15.4 Years
I want to extend the number of block in advanceMap (tiles). Do I just simply go into Advance Map in Block Editor, under the Block setting. There's an option called "Change Amount". I'm just curious is it safe to use it?

Also, In Jpan engine. How does the special 0x58 wild pokemon data switch works? And can anyone give me an example?

Can some explain to me how "getplayerpos" works?

Name: Sinep
Adopt one yourself! @Pokémon Orphanage
Seen December 18th, 2017
Posted May 17th, 2016
72 posts
9.5 Years
When I transition from one of my maps it randomly resets the game. What is going on to make that happen? I have plenty of backup roms, that don't do it so I'm confused as to why its doing it in the other rom.

Also, I keep hearing that FR has the most hacks/patches/support ect. Does that go for LG as well, because they are practically the same, but a little different.

DrFuji

Heiki Hecchara‌‌

Age 30
Male
Aussie
Seen 4 Days Ago
Posted February 12th, 2021
1,693 posts
13.7 Years
I want to extend the number of block in advanceMap (tiles). Do I just simply go into Advance Map in Block Editor, under the Block setting. There's an option called "Change Amount". I'm just curious is it safe to use it?

Also, In Jpan engine. How does the special 0x58 wild pokemon data switch works? And can anyone give me an example?

Can some explain to me how "getplayerpos" works?
Yep, its that simple. If you feel unsafe about using it then make a backup before touching it or mess about on an unneeded ROM.

I'd like to learn this as well ;_;

getplayerpos works by simply putting the player's X and Y co-ordinates into two variables of your choosing. You can then determine where the player is on the map by comparing those variables. For example, say I want to find out if the player was to the east of a certain location on a map for some particular reason, here's an example of a script to use:

...
getplayerpos 0x8004 0x8005 // The player's X co-ordinate is written to the 0x8004 variable while their Y co-ordinate is written to 0x8005
compare 0x8004 0x19 // Comparing the player's X co-ordinate to the value 0x19 (25)
if 0x3 goto @PlayerIsEast // If the player's X co-ordinate is greater (0x3) than a value of 0x19 the script will branch off to @PlayerIsEast 
...
You can find the particular co-ordinates of a map by hovering over it in Advance Map and looking at the bottom left of the program.

When I transition from one of my maps it randomly resets the game. What is going on to make that happen? I have plenty of backup roms, that don't do it so I'm confused as to why its doing it in the other rom.

Also, I keep hearing that FR has the most hacks/patches/support ect. Does that go for LG as well, because they are practically the same, but a little different.
You've probably corrupted that map, most likely by accidentally messing with its header or overwriting something somewhere. You have a pretty good chance at restoring it if you save a copy of it as a map file, then reinsert it over itself and then save it to the ROM.

Most tools that support FR will support LG since they are extremely similar, but I'm sure that there are a couple of tools out there that don't do that for whatever reason.

Aethestode

Hacker

Male
Seen October 5th, 2022
Posted October 25th, 2020
1,700 posts
15.4 Years
Yep, its that simple. If you feel unsafe about using it then make a backup before touching it or mess about on an unneeded ROM.

I'd like to learn this as well ;_;

getplayerpos works by simply putting the player's X and Y co-ordinates into two variables of your choosing. You can then determine where the player is on the map by comparing those variables. For example, say I want to find out if the player was to the east of a certain location on a map for some particular reason, here's an example of a script to use:

...
getplayerpos 0x8004 0x8005 // The player's X co-ordinate is written to the 0x8004 variable while their Y co-ordinate is written to 0x8005
compare 0x8004 0x19 // Comparing the player's X co-ordinate to the value 0x19 (25)
if 0x3 goto @PlayerIsEast // If the player's X co-ordinate is greater (0x3) than a value of 0x19 the script will branch off to @PlayerIsEast 
...
You can find the particular co-ordinates of a map by hovering over it in Advance Map and looking at the bottom left of the program.
Oh my god!
Thank you :)! You're the best!!

Name: Sinep
Adopt one yourself! @Pokémon Orphanage

Superjub

Pokémon Aureolin

Age 28
Male
Hoenn
Seen August 23rd, 2022
Posted November 5th, 2014
2,288 posts
15.7 Years
If you look up the 649 patch by clicking the link in my sig, you can look at some of the asm used for creating abilities. It is on GitHub. mrdollsteak is also pretty good at using them.
Oh, I have that downloaded so I'll give it a check now. :) If I'm correct the patch also used ASM for Leafeon and Glaceon? Thanks again!
Male
Seen July 30th, 2016
Posted February 24th, 2015
28 posts
9.5 Years
Hi again!

With the help of Ep!c and his quick reply to my previous question I found the rom resources topic! I went on searching for a rom base and found one I really like.

The only problem is the link is dead :(. So I went on searching for the user but he hasn't appeared online for more then a year.

But since this community is full with elder members I thought maybe someone still has it somewhere. I cant post full links since I haven't post 15 posts yet, but the page is also on poke community. Anyway here is a part of the link

http://www.pokecommunity.com/showpost.php?p=5242444&postcount=38

Thanks in advance!
Seen December 18th, 2017
Posted May 17th, 2016
72 posts
9.5 Years
When I open up Visual Boy Advance and click tools/record/start AVI recording, it starts recording perfectly fine. However when I open the video later the footage is fliped upside-down. Is there a way to fix this?

Sorry, for all these newb questions. I REALLY appreciate all the friendly help you guys give.

Le pug

Creator of Pokémon: Discovery / Fat Kid

Age 30
Male
Le bed
Seen December 28th, 2022
Posted February 18th, 2021
870 posts
9.7 Years
When I open up Visual Boy Advance and click tools/record/start AVI recording, it starts recording perfectly fine. However when I open the video later the footage is fliped upside-down. Is there a way to fix this?

Sorry, for all these newb questions. I REALLY appreciate all the friendly help you guys give.
Well you could always get a video editing program like Cyberlink PowerDirector and use the rotation tool lol. Besides that, I'm testing random stuff out and I don't get an upside down video at all. Always rightside up. You should list all your settings chosen in the Options tab.
Retired. Thank you guys for a wonderful five years.