• 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 Requests/Sharing/Discussion

Status
Not open for further replies.
  • 41
    Posts
    17
    Years
    • Seen Dec 25, 2007
    What do you mean? Like the phonebooth script in Shiny Gold? Do you want to pick a choice and make something different happen depending on which one you picked?




    Try using this. (For FR)
    Code:
    #org $Wildbatt
    lock
    wildbattle 33 7 0
    applymovement 0x<people no.> $move
    pause 0x30
    setflag 0x500
    fadescreen 1
    release
    end
    
    #org $move
    $move 1 ; #binary 0x60 <move out of way> 0xFE

    What Aam I supposed to put in the < > cuz I put the script in and the same thing happens where the sprite doensnt dissapear. What do I put in the <move out of way> 0xFE[/CODE][/QUOTE]
    and 0x<people no.> $move
    and for the setflag in advance map do I enter the setflag exactly as 500 in people ID?
     
  • 1,104
    Posts
    16
    Years
    What Aam I supposed to put in the < > cuz I put the script in and the same thing happens where the sprite doensnt dissapear. What do I put in the <move out of way> 0xFE[/CODE]
    and 0x<people no.> $move
    and for the setflag in advance map do I enter the setflag exactly as 500 in people ID?[/QUOTE]

    Of course, it doesn't work, that script isn't finsihed. You have to put the people no. of the pokemon's sprite into applymovement 0x<people no.> $move. And by moving out of the way I meant add these to move the sprite to a spot where it can't be interacted with.
    Down 0x10
    Up 0x11
    LEft 0x12
    Right 0x13

    0x60 makes the sprite dissapear from the map but you can still interact with it. That's why you have to move it out of the way.
     
  • 112
    Posts
    17
    Years
    Hi!

    I need a Rubyscript for scriptED.

    I want a script for a "step-on-script"-event where I want you to
    recieve a Sneasel without any text or jingle showing up/sounding.

    //44tim44

    Hmm, well this will do:
    Spoiler:

    Just remember to set the unknown values in Advance map, those being after the X and Y positions wich are:
    Unknown: 03 00
    Var Number: 50 40
     
  • 55
    Posts
    16
    Years
    • Seen Oct 23, 2010
    What do you mean? Like the phonebooth script in Shiny Gold? Do you want to pick a choice and make something different happen depending on which one you picked?

    exactly.
    something like u talk with a guy, he asks you "what do you prefer?
    -water
    -fire
    -thunder"
    and then he'll give you the chosen type stone.

    zel has told me how to do it in scripted. now i need some details to how the "multi" script works in pokescript. i'll pm the witch, but if anybody has an answer, welcome :)
     

    linkandzelda

    Ex-rom hacker turned indie game developer
  • 777
    Posts
    17
    Years
    hi
    can anybody tell me whats wrong with this script. the movements work on the player but not the people. i have the people no. correct but it still wont work.

    #org $begin
    checkflag 0x1065
    if B_TRUE goto $done
    applymovement 0xFF $goup1
    pause 0x20
    playsound 0x000
    #raw 0x33
    message $speak1
    boxset 6
    applymovement 0x11 $axellook1
    pause 0x30
    message $speak2
    boxset 6
    applymovement 0x11 $axelcheck
    pause 0x70
    message $axelspeak2
    boxset 6
    applymovement 0x11 $axelmove1
    pause 0x20
    trainerbattle 0x01 0x26 $before $after $further
    release
    end

    #org $further
    lock
    faceplayer
    message $after1
    boxset 6
    applymovement 0x11 $axellook
    pause 0x10
    message $after2
    boxset 6
    applymovement 0x11 $axelleave
    applymovement 0x10 $zackleave
    pause 0x12
    setflag 0x1065
    release
    end


    #org $done
    release
    end

    #org $goup1
    $goup1 1 ; #binary 0x62 0x10 0xFE

    #org $speak1
    $speak1 1 = Axel: Remember what the boss\nsaid. Make sure nobodys\pin the area.\pZack: I know, i know.\nHave you got any infomation\pon where this POKéMON is?\pAxel: Yeah. I think its.....

    #org $axellook1
    $axellook1 1 ; #binary 0x62 0x01 0xFE

    #org $speak2
    $speak2 1 = ......\nShhhh. I think sombodys there!.\pI'll go check it out.

    #org $axelspeak2
    $axelspeak2 1 = Hey. You.\pWhat are you doing listening\nto our conversation?\pYour not?

    #org $before
    $before 1 = Then lets just make sure\nyour telling the truth!

    #org $after
    $after 1 = It seems like you were\ntelling the truth!

    #org $axelcheck
    $axelcheck 1 ; #binary 0x11 0x13 0x13 0x13 0x11 0x13 0x11 0xFE

    #org $ptoaxel
    $ptoaxel 1 ; #binary 0x01 0xFE

    #org $axelmove1
    $axelmove1 1 ; #binary 0x11 0xFE

    #org $axellook
    $axellook 1 ; #binary 0x04 0xFE

    #org $after1
    $after1 1 = I can't beleave i just\ngot beat by a kid!

    #org $after2
    $after2 1 = Come on zack.\nLets get out of here!

    #org $axelleave
    $axelleave 1 ; #binary 0x11 0x12 0x12 0x12 0x12 0x12 0x12 0x11 0x60 0x11 0xFE

    #org $zackleave
    $zackleave 1 ; #binary 0x11 0x12 0x12 0x12 0x12 0x60 0x11 0xFE

    if anyone can help then thanks in advance

    link
     

    spenceroone3

    <he eats lots of burgers.
  • 215
    Posts
    16
    Years
    Here is a cool script for all G/S/C remakes (and other games with this feature)
    Code:
    #org 0x780000
    special 0x187
    compare LASTRESULT 0x2
    if 0x1 call 0x1A7AE0
    jingle
    #raw 0x7C
    comparevartofarbyte 0x2100 0x6800D
    if 0x1 call 0x780050
    #raw 0x9D
    nop
    killscript
    #raw 0x80
    #raw 0x7F
    nop
    killscript
    #raw 0x80
    #raw 0x82
    nop
    #raw 0xF9
    nop
    msgbox 0x8780070 '"A POKéMON could be i..."
    callstd 0x5
    compare LASTRESULT 0x0
    if 0x1 call 0x1BE09A
    #raw 0x68
    #raw 0x9C
    special 0x2700
    goto 0x81BE06F 
    end
    
    #org 0x1A7AE0
    release
    end
    
    #org 0x780050
    release
    end
    
    #org 0x1BE09A
    #raw 0x68
    #raw 0x6B
    end
    
    #org 0x1BE06F
    applymovement 0x-32753 0x81BE08F
    pause 0x0
    #raw 0x53
    loadptr 0x80 0x2100AB25
    killscript
    #raw 0x80
    nop
    nop
    if 0x1 jump 0x1BE08D
    #raw 0x27
    #raw 0x6B
    end
    
    #org 0x1BE08D
    #raw 0x6B
    end
    
    #org 0x780070
    = A POKéMON could be in this BUSH.\pWant to HEADBUTT it?
    
    #raw 0 'Down0
    #raw FE 'Exit
    That is the Headbutt tree script. It works perfectly.
     

    Juan

    Brazilian with a bad English
  • 92
    Posts
    16
    Years
    Here is a cool script for all G/S/C remakes (and other games with this feature)
    Code:
    #org 0x780000
    special 0x187
    compare LASTRESULT 0x2
    if 0x1 call 0x1A7AE0
    jingle
    #raw 0x7C
    comparevartofarbyte 0x2100 0x6800D
    if 0x1 call 0x780050
    #raw 0x9D
    nop
    killscript
    #raw 0x80
    #raw 0x7F
    nop
    killscript
    #raw 0x80
    #raw 0x82
    nop
    #raw 0xF9
    nop
    msgbox 0x8780070 '"A POKéMON could be i..."
    callstd 0x5
    compare LASTRESULT 0x0
    if 0x1 call 0x1BE09A
    #raw 0x68
    #raw 0x9C
    special 0x2700
    goto 0x81BE06F 
    end
    
    #org 0x1A7AE0
    release
    end
    
    #org 0x780050
    release
    end
    
    #org 0x1BE09A
    #raw 0x68
    #raw 0x6B
    end
    
    #org 0x1BE06F
    applymovement 0x-32753 0x81BE08F
    pause 0x0
    #raw 0x53
    loadptr 0x80 0x2100AB25
    killscript
    #raw 0x80
    nop
    nop
    if 0x1 jump 0x1BE08D
    #raw 0x27
    #raw 0x6B
    end
    
    #org 0x1BE08D
    #raw 0x6B
    end
    
    #org 0x780070
    = A POKéMON could be in this BUSH.\pWant to HEADBUTT it?
    
    #raw 0 'Down0
    #raw FE 'Exit
    That is the Headbutt tree script. It works perfectly.
    Run-time error "13":
    Type mismatch
     
  • 41
    Posts
    17
    Years
    • Seen Dec 25, 2007
    Does anyone know how to apply multiple applymovements. I made a sprite disappear after a battle and I want it to go invisible and move 6 places to the left off of the map
     
  • 55
    Posts
    16
    Years
    • Seen Oct 23, 2010
    this doesn't work dammit
    Spoiler:

    it should display a message, start raining, display another message, end.
     

    Ooka

    [font=Maven Pro][color=#A75EE2]Cosmic[/color][/fon
  • 2,626
    Posts
    16
    Years
    Well I have no knowledge of weather scripting, but the only thing in there that I noticed was that there isn't a space between doweather. I don't know if there should be, but that just jumped out at me.
     

    Ooka

    [font=Maven Pro][color=#A75EE2]Cosmic[/color][/fon
  • 2,626
    Posts
    16
    Years
    Then all I could guess is there is something wrong with the hex number you put in for weather. Also, if anyone here has a list of all of the pokescript commands and what they do, it would be helpful. I don't need the item or pokemon hex number list, just commands like doweather, for example.
     

    destinedjagold

    I do not exist.
  • 8,593
    Posts
    17
    Years
    • Seen May 26, 2024
    Hey guys! It's me again...
    I've been busy with this script for my bro... (it gives me headaches though.., but I really made it! Well.., at least...)
    This is a very short script for my bro's hack...
    It's a script that'll give the player it's starter PKMN (the script isn't done yet... It has an intro, but I'll put the ending later...)
    Anyways, the only problem I'm having trouble with this script is that I always fail to activate the POKEMON Menu (ya know... when you press START, 'POKEMON' will be there in the START MENU...)
    Could someone help me please...
    Thanks in advance.., and here's the short script...


    Spoiler:


    Spoiler:


    My bro's hacking FireRed, by the way.

    Thanks in advance and good day.


    - EDITED -
    This is an actual script that I made for my bro... For the mods.., please don't delete this post... It may seem to be a spam or something 'cause it's very ..., but this is a very complicated script. Sorry.., and thanks for your consideration......
     
    Last edited:

    cooley

    ///Keepin' it simple
  • 1,148
    Posts
    17
    Years
    Hey guys! It's me again...
    I've been busy with this script for my bro... (it gives me headaches though.., but I really made it! Well.., at least...)
    This is a very short script for my bro's hack...
    It's a script that'll give the player it's starter PKMN (the script isn't done yet... It has an intro, but I'll put the ending later...)
    Anyways, the only problem I'm having trouble with this script is that I always fail to activate the POKEMON Menu (ya know... when you press START, 'POKEMON' will be there in the START MENU...)
    Could someone help me please...
    Thanks in advance.., and here's the short script...


    Spoiler:


    Spoiler:


    My bro's hacking FireRed, by the way.

    Thanks in advance and good day.


    - EDITED -
    This is an actual script that I made for my bro... For the mods.., please don't delete this post... It may seem to be a spam or something 'cause it's very ..., but this is a very complicated script. Sorry.., and thanks for your consideration......

    I think you should put a pause command, then goto $dex:
    Code:
    #org $dex
    setflag 0x828
    release
    end
    But that is what I think. :)

    My script:
    Code:
    #org $go
    checkflag 0x200
    if B_true goto $done
    applymovement 0x04 $new
    pause 0x60
    message $newtalk
    boxset 6
    applymovement 0x04 $newshow
    applymovement 0xFF $newshow
    pause 0x170
    message $showing
    boxset 6
    applymovement 0x04 $done
    pause 0x60
    setflag 0x200
    release
    end
    
    #org $done
    release
    end
    
    #org $new
    $new 1 ; 0x60 0x11 0x11 0x11 0x11 0x11 0xFE
    
    #org $newtalk
    $newtalk 1 =You look new,\lwhy don't I show you around?
    
    #org $newshow
    $newshow 1 ; 0x10 0x10 0x10 0x10 0x12 0x12 0x12 0x12 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x12 0xFE
    
    #org $showing
    $showing 1 = In the next Beta of this hack,\pthere will be a path to the next city\noops, can't tell you anymore....\pBye!
    
    #org $done
    $done 1 ; 0x11 0x11 0x11 0x11 0x11 0x60 0xFE
    Need to know what is wrong. Keeps on freezing!!! =^)
     

    Ooka

    [font=Maven Pro][color=#A75EE2]Cosmic[/color][/fon
  • 2,626
    Posts
    16
    Years
    I think you should put a pause command, then goto $dex:
    Code:
    #org $dex
    setflag 0x828
    release
    end
    But that is what I think. :)

    My script:
    Code:
    #org $go
    checkflag 0x200
    if B_true goto $done
    applymovement 0x04 $new
    pause 0x60
    message $newtalk
    boxset 6
    applymovement 0x04 $newshow
    applymovement 0xFF $newshow
    pause 0x170
    message $showing
    boxset 6
    applymovement 0x04 $done
    pause 0x60
    setflag 0x200
    release
    end
    
    #org $done
    release
    end
    
    #org $new
    $new 1 ; 0x60 0x11 0x11 0x11 0x11 0x11 0xFE
    
    #org $newtalk
    $newtalk 1 =You look new,\lwhy don't I show you around?
    
    #org $newshow
    $newshow 1 ; 0x10 0x10 0x10 0x10 0x12 0x12 0x12 0x12 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x12 0xFE
    
    #org $showing
    $showing 1 = In the next Beta of this hack,\pthere will be a path to the next city\noops, can't tell you anymore....\pBye!
    
    #org $done
    $done 1 ; 0x11 0x11 0x11 0x11 0x11 0x60 0xFE
    Need to know what is wrong. Keeps on freezing!!! =^)




    I would say that you gave two options in the script $done so it doesn't know which one to go to.
     
    Status
    Not open for further replies.
    Back
    Top