• 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.
  • Dawn, Gloria, Juliana, or Summer - which Pokémon protagonist is your favorite? Let us know by voting in our poll!
  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • 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✓] NEED HELP WITH SCRIPT PLS [FR]

  • 8
    Posts
    6
    Years
    • Seen May 5, 2019
    I need help with this script, basically im trying to make it so you need the secret key from cinnabar island to get into cerulean cave instead of having to do the sevi islands story line. The problem I have is that when I enter a pokemon center and use the PC or heal up my script no longer works and I dont need the key to enter, I can just walk in. I'm pretty new to at this and really just trying to learn something new but i cant figure out why it's doing this. Any help would be much appreciated!

    '---------------
    #org 0x801900
    checkitem 0x15F 0x1
    if 0x0 goto 0x880190E
    release
    end

    '---------------
    #org 0x80190E
    lockall
    applymovement MOVE_PLAYER 0x8801947
    waitmovement 0x0
    pause 0x14
    msgbox 0x8801932 MSG_KEEPOPEN '"NEEDS SECRET KEY [.]"
    closeonkeypress
    applymovement MOVE_PLAYER 0x880194A
    waitmovement 0x0
    release
    end


    '---------
    ' Strings
    '---------
    #org 0x801932
    = NEEDS SECRET KEY [.]


    '-----------
    ' Movements
    '-----------
    #org 0x801947
    #raw 0x2E 'Face Up (Delayed)
    #raw 0xFE 'End of Movements

    #org 0x80194A
    #raw 0x10 'Step Down (Normal)
    #raw 0xFE 'End of Movements
     
    From reading your script it seems that as long as you have the key, the script essentially does nothing. Were you planning on removing the item after the script runs?
     
    Back
    Top