View Single Post
  #299    
Old January 24th, 2009 (3:09 PM).
TB Pro's Avatar
TB Pro TB Pro is offline
Old-timer
     
    Join Date: Nov 2004
    Location: Midwestern USA
    Age: 22
    Gender: Male
    Posts: 2,739
    Quote:
    Originally Posted by iPro. View Post
    Game: FireRed
    Type: Headbutt Tree(Signpost)
    Editor: XSE
    Script:
    Spoiler:
    #dynamic 0x800000

    #ORG @begin
    lock
    signmsg
    message @mayhar 0x6
    normalmsg
    checkitem 280 1
    if 0x1 goto @continue
    release
    end

    #ORG @mayhar
    = This tree looks like it could\nharbor a Pokémon.

    #ORG @continue
    signmsg
    message @wouldyou 0x5
    compare 0x800D 0x1
    if 0x1 goto @continue2
    message @nnope 0x6
    normalmsg
    release
    end

    #ORG @continue2
    signmsg
    message @puton 0x6
    normalmsg
    applymovement 0xFF @runfor
    waitmovement 0
    sound 13
    random 19
    compare 0x800D 0x0
    if 0x1 goto @none
    compare 0x800D 0x1
    if 0x1 goto @caterpie
    compare 0x800D 0x2
    if 0x1 goto @weedle
    compare 0x800D 0x3
    if 0x1 goto @none
    compare 0x800D 0x4
    if 0x1 goto @aipom
    compare 0x800D 0x5
    if 0x1 goto @cascoon
    compare 0x800D 0x6
    if 0x1 goto @none
    compare 0x800D 0x7
    if 0x1 goto @slakoth
    compare 0x800D 0x8
    if 0x1 goto @ledyba
    compare 0x800D 0x9
    if 0x1 goto @metapod
    compare 0x800D 0xA
    if 0x1 goto @none
    compare 0x800D 0xB
    if 0x1 goto @wurmple
    compare 0x800D 0xC
    if 0x1 goto @kakuna
    compare 0x800D 0xD
    if 0x1 goto @caterpie
    compare 0x800D 0xE
    if 0x1 goto @silcoon
    compare 0x800D 0xF
    if 0x1 goto @spinarak
    compare 0x800D 0x10
    if 0x1 goto @weedle
    compare 0x800D 0x11
    if 0x1 goto @wurmple
    compare 0x800D 0x12
    if 0x1 goto @pineco
    release
    end

    #ORG @wouldyou
    = Would you like to headbutt it?

    #ORG @nnope
    = \v\h01 did not headbutt the tree.

    #ORG @puton
    = \v\h01 put the Iron Helmet on.

    #ORG @runfor
    #raw 0x4F 0x4E 0x2E 0xFE

    #ORG @none
    signmsg
    message @nothing 0x6
    normalmsg
    release
    end

    #ORG @caterpie
    wildbattle 10 5 0
    release
    end

    #ORG @weedle
    wildbattle 13 5 0
    release
    end

    #ORG @aipom
    wildbattle 190 5 0
    release
    end

    #ORG @cascoon
    wildbattle 293 5 0
    release
    end

    #ORG @slakoth
    wildbattle 364 5 0
    release
    end

    #ORG @ledyba
    wildbattle 165 5 0
    release
    end

    #ORG @metapod
    wildbattle 11 5 0
    release
    end

    #ORG @wurmple
    wildbattle 290 5 0
    release
    end

    #ORG @kakuna
    wildbattle 14 5 0
    release
    end

    #ORG @silcoon
    wildbattle 291 5 0
    release
    end

    #ORG @spinarak
    wildbattle 167 5 0
    release
    end

    #ORG @pineco
    wildbattle 204 5 0
    release
    end

    #ORG @nothing
    = There was nothing there.

    Problem: The script works perfectly, but when you say no, it displays @mayhar, and just that. It treats you as if you don't have the Iron Helmet.
    Quoting as I didn't get an answer.
    __________________
    --I'm a creepin'..