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

Teh Blaziken's Scripting School

Status
Not open for further replies.

Twinx

s o m e t h i n g M O R E
1,802
Posts
17
Years
  • Only problem was you put 'lock' and 'faceplayer' in a movement script...do you want the person to stand still, or move? Lock will make it so they won't move lol. Faceplayer is not needed since there are movement commands for facing different directions.

    Same thing with the second one, no 'lock' or 'faceplayer'!!!

    Thanks itman ! :)
    About the lock/faceplayer, it's there in the tutorial, I pointed out that I heard somewhere that it shouldn't be used. (view quote in my above post)

    Anyway, it appears TB hasn't been very active, I hope he remembers to fix those errors in the tutorial. ^^'
     

    +Sneasel™

    It's a meeee, itman!
    1,032
    Posts
    16
    Years
  • Thanks itman ! :)
    About the lock/faceplayer, it's there in the tutorial, I pointed out that I heard somewhere that it shouldn't be used. (view quote in my above post)

    Anyway, it appears TB hasn't been very active, I hope he remembers to fix those errors in the tutorial. ^^'

    Yeah, i guess he made a mistake, i will tell him about it.
     

    TB Pro

    Old-timer
    2,708
    Posts
    19
    Years
  • Hey Teh Blaziken, this is quite a nice tutorial you have here. Quite easy to understand as well. Also, I found the movement scripts for R/S/E in another thread (I think Wingzro's). Here they are in case anybody wants to use them

    Spoiler:
    Oh yeah I'll use those, and thankies man!

    Hey TB.. are you still working on these? I'm not rushing you or anything, but just wondering if you found any errors in my applymovement homework. It's in the 28th post.
    Anyway, can't wait for the others :)
    eh I am Sorry Ihaven't been here i just have been busy Spriting!:)

    ^^I'll correct it :)^^

    #ORG $begin
    checkflag 0x200
    if B_True go to $nothing
    applymovement 0x02 $walk1
    pausemovement 0
    applymovement 0x02 $walk2
    pausemovement 0
    message $koo
    boxset 6
    setflag 0x200
    release
    end

    #ORG $nothing
    release
    end

    #ORG $walk1
    $walk1 1 ; #binary 0x13 0x13 0x1E 0x1E 0x1E 0x1E 0x1E 0xFE

    #ORG $walk2
    $walk2 1 ; #binary 0x0A 0x0A 0x0A 0x0A 0x0A 0x0A 0x0A 0x4A 0xFE

    #ORG $koo
    $koo 1 = Hi I'm Koo! Who Are You?

    Only problem was you put 'lock' and 'faceplayer' in a movement script...do you want the person to stand still, or move? Lock will make it so they won't move lol. Faceplayer is not needed since there are movement commands for facing different directions.

    Same thing with the second one, no 'lock' or 'faceplayer'!!!
    Yeh There ye' go!

    Thanks itman ! :)
    About the lock/faceplayer, it's there in the tutorial, I pointed out that I heard somewhere that it shouldn't be used. (view quote in my above post)

    Anyway, it appears TB hasn't been very active, I hope he remembers to fix those errors in the tutorial. ^^'
    Yeh I am very sorry for that, I just got in a rush and forgot about that!

    Yeh I have been spriting:)
    I fixed them sorry for the confusion all!


    Yeah, i guess he made a mistake, i will tell him about it.
    Yeh I just hurried too fast..... Sorry guys!

    I am still working on tuts(very slowly mind you) Another vesrion shall be released before Monday of next week I promise!
     
    5,814
    Posts
    16
    Years
    • Age 30
    • Seen May 19, 2021
    how do you enter the script offset into advance map, maybe someone should make a tut for people who don't know how to or aren't doing it right.
     

    Jack of Bl♠des

    Former goderator
    194
    Posts
    16
    Years
  • how do you enter the script offset into advance map, maybe someone should make a tut for people who don't know how to or aren't doing it right.

    Wow, I'm responding to an awful lot of topics today.

    Anyway, to insert a script, what you do is find the offset in BufRite (or whatever you use to compile scripts) first. The offset is always $****** (the *'s representing whatever numbers you get). From there, just open the map in Advance Map that you want, find the person you want to apply the script to, and put the offset you're given in Bufrite (it helps to have a document saved with all the offset and what they do) in place of that person's offset. After that, click "Save Map" at the top to make sure everything is saved properly.
     
    5,814
    Posts
    16
    Years
    • Age 30
    • Seen May 19, 2021
    Same with script events, right?
    I need to learn how to script.
    Thank you very much for this, but I think I need a picture tut, It's easier for me sometimes.
    Thanx again, I appreciate you helping me.
     
    3
    Posts
    16
    Years
    • Seen Feb 25, 2008
    do what the creator of jaune ecalir did...make it connected to your sprite.
    I can do every simple script except the follow me script.
    I mean the prof.Oak follow me script.

    Oh man, that's the one I'm trying to do...
     
    131
    Posts
    17
    Years
    • Seen Jun 16, 2014
    Great tutorial! I finally learned the Applymovement basics. TY!
    BTW, if people write the test-script here, other can just copy it. Wouldn't it be better if we sent you a PM?
     

    Twinx

    s o m e t h i n g M O R E
    1,802
    Posts
    17
    Years
  • Great tutorial! I finally learned the Applymovement basics. TY!
    BTW, if people write the test-script here, other can just copy it. Wouldn't it be better if we sent you a PM?

    Why would anyone do that if they want to learn how to script?
    This isn't like school where some people don't care whether they learn or not ;)
     
    131
    Posts
    17
    Years
    • Seen Jun 16, 2014
    Sorry, my bad.
    btw why won't this script work?

    #org $begin
    checkflag 0x210
    if B_true goto $finish
    applymovement 0x03 $gonot
    pausemove 0
    message $dontgo
    boxset 6
    applymovement 0xFF $player
    pausemove 0
    release
    end

    #org $finish
    release
    end

    #org $gonot
    $gonot 1 ; #binary 0x62 0x04 0xFE

    #org $dontgo
    $dontgo 1 = Don't go out there!\nIt's for your own safety.

    #org $player
    $player 1 ; 0x13 0xFE
     

    +Sneasel™

    It's a meeee, itman!
    1,032
    Posts
    16
    Years
  • Sorry, my bad.
    btw why won't this script work?

    #org $begin
    checkflag 0x210
    if B_true goto $finish
    applymovement 0x03 $gonot
    pausemove 0
    message $dontgo
    boxset 6
    applymovement 0xFF $player
    pausemove 0
    release
    end

    #org $finish
    release
    end

    #org $gonot
    $gonot 1 ; #binary 0x62 0x04 0xFE

    #org $dontgo
    $dontgo 1 = Don't go out there!\nIt's for your own safety.

    #org $player
    $player 1 ; 0x13 0xFE

    The script is done perfectly, i don't know why it won't work, what happens when you do this?
     
    131
    Posts
    17
    Years
    • Seen Jun 16, 2014
    Nvm... I just forgot to set the varnumbers ....
     
    Last edited:

    +Sneasel™

    It's a meeee, itman!
    1,032
    Posts
    16
    Years
  • A second script tutorial. Yay ^^
    I hope you complete it!

    By the way, can I use the FireRed-Commands in a Ruby Rom too?
    And when you gonna post the movements for Ruby?

    Fire Red commands don't work in Ruby, for Ruby commands, I believe the Jack of Blades posted them some posts back, i would search for his post.
     
    131
    Posts
    17
    Years
    • Seen Jun 16, 2014
    The same thing happened to me but I don't believe I set the varnumbers. How do you do so?

    You go into the rom on Adv.Map. Then you go to your script. Over the script offset it says something about varnumbers...On Unknown you should write 0003. On Var number, write 4050.. Don't care about the rest....
     
    Status
    Not open for further replies.
    Back
    Top