View Single Post
  #770    
Old May 13th, 2012 (4:10 PM).
LudicoloDude's Avatar
LudicoloDude LudicoloDude is offline
     
    Join Date: Mar 2012
    Location: Hoenn
    Age: 19
    Gender: Male
    Nature: Jolly
    Posts: 34

    #dynamic 0x800300
    #org @start
    lock
    faceplayer
    checkflag 0x200
    if 0x1 goto @done
    applymovement 0x1 @move1
    msgbox @1 0x5
    compare 0x800d 0x1
    if 0x1 goto @quake
    msgbox @2 0x4
    closeonkeypress
    applymovement 0x1 @move2
    release
    end
    #org @quake
    lock
    faceplayer
    msgbox @3 0x4
    closeonkeypress
    setvar 0x8004 0xF
    setvar 0x8005 0xF
    setvar 0x8006 0xF
    setvar 0x8007 0xF
    special 0x136
    setflag 0x200
    release
    end
    #org @done
    lock
    faceplayer
    msgbox @4 0x6
    release
    end
    #org @move1
    #raw 0x10
    #raw 0x10
    #raw 0x10
    #raw 0x10
    #raw 0x12
    #raw 0x12
    #raw 0x12
    #raw 0xFE
    #org @move2
    #raw 0x13
    #raw 0x13
    #raw 0x13
    #raw 0x11
    #raw 0x11
    #raw 0x11
    #org @1
    = Do you want me to summon\nan earthquake?
    #org @2
    = Maybe next time.
    #org @3
    = HIYA!
    #org @4
    = I broke all of my bones to\ndo that.

    I'm not sure what is wrong with this, but what I wanted it to do is when I press no, the sprite will go back to where it came from. what is wrong with this?

    Reply With Quote