Thread: [Tutorial] Hack Tutorials: Scripting
View Single Post
  #32    
Old July 17th, 2007 (7:48 AM).
foullump's Avatar
foullump foullump is offline
Rom Hacking Guru
     
    Join Date: Mar 2007
    Location: United States
    Nature: Calm
    Posts: 220
    Quote:
    Originally Posted by sumin90210 View Post
    so how do i make the guy just come to me if i don't mark the trainer box to i add the givepokemon i with a movement script or something?

    HERE LOOK AT THIS VID. IT WILL EXPLAIN WHAT IT IS http://www.megaupload.com/?d=47S224XP

    P.S. THANX TO YOUR APPLYMOVEMENT SCRIPTS I WAS ABLE TO CREATE ONE BUT THE THING IS I HAVE TO CLICK ON THE CHARACTER FOR IT TO WORK AND THAT WORKS FINE BUT WHEN I PUT IT IN A SCRIPT BOX [THE GREEN BOX WITH THE S ON IT RIGHT]? WELL IT JUST FREEZES ON ME SO WHAT DO I DO? WHAT SCRIPT DO I USE?

    $done
    $aidwalk1
    $aidtalk

    I used pokescript for it so yeah.
    Okay look, this would work as a givepokemon script.
    Spoiler:

    #org $go
    checkflag 0x200
    if B_true goto $done
    applymovement [person number] $walktoplayer
    pause 0x[amount of steps]
    message $text
    boxset 6
    givepokemon [pkmn] [level] [hold item]
    setflag 0x200
    release
    end


    Make sure to fill in the spaces by putting the
    #org $walktoplayer
    $walktoplayer 1 ; #binary 0x--------------------0xFE

    #org $text
    $text 1 = ------------------------
    __________________