• 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!
  • Which Pokémon Masters protagonist do you like most? Let us know by casting a vote in our Masters favorite protagonist poll here!
  • 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] Team Rocket Changes

  • 5
    Posts
    3
    Years
    • Seen Sep 7, 2024
    I want to make a very specific scenario change to the Silph Co. mission. You see this gentleman right here
    [PokeCommunity.com] Team Rocket Changes

    I want to move him to in front of an area I'm adding to Saffron city, and replace him with a "permanent" NPC. Essentially, I want to force the player to take a side route into Silph Co. This has presented me with two problems.
    1. His script forces him to stand in front of Silph Co until you beat Giovanni in the Rocket hideout.
    '---------------
    #org 0x1673B9
    lock
    checkflag 0x23C
    if 0x1 goto 0x81673D7
    applymovement 0x6 0x81A75E1
    waitmovement 0x0
    msgbox 0x81812CA MSG_KEEPOPEN '"I'm a security guard.\pSuspicious ..."
    release
    end

    '---------------
    #org 0x1673D7
    textcolor 0x3
    msgbox 0x8181302 MSG_KEEPOPEN '"[.]\nSnore[.]\pHah! He's taking a ..."
    release
    end


    '---------
    ' Strings
    '---------
    #org 0x1812CA
    = I'm a security guard.\pSuspicious kids I don't allow in!

    #org 0x181302
    = [.]\nSnore[.]\pHah! He's taking a snooze!


    '-----------
    ' Movements
    '-----------
    #org 0x1A75E1
    #raw 0x4A 'Face Player
    #raw 0xFE 'End of Movements

    I don't know how to change it without breaking him completely.

    2. Second problem ties into making changes to Team Rocket in general. I don't know how to make the Grunts disappear once Giovanni is defeated in Silph Co. If it's their person I.D. or something else I'm missing.
     
    Already tested with a 1.0 FireRed ROM, it's a level script. It has nothing to do with the grunt's own script. You can use Advance Map + any script editor (when I say "any" I mean XSE..) to edit this. When opening the level script using Advance Map and XSE, it comes out as:

    Code:
    '---------------
    #org 0x167365
    setworldmapflag 0x89A
    checkflag 0x23C
    if 0x0 call 0x8167372
    end
    
    '---------------
    #org 0x167372
    movesprite2 0x6 0x21 0x1F
    return

    (since you just want to remove him from the front of Silph Co. altogether, just remove the two lines after setworldmapflag)

    Open Advance Map (I recommend using 1.92 - 1.95). Load your ROM, navigate to Saffron City (and double-click it). Click the "Header" tab. Scroll down to "Map script", and then click "Open script". And, make sure you have a defined script editor (again, strongly suggest XSE for this..)

    ...

    As for the grunts in Silph Co., it's (probably, not 100% sure) involved with the script tiles that activate Giovanni's battle sequence at the final floor of the Silph Co. building. The Person Event for Giovanni does not directly have a script on him, it's controlled by the script tile. (note: Every grunt and scientist in the building has a Person ID of 53..)

    The level script(s) of the Silph Co. building have nothing to do with the grunts (they only mess with the tiles of the room).

    Also, when creating a new script, re-point it to free space (FreeSpaceFinder is your friend), and don't just overwrite old offsets (can be game-breaking).
     
    Last edited:
    Back
    Top