View Single Post
  #2591    
Old December 4th, 2009 (10:57 PM). Edited December 5th, 2009 by theschmizz393.
theschmizz393's Avatar
theschmizz393 theschmizz393 is offline
Cleffas will rule!
     
    Join Date: Jul 2007
    Location: Mt. Silver
    Age: 23
    Gender:
    Nature: Lax
    Posts: 45

    Well, I'm new to scripting, and all I'm trying to do is make the National Dex available early in the game. I might be doing this totally wrong, but here it is:

    '---------------
    #org 0x800690
    lock
    faceplayer
    checkflag 0x1F3
    if 0x0 goto 0x88006A4
    if 0x1 goto 0x88006B6
    release
    end

    '---------------
    #org 0x8006A4
    fanfare 0x13E
    waitfanfare
    setflag 0x1F3
    msgbox 0x88006C0 0x6 '"Your Pokedex was upgraded!"
    release
    end

    '---------------
    #org 0x8006B6
    msgbox 0x88006D5 0x6 '"You're welcome."
    end

    '---------
    ' Strings
    '---------
    #org 0x8006C0
    = Your Pokedex was upgraded!

    #org 0x8006D5
    = You're welcome.

    I'm using xse and everytime I try to put this on a trainer the game freezes when I talk to them. Thanks for helping!

    __________________


    GSC remake all the way! Silver wants to come back!