The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page Script Need Help with scripting

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 15th, 2022 (7:24 AM). Edited February 15th, 2022 by chadwick2118.
chadwick2118 chadwick2118 is offline
 
Join Date: Jun 2016
Posts: 3
Hello All,

I am trying to add a script into Fire Red where; once the player steps on a certain grass tile in the route, it triggers a random one-time shiny Pokemon battle. I don't know if I am just writing the script wrong or don't know how to insert it into the rom effectively. Any help would be appreciated and I will paste my current script here. Thank you.

#dynamic 0x800120

#org @start
checkflag 0x1000
if ox1 goto @end
callasm 0x800121
setvar 0x8003 0x1
setflag 0x1000
wildbattle 0x4 0x3 0x0
end

#org @end
release
end

UPDATE:
I figured out what I was doing wrong with my scripting. I just had to take a long coffee break and collect my thoughts, thank you anyways for consideration.
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:20 AM.