The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Brane
Reload this Page Conversation Between Brane and tronwert
Sign Up Rules/FAQ Daily Battle Blogs Mark Forums Read

Conversation Between Brane and tronwert
Showing Visitor Messages 1 to 2 of 2
  1. Brane
    January 7th, 2013 11:15 PM
    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.

    #dynamic 0x800000

    #org @start
    special 0x187
    compare LASTRESULT 0x2
    if 0x1 goto @release
    special 0x188
    setwildbattle 0x97 0x5 0x0
    cry 0x91 0x2
    preparemsg @mew '"Gyaoo!"
    pause 0xA
    playsong 0x156 0x0
    setflag 0x201
    special 0x138
    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

    #org @release

    #org @defeated
    setflag 0x202
    goto @end

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

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

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

    #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 2:18 PM
    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
    cry 0x97 0x0
    msgbox @1 0x6
    wildbattle 0x97 0x50 0x00 0x0
    fadescreen 0x1
    hidesprite 0x10
    fadescreen 0x0
    setflag 0x1130

    #org @1
    = Mew!

All times are GMT -8. The time now is 5:31 PM.

Style by Nymphadora, artwork by Sa-Dui.
Like our Facebook Page Follow us on Twitter © 2002 - 2016 The PokéCommunity™,
Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2016 The PokéCommunity / Poké
PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator.

Use of PokéCommunity Assets
vB Optimise by DragonByte Technologies Ltd © 2016.