• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

[Script] AAAAAWWRGWHBLBLBL I'm getting tired of scripting

McPaul

On my way to become a controversial and hated memb
  • 289
    Posts
    7
    Years
    Yo people!

    I'm currently trying to change Prof. Oak's script for him to give the player the National Dex and the Rainbow Pass just after delivering Oak's Parcel.

    Unfortunately I'm encountering misfortune after misfortune and mistakes after mistake. I'm starting to get lost honestly, when I think everything is finally fine I find a new part not going as planned...

    Currently I saw two things: The Oak's Parcel script can be started just by talking to Oak after recieving your starter, without even having the Parcel in the bag.
    I thought I changed bytes to delete colored text as explained here: https://www.pokecommunity.com/posts/8314458 but when I first talk to Oak before recieving my starter the text is stil blue...

    Could maybe someone help me with my script and tell my where and why I did wrong?

    Here is my script:
    Spoiler:


    And an IPS file for those who want: https://www.mediafire.com/file/181bd6e28ujfq32/22_OAK_script.ips/file The patch is for Fire Red US 1.0

    Thank you SO DAMN much if you can help me!
     
    Here's a version of the script that should work with changes in red:

    Spoiler:


    As for the text colours, it is actually working as anytime you speak directly with an NPC you get black text regardless as to whether its male or female. The issue is the continued use of the 'textcolor' command as well as instances of text derived from ASM (such as in Oak's Pokedex ratings). If you truly want to eliminate all text colours, open your ROM in a hex editor and use the replace function to change all instances of '3C 04 FF 3A 64 06 D2 4B 46 65 14 7B' with '8C 31 5A 67 8C 31 5A 67 8C 31 5A 67'. This will change the red/ blue/ green in the text pallets to the black/ grey colours. The side effect of doing this is that the red arrow at the end of each line break will also turn black as it uses the same pallet.

    If you don't want that to happen, you'll have to null out every instance the textcolor command you can find. Just replace the every textcolor command with two 'nop' commands (to keep the byte length the same) so you don't have to make the scripts dynamic.
     
    Back
    Top