View Single Post
  #55    
Old February 7th, 2009 (8:38 AM).
1KewlDude's Avatar
1KewlDude 1KewlDude is offline
Really busy... STRESS!!
     
    Join Date: Dec 2007
    Location: London
    Age: 24
    Nature: Docile
    Posts: 124
    I have an annoying problem... I made this very long script but it just doesn't work. You just walk right over it, it doesn't freeze or anything. Help!
    Spoiler:
    #dynamic 0x727078

    #org @1
    setvar 0x4000 0x0
    goto @start
    end

    #org @2
    setvar 0x4000 0x1
    goto @start
    end

    #org @3
    setvar 0x4000 0x2
    goto @start
    end

    #org @4
    setvar 0x4000 0x3
    goto @start
    end

    #org @5
    setvar 0x4000 0x4
    goto @start
    end

    #org @start
    compare 0x4000 0x0
    if 0x1 goto @leftdude
    compare 0x4000 0x1
    if 0x1 goto @leftdude
    compare 0x4000 0x2
    if 0x1 goto @leftdude
    compare 0x4000 0x3
    if 0x1 goto @rightdude
    compare 0x4000 0x4
    if 0x1 goto @rightdude
    end

    #org @leftdude
    applymovement 0x08 @left!
    waitmovement 0x0
    applymovement 0xFF @lookleft
    waitmovement 0x0
    compare 0x4000 0x0
    if 0x1 goto @cant
    compare 0x4000 0x1
    if 0x1 goto @moveleft1
    compare 0x4000 0x2
    if 0x1 goto @moveleft2
    end

    #org @rightdude
    applymovement 0x09 @right!
    waitmovement 0x0
    applymovement 0xFF @lookright
    waitmovement 0x0
    compare 0x4000 0x3
    if 0x1 goto @moveright1
    compare 0x4000 0x4
    if 0x1 goto @moveright2
    end

    #org @left!
    #raw 0x62
    #raw 0xFE

    #org @lookleft
    #raw 0x02
    #raw 0xFE

    #org @cant
    msgbox @sorry 0x2
    applymovement 0xFF @back
    compare 0x4000 0x1
    if 0x1 gosub @backleft
    compare 0x4000 0x2
    if 0x1 gosub @backleft2
    compare 0x4000 0x3
    if 0x1 gosub @backright
    compare 0x4000 0x4
    if 0x1 gosub @backright2
    waitmovement 0x0
    release
    end

    #org @moveleft1
    applymovement 0x08 @right1
    waitmovement 0x0
    goto @cant
    end

    #org @moveleft2
    applymovement 0x08 @right2
    waitmovement 0x0
    goto @cant
    end

    #org @right!
    #raw 0x62
    #raw 0xFE

    #org @lookright
    #raw 0x03
    #raw 0xFE

    #org @moveright1
    applymovement 0x09 @left1
    waitmovement 0x0
    goto @cant
    end

    #org @moveright2
    applymovement 0x09 @left2
    waitmovement 0x0
    goto @cant
    end

    #org @sorry
    = Sorry. This passage is blocked due\nto construction.\lFor safety reasons you can't pass.\pHave a nice day!

    #org @back
    #raw 0x10
    #raw 0xFE

    #org @backleft
    applymovement 0x08 @left1
    return

    #org @backleft2
    applymovement 0x08 @left2
    return

    #org @backright
    applymovement 0x09 @right1
    return

    #org @backright2
    applymovement 0x09 @right2
    return

    #org @right1
    #raw 0x13
    #raw 0x02
    #raw 0xFE

    #org @right2
    #raw 0x13
    #raw 0x13
    #raw 0x02
    #raw 0xFE

    #org @left1
    #raw 0x12
    #raw 0x03
    #raw 0xFE

    #org @left2
    #raw 0x12
    #raw 0x12
    #raw 0x03
    #raw 0xFE
    __________________
    Spoiler:

    This was made by me.

    Hacks I support:
    Spoiler:



    Reply With Quote