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 FR Mt. Moon Fossil Battle Script -FireRed (https://www.pokecommunity.com/showthread.php?t=398669)

KrustyKong August 22nd, 2017 12:35 PM

FR Mt. Moon Fossil Battle Script -FireRed
 
so it seems like the battle with the Super Nerd in FireRed only triggers when the script is on a specific spot. Anyone know how to change this or why it happens? I don't really want to rearrange the whole map and this could be trouble later on if it happens with something else.

Teh Blazer August 23rd, 2017 11:16 AM

Whenever you step on a tile and the game activates a script, that's called a script tile. In Mt. Moon, when you step directly in front of the nerd, you're actually stepping on a script tile and not initiating a trainer battle with the exclamation point. So if you're planning on keeping the event the same but you're just moving the spot, just move the script tile in advance map to your new location and it should still function.

KrustyKong August 23rd, 2017 6:27 PM

Quote:

Originally Posted by Teh Blazer (Post 9737931)
Whenever you step on a tile and the game activates a script, that's called a script tile. In Mt. Moon, when you step directly in front of the nerd, you're actually stepping on a script tile and not initiating a trainer battle with the exclamation point. So if you're planning on keeping the event the same but you're just moving the spot, just move the script tile in advance map to your new location and it should still function.

Yes I know it is a script tile. Moving it from its original spot causes it not to activate.

Teh Blazer August 23rd, 2017 10:34 PM

That... Shouldn't be happening. Do you have any screenshots?

KrustyKong August 24th, 2017 10:58 AM

Quote:

Originally Posted by Teh Blazer (Post 9738247)
That... Shouldn't be happening. Do you have any screenshots?

ok so this is very strange but I figured it out. I noticed that when testing, the ladder back up also didnt work along w the nerd script. It seems that the problem was movement permissions. The area that the ladder was in used 10 blocks to stop the player from walking downward onto another area
http://i.imgur.com/R6eOpyf.pnghttp://i.imgur.com/6Mny8Hv.png
So I changed the behavior byte to 32 (person blocked upwards) and all the tiles to movement permission C which is how the vanilla game does it and it works.

Christos August 24th, 2017 10:24 PM

The script tile in Mt. Moon has an "Unknown" value set to 3, which is the height the script activates in. My guess is that height 3 only activates when the height level is 2 (the default) in AdvanceMap, which is the movement C block. So you could fix it by changing the 3 to a 4 so it works on movement 10 blocks, or to 0 so that it works on every height. I like the workaround found, though!


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.