• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.
T
Reaction score
17

Profile posts Latest activity Postings About

  • (just use a different var for each flag, then only use var vaules 0-1, then it's like a flag.)
    #dynamic 0x000000

    #org @start
    lock
    faceplayer
    compare 0x5001 0x1
    if 0x1 goto @1581set
    compare 0x5000 0x1
    if 0x1 goto @1580set
    checkitem ITEM_MOOMOOMILK 2
    compare LASTRESULT 0x1
    if 0x1 goto @havethemilk
    compare 0x5002 0x1
    if 0x1 goto @1582set
    msgbox @wygb MSG_NORMAL
    setvar 0x5002 0x1
    release
    end

    #org @1581set
    msgbox @sell MSG_NORMAL
    pokemart @pokemart
    release
    end

    #org @1582set
    msgbox @getbusy MSG_NORMAL
    release
    end

    #org @havethemilk
    removeitem ITEM_MOOMOOMILK 2
    msgbox @gimmethemilk MSG_NORMAL
    setvar 0x5001 0x1
    release
    end

    #org @1580set
    checkitem ITEM_GREPABERRY 1
    compare LASTRESULT 0x1
    if 0x1 goto @havetheberry
    msgbox @youonly MSG_NORMAL
    release
    end

    #org @havetheberry
    removeitem ITEM_LEEMONBERRY 1
    msgbox @gimmetheberry MSG_NORMAL
    applymovement LASTTALKED @moveup
    pause 0x100
    applymovement LASTTALKED @movedown
    msgbox @deserve MSG_NORMAL
    giveitem ITEM_GOLDTEETH 1 MSG_OBTAIN
    setvar 0x5000 0x1
    release
    end

    #org @gimmethemilk
    = RYAN: You got the MOOMOO MILK!\nGive it to me now.

    #org @wygb
    = RYAN: Hey, [player]!\nSo you're here eh?\pRYAN: If I can recall, you need a\nPIKA-CHEW, correct?\pRYAN: Ah, I'm sorry to disappoint\nyou, but I've ran out of the basic\lingredients for it.\pRYAN: I need [fr_blue]2 bottles of MOOMOO\nMILK and a LEEMON BERRY[black_fr].\pRYAN: Bring me those and I'll make\nyou a PIKA-CHEW free of charge.

    #org @youonly
    = RYAN: I only need a LEEMON BERRY\nnow.

    #org @gimmethemilk
    = RYAN: You got the LEEMON BERRY!\nGive it to me now.

    #org @getbusy
    = RYAN: Chop-chop, get busy!\pRemember, I need [fr_blue]2 bottles of\nMOOMOO MILK and a LEEMON BERRY[black_fr].

    #org @deserve
    = RYAN: Here you go, buddy!\nYou deserve it! Use it wisely.

    #org @sell
    = RYAN: Hello, dear friend! I have a\nspecial discount just for you!\pNow, what can I do for you?

    #org @pokemart
    #raw word ITEM_BERRYJUICE
    #raw word ITEM_RARECANDY
    #raw word 0x0

    #org @moveup
    #raw 0x11 0x13 0x11 0x60 0xFE

    #org @movedown
    #raw 0x10 0x12 0x10 0x61 0xFE
    no kul. jaz pa mam zaj malo problem ker mam dva roma ( fr pa ruby) pa mam na obojem enaki progress samo z drugimi tilesami pa malo drugačnimi scripti zaj pa nevem če bi delo naprej na fr al na ruby nevem.
    Sorry, I just noticed a MAJOR problem in my hack and am trying to fix it. I am REALLY sorry fot the delay.
    Okay try this ( I assumed that you didn't need two flags to be set at the same time, if so you can tell me and I will change it. if setvar 0x1 is set when you setvar 0x2 the value is now two no longer one)
    #dynamic 0x000000

    #org @start
    lock
    faceplayer
    compare 0x5000 0x2
    if 0x1 goto @1581set
    compare 0x5001 0x1
    if 0x1 goto @1580set
    checkitem ITEM_MOOMOOMILK 2
    compare LASTRESULT 0x1
    if 0x1 goto @havethemilk
    compare 0x5000 0x3
    if 0x1 goto @1582set
    msgbox @wygb MSG_NORMAL
    setvar 0x5000 0x3
    release
    end

    #org @1581set
    msgbox @sell MSG_NORMAL
    pokemart @pokemart
    release
    end

    #org @1582set
    msgbox @getbusy MSG_NORMAL
    release
    end

    #org @havethemilk
    removeitem ITEM_MOOMOOMILK 2
    msgbox @gimmethemilk MSG_NORMAL
    setvar 0x5000 0x1
    release
    end

    #org @1580set
    checkitem ITEM_GREPABERRY 1
    compare LASTRESULT 0x1
    if 0x1 goto @havetheberry
    msgbox @youonly MSG_NORMAL
    release
    end

    #org @havetheberry
    removeitem ITEM_LEEMONBERRY 1
    msgbox @gimmetheberry MSG_NORMAL
    applymovement LASTTALKED @moveup
    pause 0x100
    applymovement LASTTALKED @movedown
    msgbox @deserve MSG_NORMAL
    giveitem ITEM_GOLDTEETH 1 MSG_OBTAIN
    setvar 0x5000 0x2
    release
    end

    #org @gimmethemilk
    = RYAN: You got the MOOMOO MILK!\nGive it to me now.

    #org @wygb
    = RYAN: Hey, [player]!\nSo you're here eh?\pRYAN: If I can recall, you need a\nPIKA-CHEW, correct?\pRYAN: Ah, I'm sorry to disappoint\nyou, but I've ran out of the basic\lingredients for it.\pRYAN: I need [fr_blue]2 bottles of MOOMOO\nMILK and a LEEMON BERRY[black_fr].\pRYAN: Bring me those and I'll make\nyou a PIKA-CHEW free of charge.

    #org @youonly
    = RYAN: I only need a LEEMON BERRY\nnow.

    #org @gimmethemilk
    = RYAN: You got the LEEMON BERRY!\nGive it to me now.

    #org @getbusy
    = RYAN: Chop-chop, get busy!\pRemember, I need [fr_blue]2 bottles of\nMOOMOO MILK and a LEEMON BERRY[black_fr].

    #org @deserve
    = RYAN: Here you go, buddy!\nYou deserve it! Use it wisely.

    #org @sell
    = RYAN: Hello, dear friend! I have a\nspecial discount just for you!\pNow, what can I do for you?

    #org @pokemart
    #raw word ITEM_BERRYJUICE
    #raw word ITEM_RARECANDY
    #raw word 0x0

    #org @moveup
    #raw 0x11 0x13 0x11 0x60 0xFE

    #org @movedown
    #raw 0x10 0x12 0x10 0x61 0xFE
    They are; flags only have 2 values, 0, and 1. while vars can go all the way to 0xFFFF (well I never gave it that value, so I am not sure if it goes that high XD)
  • Loading…
  • Loading…
  • Loading…
Back
Top