The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page Script FireRed: XSE script

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 October 9th, 2018 (7:45 AM).
Detective Flygon's Avatar
Detective Flygon Detective Flygon is offline
 
Join Date: Apr 2018
Location: The Unova Region
Gender: Male
Nature: Timid
Posts: 14
Hey everyone,
I made a script where a npc gives you a metal coat. But when I talk to the npc in game it just plays the beep sound and nothing else. I don't know what to do and would like some input. Heres my script:

#dynamic 0x800657

#org @start
lock
faceplayer
checkflag 0x1273
if 0x1 goto @nomore
msgbox @talk1 0x6
giveitem 0x199 0x1 0x0
setflag 0x1273
release
end

#org @nomore
msgbox @talk2 0x6
release
end

#org @talk1
= Hey there! I found this by the\nMILTANK the other day.\pYou probably know what this is.

#org @talk2
= My favorite POKeMON is SCIZOR! I\nwonder how SCYTHER evolves into\lSCIZOR.
Reply With Quote
  #2   Link to this post, but load the entire thread.  
Old October 9th, 2018 (8:14 AM).
hjk321's Avatar
hjk321 hjk321 is offline
 
Join Date: Sep 2017
Posts: 219
Quote:
Originally Posted by Detective Flygon View Post
Hey everyone,
I made a script where a npc gives you a metal coat. But when I talk to the npc in game it just plays the beep sound and nothing else. I don't know what to do and would like some input. Heres my script:
Since you are using #dynamic, make sure when you compile you copy the offset of your @start and put that as the script offset in A-Map. That's all I can really think of.
__________________
Binary is dead.
Reply With Quote
  #3   Link to this post, but load the entire thread.  
Old October 9th, 2018 (11:31 AM).
Detective Flygon's Avatar
Detective Flygon Detective Flygon is offline
 
Join Date: Apr 2018
Location: The Unova Region
Gender: Male
Nature: Timid
Posts: 14
Quote:
Originally Posted by hjk321 View Post
Since you are using #dynamic, make sure when you compile you copy the offset of your @start and put that as the script offset in A-Map. That's all I can really think of.
I did use the offset from @start
Reply With Quote
  #4   Link to this post, but load the entire thread.  
Old October 9th, 2018 (11:59 AM).
Detective Flygon's Avatar
Detective Flygon Detective Flygon is offline
 
Join Date: Apr 2018
Location: The Unova Region
Gender: Male
Nature: Timid
Posts: 14
So I figured out the issue. On free space finder I had the search interval at 116 instead of 16
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:17 AM.