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

Script Help Thread (DO NOT REQUEST SCRIPTS)

Status
Not open for further replies.

Aberbecam

Banned
192
Posts
14
Years
  • This is a script i made it works perfectly, But whenever i step on it the script keeps on happening and hears the script

    Spoiler:
     

    Satoshi Ookami

    Memento Mori
    14,254
    Posts
    15
    Years
  • This is a script i made it works perfectly, But whenever i step on it the script keeps on happening and hears the script

    Spoiler:
    Use setvar 0x(variable number) 0x1 in script as one of commands and then put the same variable number into "var number" in A-Map when ya view the script :) That would be it I guess... since it's working I guess ya filled the Unknown bar with 0003
     

    Logan

    [img]http://pldh.net/media/pokecons_action/403.gif
    10,417
    Posts
    15
    Years
  • Use setvar 0x(variable number) 0x1 in script as one of commands and then put the same variable number into "var number" in A-Map when ya view the script :) That would be it I guess... since it's working I guess ya filled the Unknown bar with 0003
    Actually he only has to setflag 0x1000.
     
    71
    Posts
    15
    Years
    • Seen Jul 9, 2017
    Hi,
    I have this problem
    I enter this:
    Spoiler:


    and when I open it again in AdvanceMap I get this:

    Spoiler:
     

    Logan

    [img]http://pldh.net/media/pokecons_action/403.gif
    10,417
    Posts
    15
    Years
  • Code:
    #dynamic 0x[offset]
     
    #org @start
    lockall
    checkflag 0x300
    if 0x1 goto @done
    setflag 0x300
    applymovement 0x1 @move1
    waitmovement 0x0
    msgbox @msg1 MSG_NORMAL
    applymovement 0x1 @move2
    waitmovement 0x0
    releaseall
    end
     
    #org @done
    release
    end
     
    #org @msg1
    = Hello there.\nI heard from my colleague\lProfessor Oak, that you are\lbeginning your journey.\pI've got some help from\nProf. Oak, Prof. Birch and Prof. Elm\lto get these starters for you.\pSo choose wisely.
     
    #org @move1
    #raw 0x62 
    #raw 0x10 
    #raw 0x10 
    #raw 0xFE 
     
    #org @move2
    #raw 0x09
    #raw 0xFE

    Just put in your own dynamic offset, and compile that.
     

    trebornosliw

    Learning
    516
    Posts
    14
    Years
    • Age 31
    • Seen Jul 22, 2012
    I am obnoxiously redirecting attention to my post at the very top of this page, namely, my script down at the bottom. Anyone know what's wrong?
     

    Aberbecam

    Banned
    192
    Posts
    14
    Years

  • Actually he only has to setflag 0x1000.


    Uhmm..script works one time and the sprite does disappear when i setflag and one more thing, When i go to a new map the sprite appears again and the script happens again. How do i make the sprite disappear permenantly? and how do i stop the script from repeating? these are the numbers i put for the sprite-

    Person Event NO:4
    Picture NO:71
    Unknown:00 03
    Pos {X/Y}: 001D 0005
    Person ID: 1000

    and for the script i put these numbers-

    Pos {X/Y}: 0015 0003
    Unknown: 0003
    Var Number: 4050

    And hear is the script-

    Spoiler:


    Soooo...Please help.
     

    mervyn797

    What? I'm right here. >D
    1,696
    Posts
    15
    Years
    • Seen Nov 28, 2011
    umm... anyone knows what went wrong here?
    Code:
    #org 0x874013F
    '-----------------------------------
    lock
    checkflag 0x8c3
    if true jump @end
    applymovement PLAYER 0x8740161 ' look_left say_! end
    applymovement 0x4 0x8740164 ' look_down look_right...
    message 0x8740167 ' \v\h06: Awesome weat...
    showmsg
    closemsg
    applymovement 0x4 0x87401C3 ' run_down run_down ru...
    disappear 0x4
    setflag 0x8c3
    release
    end
    
    #org @end
    release
    end
    
    #org 0x8740167
    = \v\h06: Awesome weather right?\nLet's hurry up!\p Don't want to be late\n for out first Pokemon!  
    
    #org 0x8740161
    M look_left say_! end
    
    #org 0x8740164
    M look_down look_right end
    
    #org 0x87401C3
    M run_down run_down run_down end
    its in pksv and is a trigger type.
     

    trebornosliw

    Learning
    516
    Posts
    14
    Years
    • Age 31
    • Seen Jul 22, 2012
    umm... anyone knows what went wrong here?
    Spoiler:

    its in pksv and is a trigger type.
    I'm definitely more of an XSE person than Pokesav, but I've made one adjustment that might help. Where exactly does the problem arise, though? Are the movements messed up?
    Also, I'm assuming that you've got Unknown set to 3 and Var Number set to 4050 for this script.
     
    Last edited:
    71
    Posts
    15
    Years
    • Seen Jul 9, 2017
    Game: Fire Red
    Type: Trigger
    Editor: XSE
    Script:
    Spoiler:

    Screenshots and/or Videos: Can't give you pics yet because of 15 post lock
    Problem: Crashes after !-sign

    Advance Map
    Person Event
    No: 0
    Mark active sprite (active)
    Person event no: 1
    Picture no: 39
    Unknown: 00 00
    Pos (X/Y): 0015 001F
    Unknown: 00
    Movement type: No Movement
    Movement: 00
    Unknown: 00
    Trainer(active)
    Unknown: 00
    View radius: 0007
    Script offset: $2E4F18
    Person ID: 0000
    Unknown: 00 00
     

    mervyn797

    What? I'm right here. >D
    1,696
    Posts
    15
    Years
    • Seen Nov 28, 2011
    I'm definitely more of an XSE person than Pokesav, but I've made one adjustment that might help. Where exactly does the problem arise, though? Are the movements messed up?
    Also, I'm assuming that you've got Unknown set to 3 and Var Number set to 4050 for this script.
    the other sprites movements dont work, the message appears well. the player movements work
    im guessing its something to do with the person ID?
    no worries, it worked, thanks!
     
    Last edited:

    Satoshi Ookami

    Memento Mori
    14,254
    Posts
    15
    Years
  • Spoiler:

    Person Event
    No: 0
    Mark active sprite (active)
    Person event no: 1
    Picture no: 39
    Unknown: 00 00
    Pos (X/Y): 0015 001F
    Unknown: 00
    Movement type: No Movement
    Movement: 00
    Unknown: 00
    Trainer(active)
    Unknown: 00
    View radius: 0007
    Script offset: $2E4F18
    Person ID: 0000
    Unknown: 00 00
    And do ya have the 001 trainer in ROM filled with someone?
     

    trebornosliw

    Learning
    516
    Posts
    14
    Years
    • Age 31
    • Seen Jul 22, 2012
    Game: Fire Red
    Type: Trigger
    Editor: XSE
    Script:
    Spoiler:

    Screenshots and/or Videos: Can't give you pics yet because of 15 post lock
    Problem: Crashes after !-sign

    Advance Map
    Person Event
    No: 0
    Mark active sprite (active)
    Person event no: 1
    Picture no: 39
    Unknown: 00 00
    Pos (X/Y): 0015 001F
    Unknown: 00
    Movement type: No Movement
    Movement: 00
    Unknown: 00
    Trainer(active)
    Unknown: 00
    View radius: 0007
    Script offset: $2E4F18
    Person ID: 0000
    Unknown: 00 00

    Firstly, I think you might have to have a unique Person ID for this guy.
    Second, make sure you've checked the trainer box.
    Now, if the screen just goes red after the !, go to advance map and open up that map. Find your event.
    Now make another person event with all the same settings as your old event, and replace the trainer with the new person (same OW). Then try it. That often helps, though I have absolutlely no clue why.

    And I'm going to cry for help again. Please, please go to the top of this page and tell me what's wrong with my script.
     

    trebornosliw

    Learning
    516
    Posts
    14
    Years
    • Age 31
    • Seen Jul 22, 2012
    Still no good, I guess I'm gonna try Pokescript
    No, Pokescript wouldn't make this any better as far as I know...
    Here, try this:

    Spoiler:


    Make sure to check the trainer box and all that. If the screen goes red, just make another person event exactly like it and replace the first one.


    And from now on I'm sticking this in every post. Please someone, look at the top of this page and tell me what's wrong with my script there.
     
    71
    Posts
    15
    Years
    • Seen Jul 9, 2017
    Thanks guys, but I should tell you something even weirder. I made a trainer EXACTLY like an existing one and it still crashes... Could it be the rom?
     

    trebornosliw

    Learning
    516
    Posts
    14
    Years
    • Age 31
    • Seen Jul 22, 2012
    No, that's something that's happened to me before.
    Seriously do this: make an entirely new person event, tailor it so it's exactly like the one you're using, then replace the old with the new and delete the old. i've had that same problem before and this fixes it every time.
    You know Ash493, this may be off-topic, but I find your signature mildly creepy (no offense :)).

    And once again, please, someone look at the top of this page and tell me what's wrong with my script.
     
    71
    Posts
    15
    Years
    • Seen Jul 9, 2017
    It doesn't fix it
    What I do is this

    Make a new person
    make the same proportions (this includes: View Radius Script Offset and Trainer checked,) as the old person
    delete the old person
    put the new person in the old persons place

    Perhaps this might help:
    http://www.youtube.com/watch?v=1VAn2j84z5U
    I know it's quite small and poor quality
     
    Last edited:
    Status
    Not open for further replies.
    Back
    Top