![]() |
Pokemon Fire Red - Scripting Help Needed
2 Attachment(s)
Hello,
I am currently hacking Fire Red for the first time in a very long time and have encountered an issue while interacting with new person event's and sign posts that I have added. I have marked this as a script issue but I think it is possible that I am messing something up on the AdvanceMap end as I had another member confirm that my script is indeed correct. When I interact with the person event or signpost that I have assigned the new script to I can hear that interaction sound play, but nothing else happens. The screen does not lock, the sprite does not face my player, and no dialogue box appears. I distinctly remembering encountering this exact same issue years and years ago when I first discovered this hobby, and remember the fix being relatively simple, but am at a loss this time. Any input would be greatly appreciated as I would like to get past this little issue and get the show on the road. I have provided attachments of both the script as well as the compiled script that shows when opened via AdvanceMap. Also, I have double checked to ensure that I am indeed using AdvanceMap 1.92 and FireRed v1.0. Thank you! |
Try checking if the script offset is correct (if the script compiled well - chose the right rom in XSE to compile to), check if there are NPC's (person events) that have overlapping person event numbers and if there are change the numbers, try assigning this script to a NPC on a different map and see if that makes a difference.
Also, using save states on emulators can cause some issues if you saved on a map where you added/changed the script for the NPC, so use in game save and reset instead. |
Quote:
I have not used any save states with the ROM, so it looks like the last thing to do is test the event out on a different map like you suggested! I will post the results of that at some point today as I am currently at work, and I really appreciate the help so far! |
Quote:
I can hear the sound that plays during dialogue, but nothing else happens. |
I had (I think) similar issue, and it only happened once. All of a sudden, XSE stopped working and whenever a script was compiled, it would ignore the rom it was compiling to. I just deleted old XSE and redownloaded a new one, so if all else fails, maybe that wouldn't be a bad idea to try out and see if it makes a difference.
|
I tried a different XSE, sadly the issue was not fixed.
|
1 Attachment(s)
Quote:
|
Quote:
|
Quote:
This has become quite frustrating. I've had this issue since I redownloaded the tools last week and have made no progress with my hack. I really do appreciate the help so far Mcferaligatr. If anybody else has any suggestions or ideas I'm willing to try anything at this point. |
Quote:
I only know theory right now, but the only thing I can come up with is a flag isn't being set or cleared which causes the npc to be hidden. Or the wrong flag is referenced in your script causing the sound command to play but the rest of the script fails? here, this is what I use to learn scripting. https://www.youtube.com/watch?v=wJw4tz0kcAI&list=PLfI5DBI4tNyLBYGNhf1Ee8cgdmMtiilps&index=8 Good luck. |
Instead of creating a new NPC, could you try assigning this script offset to an NPC that already works (eg: the technology is great guy). That would help narrow down the issue.
|
Quote:
|
Quote:
My script is attached above, in theory everything should be working unless I'm messing something up on the Advance Map end |
The compiled script does indeed show when opened via AdvanceMap (view attachment 2 above) which is another reason why I am confused as to why this isn't working
|
Could you maybe post a patch of your rom?
|
Quote:
I'm at work right now but will give this a go when I get out. Thank's for the suggestion, is this so that you, and anybody else who cares to, can troubleshoot it on your end I'm assuming? |
| All times are GMT -8. The time now is 9:19 AM. |
![]()
© 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.