Thread: [Tutorial] Hack Tutorials: Trainer Editing
View Single Post
  #23    
Old June 24th, 2007 (10:31 AM). Edited June 24th, 2007 by foullump.
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 Antwhan View Post
    Well I was able to get the trainer to sortof work...

    when u go upto and talk to him, the battle starts normally, but if he spots u even walking into the line of sight it freezes up b4 he walks to u...

    and after the fight if i try to talk w/ him it goes red/maroon screen...

    here's the script in the spoiler

    Spoiler:

    #org $Trainer1
    lock
    faceplayer
    trainerbattle 0 1 $MadChall $MadDefeat
    $MadChall 1 = Wast: Your going down!
    $MadDefeat 1 = Wast: Next time, I'll win!
    message $MadTalk
    $MadTalk 1 = I thought I was strong enough.\pI Guess I was wrong.
    boxset 6
    release
    end


    I'm so happy i got it to sortof work

    ps. I was using pokescript for this because that seemed to work better for me, incase it looks weird.
    get rid of the lock and faceplayer. It will do that automaticly. So get rid of it. And, this is a problem:
    trainerbattle 0 1 $MadChall $MadDefeat
    $MadChall 1 = Wast: Your going down!
    $MadDefeat 1 = Wast: Next time, I'll win!
    message $MadTalk

    Do it as I have it in my tutorial.
    Code:
    trainerbattle 0 1 $MadChall $MadDefeat
    message $MadTalk
    
    #org $MadChall
    $MadChall 1 = Wast: You're going down!
    
    #org $MadDefeat
    $MadDefeat 1 = Wast: Next time, I'll win!
    __________________