Go Back   The PokéCommunity Forums > tronwert

Notices
For all updates, view the main page.



Conversation Between tronwert and Brane
Showing Visitor Messages 1 to 2 of 2
  1. Brane
    January 7th, 2013 11:15 PM
    Brane
    Considering I've gone and done this for you, gifting me some credit would be appreciated . This script is a bit more complicated then the one in the tutorials, I think that one is actually specifically for script boxes whereas mine should work as a person.

    Spoiler:
    #dynamic 0x800000

    #org @start
    special 0x187
    compare LASTRESULT 0x2
    if 0x1 goto @release
    special 0x188
    lock
    faceplayer
    setwildbattle 0x97 0x5 0x0
    checksound
    cry 0x91 0x2
    preparemsg @mew '"Gyaoo!"
    waitmsg
    waitcry
    pause 0xA
    playsong 0x156 0x0
    waitkeypress
    setflag 0x201
    special 0x138
    waitstate
    clearflag 0x201
    hidesprite 5
    special2 LASTRESULT 0xB4
    compare LASTRESULT 0x1
    if 0x1 goto @defeated
    compare LASTRESULT 0x4
    if 0x1 goto @win
    compare LASTRESULT 0x5
    if 0x1 goto @win
    setflag 0x200
    release
    end

    #org @release
    release
    end

    #org @defeated
    setflag 0x202
    goto @end

    #org @win
    setvar 0x8004 0x91
    goto @finish

    #org @end
    fadescreen 0x1
    hidesprite 5
    fadescreen 0x0
    release
    end

    #org @finish
    fadescreen 0x1
    hidesprite 5
    fadescreen 0x0
    msgbox @flewaway MSG_KEEPOPEN
    release
    end

    #org @mew
    = Gyuu!

    #org @flewaway
    = The Pokemon fled!


    Be sure to set the movement to 11, and the people ID to 0200 or whichever flag you end up changing it to. With this script, the Pokemon will dissapear if you run, use any force running moves like Roar, catch it or defeat it. So essentially you only get one shot. I've set the level to 5 so it was easier to test in a new game so you'll have to change that. Also, I've set the person number as 5 so change the hidesprite '5' to whichever number the person you create is. Also, next time send me a private message (actually please don't I'm not a great scripter D: )
  2. tronwert
    January 6th, 2013 02:18 PM
    tronwert
    look i got it like this and i debuged it now but when i play it doesnt work it doesnt even says nothing

    #org @start
    lock
    faceplayer
    cry 0x97 0x0
    msgbox @1 0x6
    wildbattle 0x97 0x50 0x00 0x0
    fadescreen 0x1
    hidesprite 0x10
    fadescreen 0x0
    setflag 0x1130
    release
    end

    #org @1
    = Mew!

All times are UTC -8. The time now is 06:32 PM.