• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • 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.

[Other] Pokéscript: removing sprites question

  • 3
    Posts
    10
    Years
    • Seen Jul 20, 2015
    Hey guys, I am so sorry if there is already a question like this in the forum but I didn't find anything specific about it that helped me.
    I am looking forward a command that removes a sprite after I interact with it. Everbody knows the little pokéballs that are potions or ethers and when you click "A" next to them you receive the item and the sprite(pokéball) disappears. I have the "receive-item-part" covered but the sprite won't go away. I tested the "removesprite + person no."-command in different combinations but the pokéball still blocks my way (if I don't mess up completly and the game crashes because I messed up the script too much^^).

    Can someone please give me a script which I can copy for this event? Or tell me what I am doing wrong?
    My script atm:
    #org $begin
    lock
    removesprite 10
    checkflag 0x210
    if b_true goto $alreadygot
    message $getitem
    $getitem 1 =
    giveitem 0x22 0x1
    setflag 0x210
    release
    end

    #org $alreadygot
    lock
    faceplayer
    message $onlyone
    $onlyone 1 =
    release
    end
     
    This is probably an answer you're not looking for, but please use XSE
    It's much better than PokeScript in every way
    Not only techacly, but since everyone uses it, it's the best way for you to get help :)

    Ok, so I really want to get a little bit beter at "hacking" although I'm only planning on playing the game by myself and with my gf. I downloaded XSE and read most of the "Comprehensive Scripting Guide" which made a lot of things more clear to me.
    It's a really cool programm but now I did put my first script in and the game won't start anymore on my GBA emulator. I know that gives you pretty much no information, but any advice would be awesome.

    (It was just a simple giveitem script and I deleted it after I couldn't start the game anymore:-S.)

    EDIT: If nobody can help me it's a shame but I'd then make a completly fresh new start. ALso I'd like to apologise that this thread has already only little to do with it's title but I couldn't rename it :/
     
    Last edited:
    Ok, so I really want to get a little bit beter at "hacking" although I'm only planning on playing the game by myself and with my gf. I downloaded XSE and read most of the "Comprehensive Scripting Guide" which made a lot of things more clear to me.
    It's a really cool programm but now I did put my first script in and the game won't start anymore on my GBA emulator. I know that gives you pretty much no information, but any advice would be awesome.

    (It was just a simple giveitem script and I deleted it after I couldn't start the game anymore:-S.)

    EDIT: If nobody can help me it's a shame but I'd then make a completly fresh new start. ALso I'd like to apologise that this thread has already only little to do with it's title but I couldn't rename it :/

    You're going to have to give us some more information. Did you compile and insert the script correctly, if so where did you insert it? What happens when you try to open your ROM? Do you just get a black screen, or something else?
     
    @chrunch
    I know it's almost no information to work with, I thought maybe there would be an autobackup I could use or something along those lines. I inserted some wrong offscripts into the event in advance map and tried to compile XSE-script with the compile programm from "pokéscript" instead of the build in compiler from XSE but in the end I deleted the entire event. The error message is: GBA emulator stopped working, the screen stays black and then the app must be closed forcefully in the task manager instead of normal (I'm talking about the app on android here^^). As I said I don't expect that someone can help me because I don't even know where I made my mistake. However I really appreciate your support. I can imagine how all those threads must feel like as a more active member.

    @JoesefigGamingabout
    The tutorial is already saved in my favorites (firefox) but I only have the XSE about 1 day. I will try to go through it step by step to learn everything I want to include in my Pokémon version^^
    Thanks again for responding.
     
    Back
    Top