• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • Staff applications for our PokéCommunity Daily and Social Media team are now open! Interested in joining staff? Then click here for more info!
  • 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.

[Other] Hidesprite help

leafeon9697

Professor Hawthorne
  • 19
    Posts
    9
    Years
    • Seen Feb 20, 2019
    I'm working on a hack and I have a scenario set up where the player must go inside the professor's house and wake him up before entering his lab, which an assistant stands in front of saying the professor is absent at the time. Everything works well until i try to insert the script that tells the game that the assistant needs to "hidesprite" after speaking to him. When I compile the script, I THINK everything looks fine but when I reopen the script in XSE I get...

    '---------------
    #org 0x8011D2
    virtualmsgbox 0xD9E1E3

    Here is my script I am trying to imput:

    #dynamic 0x8011B4

    #org 0x80109D
    lock
    faceplayer
    checkflag 0x1200
    if 0x1 goto 0x88010B6
    msgbox 0x88010C3 MSG_NORMAL '"Sorry, I can't let you in."
    release
    end

    '---------------
    #org 0x8010B6
    msgbox @1 0x6
    fadescreen 1
    hidesprite 3
    fadescreen 0
    release
    end


    '---------
    ' Strings
    '---------
    #org 0x8010C3
    = Sorry, I can't let you in.

    #org @1
    = Come in.

    Uhhhh, halp?
     
    Back
    Top