• 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?".
  • 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.

[Archive] Script help thread

Status
Not open for further replies.

KhaosKnight

The 1 and only Khaotic Hacker
  • 355
    Posts
    16
    Years
    • Seen May 28, 2015
    BIGGIE script :O
    Can someone check this script I can't do it i'm to tired of writing it :P
    Spoiler:



    If you are using XSE then there is a proofread function built in that tells you the line and char were it notices an unrecognized command.
     
  • 9
    Posts
    15
    Years
    • Seen Aug 9, 2009
    Looks like its still not working :(

    Still thanks for the help... I'm gonna keep reading around and hope I figure it out.
     
  • 860
    Posts
    17
    Years
    If you are using XSE then there is a proofread function built in that tells you the line and char were it notices an unrecognized command.
    I don't use XSE..

    But does anyone know how to make sprites disappeatr in a script and I really mean disappear not that when you move their back or if you re enter the map their back????
     

    Hiche..

     
  • 979
    Posts
    16
    Years
    • Seen Dec 27, 2014
    Spoiler:


    In this script, do I just write waitmovement or waitmovement with a 0?
    Also please check if the script is correct.
    Another question, when I use "special 0x17B", for a ship script, I always transport me to one of the Islands( 1,2,etc)
    Is there a way to change that? I want to go somewhere else.
    Thanks in advance.
     
    Last edited:
  • 61
    Posts
    15
    Years
    • Seen Oct 12, 2012
    wacht this script why don'go!
    when i insert it the people talk but don't move why?
    you can help me!
     

    TB Pro

    Old-timer
  • 2,708
    Posts
    19
    Years
    Spoiler:


    In this script, do I just write waitmovement or waitmovement with a 0?
    Also please check if the script is correct.
    Another question, when I use "special 0x17B", for a ship script, I always transport me to one of the Islands( 1,2,etc)
    Is there a way to change that? I want to go somewhere else.
    Thanks in advance.
    Yeah, just put waitmovement 0 :) And I don't know how t do that, although if I remember right there was a tutorial somewhere about that....

    wacht this script why don'go!
    when i insert it the people talk but don't move why?
    you can help me!
    Uhhh...What exactly are you talking about? It would help if we could see the script.
     
  • 185
    Posts
    16
    Years
    Code:
    #Dynamic 0x9A6740
    
    #org @start
    checkflag 0x201
    if b_true goto @gone
    lock
    faceplayer
    giveitem 0x3 0x5 0x0
    setflag 0x201
    release
    end
    
    #org @gone
    hidesprite 0x8
    end

    It doesn't work somehow... Anyone knows why?
     
  • 61
    Posts
    15
    Years
    • Seen Oct 12, 2012
    this is correct?
    #dynamic 0x877569

    #org @start
    lock
    faceplayer
    applymovement 0x0F @lino
    waitmovement 0x2
    message @trino
    boxset 6
    release
    end

    #org @lino
    #raw 0x1
    #raw 0x1
    #raw 0xFE

    #org @trino
    = Ciao.
     
  • 857
    Posts
    15
    Years
    Code:
    #Dynamic 0x9A6740
    
    #org @start
    checkflag 0x201
    if [B]0x1[/B] goto @gone
    lock
    faceplayer
    giveitem 0x3 0x5 0x0
    setflag 0x201
    [B]warp 0x(add the correct # here) 0x 0x 0x 0x[/B]
    [B]hidesprite 0x8[/B]
    release
    end
    
    #org @gone
    release
    end
    
    end
    It doesn't work somehow... Anyone knows why?

    The way hidesprite works for me, is that you need to place a warp in the spot the player will be, and warp to that spot after the hidesprite activates.Add a warp on advanced map, it doesn't have to go anywhere...
     
  • 61
    Posts
    15
    Years
    • Seen Oct 12, 2012
    T can you help me i have post my problem in the before message please help me!
     
  • 185
    Posts
    16
    Years
    Code:
    #Dynamic 0x86A7E4
    
    #org @start
    lockall
    applymovement 0x9 @left
    waitmovement 0x0
    call @start2
    releaseall
    end
    
    #org @start2
    checkflag 0x204
    if b_true goto @gone
    checkflag 0x861
    if b_false goto @nodex
    else goto @havedex
    end
    
    #org @havedex
    msgbox @upgrade
    boxset 0x5
    compare LASTRESULT 1
    if b_true goto @getdex
    else goto @notwant
    end
    
    #org @upgrade
    = Hello there. I just noticed that\nyou have a POKéDEX. I research\lPOKéMON from foreigns lands like\lKANTO and JOHTO. Would you like me\lto upgrade your POKéDEX so that it\lcan store those POKéMON's data?
    
    #org @getdex
    msgbox @receivedex
    fanfare 0x13E
    boxset 0x6
    special 0x1F3
    waitfanfare
    fadescreen 1
    hidesprite 0x9
    fadescreen 0
    setflag 0x204
    end
    
    #org @receivedex
    = [player]'s POKéDEX got upgraded.
    
    #org @notwant
    msgbox @no
    boxset 0x6
    end
    
    #org @no
    = Oh? You don't want to? Well that's\nok then. If you change your mind,\lcome see me again.
    
    #org @nodex
    msgbox @hello2
    boxset 0x6
    end
    
    #org @hello2
    = Hi there. I'm researching POKéMON\nfrom foreign lands like KANTO and\lJOHTO. If you could bring me a\lPOKéDEX, I would upgrade it with\lthe information about POKéMON found\lonly there.
    
    #org @gone
    hidesprite 0x9
    end
    
    #org @left
    #raw 0x02
    #raw 0xFE

    Plz help. I dunno how to use setvar (don't understand how they use it in tutorials) so plz explain. [NOTE: The script without the first part (the part before start2) works perfect, but I need the applymovement thing so that the person who's part of that script turns toward me when I'm passing left to him]
     

    Thrace

    @tion
  • 1,048
    Posts
    17
    Years
    • Seen Oct 2, 2016
    Code:
    #Dynamic 0x86A7E4
    
    #org @start
    lockall
    applymovement 0x9 @left
    waitmovement 0x0
    call @start2
    releaseall
    end
    
    #org @start2
    checkflag 0x204
    if b_true goto @gone
    checkflag 0x861
    if b_false goto @nodex
    else goto @havedex
    end
    
    #org @havedex
    msgbox @upgrade
    boxset 0x5
    compare LASTRESULT 1
    if b_true goto @getdex
    else goto @notwant
    end
    
    #org @upgrade
    = Hello there. I just noticed that\nyou have a POKéDEX. I research\lPOKéMON from foreigns lands like\lKANTO and JOHTO. Would you like me\lto upgrade your POKéDEX so that it\lcan store those POKéMON's data?
    
    #org @getdex
    msgbox @receivedex
    fanfare 0x13E
    boxset 0x6
    special 0x1F3
    waitfanfare
    fadescreen 1
    hidesprite 0x9
    fadescreen 0
    setflag 0x204
    end
    
    #org @receivedex
    = [player]'s POKéDEX got upgraded.
    
    #org @notwant
    msgbox @no
    boxset 0x6
    end
    
    #org @no
    = Oh? You don't want to? Well that's\nok then. If you change your mind,\lcome see me again.
    
    #org @nodex
    msgbox @hello2
    boxset 0x6
    end
    
    #org @hello2
    = Hi there. I'm researching POKéMON\nfrom foreign lands like KANTO and\lJOHTO. If you could bring me a\lPOKéDEX, I would upgrade it with\lthe information about POKéMON found\lonly there.
    
    #org @gone
    hidesprite 0x9
    end
    
    #org @left
    #raw 0x02
    #raw 0xFE

    Plz help. I dunno how to use setvar (don't understand how they use it in tutorials) so plz explain. [NOTE: The script without the first part (the part before start2) works perfect, but I need the applymovement thing so that the person who's part of that script turns toward me when I'm passing left to him]
    Whats wrong with it and why do you need setvar?
     
    Status
    Not open for further replies.
    Back
    Top