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)
-   -   Script Help - moving the fossil guy (https://www.pokecommunity.com/showthread.php?t=391237)

RousJuice April 12th, 2017 9:04 AM

Help - moving the fossil guy
 
For my hack, I wanted the scientist who restores fossils to where Birch's Lab is. Problem is, when he says "go take a stroll" he never lets you have the fossils unless you go to the Devon Corp's second floor and out again, which is how the game would check it if he was supposed to be there. Now, I know this is probably related to map scripts, so I tried giving Devon's map scripts to littleroot town and birch's lab, but nothing happened. Any clue on how to fix this?

Christos April 13th, 2017 12:11 AM

Quote:

Originally Posted by RousJuice (Post 9616556)
For my hack, I wanted the scientist who restores fossils to where Birch's Lab is. Problem is, when he says "go take a stroll" he never lets you have the fossils unless you go to the Devon Corp's second floor and out again, which is how the game would check it if he was supposed to be there. Now, I know this is probably related to map scripts, so I tried giving Devon's map scripts to littleroot town and birch's lab, but nothing happened. Any clue on how to fix this?

I had a look at Emerald's fossil person script, and it looks like if variable 40C4 is set to 1 then you have to wait, and when it's set to 2 your fossil is ready.

Devon Corp's second floor map script simply sets the variable to be 2 if it's 1, so what you did should work.

RousJuice April 13th, 2017 2:05 PM

Quote:

Originally Posted by Christos (Post 9617095)
I had a look at Emerald's fossil person script, and it looks like if variable 40C4 is set to 1 then you have to wait, and when it's set to 2 your fossil is ready.

Devon Corp's second floor map script simply sets the variable to be 2 if it's 1, so what you did should work.

Oop, my bad, should have specified this is a ruby hack. Sorry

Christos April 13th, 2017 2:38 PM

Quote:

Originally Posted by RousJuice (Post 9617702)
Oop, my bad, should have specified this is a ruby hack. Sorry

It's the same variable for Ruby, too.

RousJuice April 13th, 2017 4:15 PM

Ah, ok. Thanks.


All times are GMT -8. The time now is 9:14 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.