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)
-   -   Other Need help in scripting (https://www.pokecommunity.com/showthread.php?t=352357)

DarkGlobus1OO July 17th, 2015 7:42 AM

Need help in scripting
 
so i just found out a bug in pokemon light platinum:
u never actually get the national pokedex, but the original one
but i have 2 problems for changing the script
1:i have no idea what to write instead of RS_POKEDEX to get the National one
2:i cant save any changes in the software im using (advance map 1.92)


pauseevent 0x0
writebytetooffset 0x2 0x2026B00
writebytetooffset 0x3 0x2026B01
writebytetooffset 0xDA 0x2024EBE
writebytetooffset 0x67 0x2026A5A
setflag RS_POKEDEX
fanfare 0x172
waitfanfare
msgbox 0x881E4EF ' \v\h01 received a NATIONAL POKEDEX...

what do i write instead of RS_POKEDEX?
and what program should i use to change the script?

PurpleOrange July 17th, 2015 8:50 AM

Quote:

Originally Posted by DarkGlobus1OO (Post 8850135)
so i just found out a bug in pokemon light platinum:
u never actually get the national pokedex, but the original one
but i have 2 problems for changing the script
1:i have no idea what to write instead of RS_POKEDEX to get the National one
2:i cant save any changes in the software im using (advance map 1.92)


pauseevent 0x0
writebytetooffset 0x2 0x2026B00
writebytetooffset 0x3 0x2026B01
writebytetooffset 0xDA 0x2024EBE
writebytetooffset 0x67 0x2026A5A
setflag RS_POKEDEX
fanfare 0x172
waitfanfare
msgbox 0x881E4EF ' \v\h01 received a NATIONAL POKEDEX...

what do i write instead of RS_POKEDEX?
and what program should i use to change the script?

instead of RS_POKEDEX, i think it's 0x801
and use xse :)

DarkGlobus1OO July 17th, 2015 9:23 AM

it is 0x801 atm... it just shows up as RS_POKEDEX

Chicken Fingers July 17th, 2015 10:57 AM

You shouldn't edit it through "open script" in Advance Map or however else you are seeing it. You should completely rewrite it and re-insert it. It's a much safer process and more likely to work. I've heard that editing it through there can completely mess it up if you don't know exactly what you are editing. I believe it's because you are looking at the compiled version and not the same as normal scripting.


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