The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page Script I need some help with adding Item Scripts in Emerald

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 August 7th, 2020 (3:46 AM).
dearman4's Avatar
dearman4 dearman4 is offline
 
Join Date: Nov 2017
Location: Michigan
Age: 30
Gender: Male
Nature: Quirky
Posts: 620
I am trying to add a field use script to an item in Emerald using this: https://www.pokecommunity.com/showpost.php?p=8316351&postcount=13

Other people seem to have success with it but I am having trouble. I am trying to have an item set or clear a flag (200) but I either get a black screen or the item is selected with no message and the cursor is locked until B is pressed, with the flag not being set or cleared. I have Phenom's routine inserted at 0xE446D0 with the script I am trying to run at 0xE44512 so the pointer is 12 45 E4 and using the Complete Item Editor I have the item (Exp. Share if that matters) Type set to Use-of-SELECT and Use set to 01 Anywhere, in the Script Item section, ScriptOffset at 08E44512, and ASM offset at 08E446D0. Is there something I am doing wrong?
__________________
My ROM hack, Pokemon Emerald Final:
https://www.pokecommunity.com/showthread.php?p=9898603
My beginner's devkit tutorial:
https://www.pokecommunity.com/showthread.php?t=411844
Reply With Quote
  #2   Link to this post, but load the entire thread.  
Old August 7th, 2020 (7:01 PM). Edited August 7th, 2020 by Fansity.
Fansity Fansity is offline
 
Join Date: Jun 2019
Location: Brasil
Gender: Male
Nature: Calm
Posts: 41
The offset routine should be the 08E446D1, and not 08E446D0
Test and see if it works.

I recommend using the Gen 3 Tools. He is one of the best rom editors and ROM GBA hacks of Pokémon.

A print of the configuration of my Exp Share. I also use this same routine as yours.
Field script is offset ASM.
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

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:15 AM.