• 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.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Which Pokémon Masters protagonist do you like most? Let us know by casting a vote in our Masters favorite protagonist poll here!
  • Red, Hilda, Paxton, or Kellyn - which Pokémon protagonist is your favorite? Let us know by voting in our poll!
  • 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.

[Script] [Emerald] When I'm trying to put a pokéball item into a map, the script activates at the top left corner instead of the position of the item

  • 136
    Posts
    5
    Years
    • Seen Dec 31, 2024
    Here is the item that I am talking about:
    [PokeCommunity.com] [Emerald] When I'm trying to put a pokéball item into a map, the script activates at the top left corner instead of the position of the item


    And here's the current script I have: (The 40 TM01s are just a test.)
    '---------------
    #org 0x2910B4
    giveitem 0x121 0x40 MSG_FIND
    setflag 0x040F
    end

    When I boot up the modded game, the script shows up here, at the top left of the screen:
    [PokeCommunity.com] [Emerald] When I'm trying to put a pokéball item into a map, the script activates at the top left corner instead of the position of the item

    Also, the pokéball does not appear at all.

    And the script works the way I want it to, but I can move back and forth and the thing reappears.
    According to other giveitem pokéballs in other Pokémon Emerald maps, you don't need a green−S script tile on top of the person event.

    Someone please help. I can provide more information if needed.
     
    A level script is probably moving the pokeball, also, make the unknown value 00, 03 probably interferes with the pokeball.

    Also, in your script add this command before setflag:

    hidesprite 0x9.

    Try changing the person event number of the pokeball if else fails and if you do, adjust it in the script as well (hidesprite 0x(personeventnumber)).

    Oh, and I just noticed the look around movement type, try setting that to no movement because you're using a pokeball sprite.
     
    Back
    Top