The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page Script Scripting help

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 July 8th, 2018 (5:29 AM).
Tomahawk1996 Tomahawk1996 is offline
 
Join Date: May 2018
Location: United Kingdom
Gender: Male
Nature: Timid
Posts: 16
Hey all you expert hackers and noobs like me,

I'm making my own Fakemon hack and its going well so far, I'm a beginner and have been going on trial and error for most parts, slowly figuring things out as I go along.

I've recently hit a bit of a wall in the technical side of things, i'm not a pro hacker by any means and hex hacking kinda scares me a little. I've figured a few things out like how to give badges out (I've made the 8th gym to be the first gym) I just want a bit of help with the HM's, I'd like my first gym to give out the ability to use Cut, i'm just not quite sure how to go about it.

I'm not a social guy so I've been trying to search up the info but to no avail. This is my first post here on Pokecommunity and I'm hoping you guys can help as many of the posts I've read here have helped before.

Thanks in advance.
Reply With Quote
  #2   Link to this post, but load the entire thread.  
Old July 8th, 2018 (5:38 AM).
Karl's Avatar
Karl Karl is offline
Creator of Pokémon Darkfire
 
Join Date: Nov 2010
Location: London, UK
Gender: Male
Nature: Calm
Posts: 168
The badge associated with unlocking the use of Cut outside of battle is the Cascade Badge (or second badge).

Therefore, assuming you're hacking Fire Red, in order to allow the player to use Cut outside of battle you would have to use the 'setflag 0x821' command. This will also however activate the second badge.

Here's list of relevant flags:

Spoiler:
Code:
0x820	Activates First Badge
0x821	Activates Second Badge
0x822	Activates Third Badge
0x823	Activates Fourth Badge
0x824	Activates Fifth Badge
0x825	Activates Sixth Badge
0x826	Activates Seventh Badge
0x827	Activates Eighth Badge
0x828	Activates Pokemon Menu
0x829	Activates Pokedex Menu
0x82F	Activates Running Shoes


Hope this helps.
__________________

Reply With Quote
  #3   Link to this post, but load the entire thread.  
Old July 8th, 2018 (5:38 AM).
hjk321's Avatar
hjk321 hjk321 is offline
 
Join Date: Sep 2017
Posts: 219
I'm almost as lost as you are as to this, but I'm pretty sure the use of cut is directly linked to the cascade badge. Unfortunately it is hard-coded this way and I don't think anyone has figured out how to change this behavior.

BUT what you can do is edit the sprite for the badge and the text to be the viridian city badge, then give the edited cascade badge to the player using
Code:
setflag 0x821
(assuming you are using FireRed)

Hope this helps.
__________________
Binary is dead.
Reply With Quote
  #4   Link to this post, but load the entire thread.  
Old July 8th, 2018 (6:34 AM).
Tomahawk1996 Tomahawk1996 is offline
 
Join Date: May 2018
Location: United Kingdom
Gender: Male
Nature: Timid
Posts: 16
Ahh okay, Thanks for the help guys! I'll try it out and see how it goes. might just need to tweak some cut trees around as a way of working around :) (and yes I'm using Fire red, should have said sorry!)
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:20 AM.