• 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!
  • Dawn, Gloria, Juliana, or Summer - which Pokémon protagonist is your favorite? Let us know by voting in our poll!
  • 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] SCRIPTING PROBLEMS!!!!

  • 57
    Posts
    10
    Years
    • Seen Jul 11, 2014
    Hey Guys, can you help me in my problems?
    I used Advance MAp 1.92 and XSE v1.1.1

    and I entered this script but when I test it in rom :Nothings happened........

    This is the script:
    #dynamic 0x800000

    #org @start
    checkflag 0x800
    #define if 0x1 go to @done
    msgbox @Wait 0x6
    applymovement 0x09 @move
    waitmovement 0x0
    applymovement 0xFF @move2
    pause 0x30
    msgbox @Lab 0x6
    playsong 0x13E 0x0
    applymovement 0x09 @move3
    applymovement 0xFF @move3
    waitmovement 0x0
    fadesong 0x12C
    release
    end

    #org @done
    release
    end

    #org @move
    #raw 0x62
    #raw 0x62
    #raw 0x62
    #raw 0x62
    #raw 0x62
    #raw 0xFE

    #org @move2
    #raw 0x56
    #raw 0x00
    #raw 0xFE

    #org @move3
    #raw 0x08
    #raw 0x08
    #raw 0x08
    #raw 0x08
    #raw 0x08
    #raw 0xFE

    #org @Wait
    = Slow down [player]!

    #org @Lab
    = You dont have pokemon yet!

    Please tell to me whats wrong in my script......
     
    There seem to be a few basic issues.

    Here's a fixed version:
    Spoiler:
     
    Last edited:
    The mistake in the script is that you put "go to" instead of "goto" on line 6, which is why it's asking for a #define.

    Code:
    if 0x1 [B]go to[/B] @done

    should be:

    Code:
    if 0x1 [B]goto[/B] @done

    Everything else is fine as far as I can see.
     
    Bleh. Deleted.

    Red for correction and blue for added thingies on yer script.
    The blue partish, feel free to not add the waitmovement lmao :(

    Your script:

    Spoiler:


    Here's the correct one.

    Code:
    #dynamic 0x800000
    
    #org @start
    checkflag 0x800
    if 0x1 goto @done
    msgbox @Wait 0x6
    applymovement 0x09 @move
    waitmovement 0x0
    applymovement 0xFF @move2
    waitmovement 0x0
    pause 0x30
    msgbox @Lab 0x6
    playsong 0x13E 0x0
    applymovement 0x09 @move3
    applymovement 0xFF @move3
    waitmovement 0x0
    fadesong 0x12C
    release
    end
    
    #org @done
    release
    end
    
    #org @move
    #raw 0x62
    #raw 0x62
    #raw 0x62
    #raw 0x62
    #raw 0x62
    #raw 0xFE
    
    #org @move2
    #raw 0x56
    #raw 0x00
    #raw 0xFE
    
    #org @move3
    #raw 0x08
    #raw 0x08
    #raw 0x08
    #raw 0x08
    #raw 0x08
    #raw 0xFE
    
    #org @Wait
    = Slow down [player]!
    
    #org @Lab
    = You don't have Pokemon yet!
     
    Last edited:
    Back
    Top