• 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!
  • Our weekly protagonist poll is now up! Vote for your favorite Conquest protagonist in the poll by clicking 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.

I want to learn a script,how to change player sprite temporary.

  • 1
    Posts
    7
    Years
    • Seen Jul 5, 2020
    I have a question.

    1.Rom: Pokemon ash gray
    2.From: Change pajamas.
    I want to learn a script: how to change player sprite temporary.

    script

    '---------------
    #org 0x8495F3
    lockall
    msgbox 0x884A8C0 MSG_YESNO '"It's your pajamas!\nWould you like..."
    compare LASTRESULT 0x1
    if 0x1 goto 0x884AA75
    release
    end

    '---------------
    #org 0x84AA75
    msgbox 0x884AAB9 MSG_NORMAL '"[player] changed into his\npajamas..."
    setflag 0x1166
    setvar 0x4054 0x20F
    compare PLAYERFACING 0x2
    if 0x1 goto 0x884B7DB
    compare PLAYERFACING 0x4
    if 0x1 goto 0x884B787
    goto 0x884B9CF

    '---------------
    #org 0x84B7DB
    warpmuted 0x4 0x1 0xFF 0x3 0x3
    waitstate
    releaseall
    end

    '---------------
    #org 0x84B787
    warpmuted 0x4 0x1 0xFF 0x2 0x2
    waitstate
    releaseall
    end

    '---------------
    #org 0x84B9CF
    warpmuted 0x4 0x1 0xFF 0x4 0x2
    waitstate
    releaseall
    end


    '---------
    ' Strings
    '---------
    #org 0x84A8C0
    = It's your pajamas!\nWould you like to change into\lthem?

    #org 0x84AAB9
    = [player] changed into his\npajamas.

    please help me.
     
    Back
    Top