The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page 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

Notices
For all updates, view the main page.

Binary ROM Hacking Need a helping hand or just want to talk about binary ROM hacks? Get comments and answers to any ROM Hacking-related problems, questions or thoughts you have here.

Ad Content
Reply
 
Thread Tools
  #1   Link to this post, but load the entire thread.  
Old February 3rd, 2021 (11:49 AM).
ShinyTillDawn's Avatar
ShinyTillDawn ShinyTillDawn is offline
 
Join Date: Apr 2020
Posts: 135
Here is the item that I am talking about:


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:

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.
Reply With Quote
  #2   Link to this post, but load the entire thread.  
Old February 3rd, 2021 (6:37 PM).
mcferaligatr's Avatar
mcferaligatr mcferaligatr is offline
 
Join Date: Nov 2018
Posts: 120
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.
__________________
Pokemon NeonBlue:
Reply With Quote
Reply

Quick Reply

Join the conversation!

Create an account to post a reply in this thread, participate in other discussions, and more!

Create a PokéCommunity Account
Ad Content
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 9:18 AM.