The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page Script REPEL USE !!!

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 19th, 2016 (1:08 AM). Edited November 6th, 2016 by Froosty.
Froosty's Avatar
Froosty Froosty is offline
The_Learner
 
Join Date: Sep 2014
Location: Somewhere in this world.
Age: 25
Gender: Male
Nature: Brave
Posts: 535
Straight to the point !!!

can anyone tell me if there is anyway We can use a repel by running a script...
for eg, if I talk to a man and the repel is activated...
.
.
what basically I am asking is,
if there is anyway to activate the repel or super repel or max repel use withouth actually usuing a repel....
.
.
also is there any way to make not battling for 100 steps or so on ???


Hoping for replies !!!
__________________
My works:
TOOL: TL's Quick Enhancer
TUTORIAL: Fire red habitat editing
TUTORIAL: Fire red Transparent text-box


| |
Reply With Quote
  #2   Link to this post, but load the entire thread.  
Old October 19th, 2016 (1:17 AM).
DizzyEgg's Avatar
DizzyEgg DizzyEgg is offline
 
Join Date: Feb 2014
Location: Poland
Age: 25
Gender: Male
Nature: Quiet
Posts: 794
Yeah, get a FR IDB, open it in IDA, search for repel, find the script, modify it, same with 100 steps.
__________________
Support Pokeemerald!

Pokeemerald starter pack:
Emerald Expansion
Reply With Quote
  #3   Link to this post, but load the entire thread.  
Old October 19th, 2016 (4:38 AM).
Froosty's Avatar
Froosty Froosty is offline
The_Learner
 
Join Date: Sep 2014
Location: Somewhere in this world.
Age: 25
Gender: Male
Nature: Brave
Posts: 535
Quote:
Originally Posted by DizzyEgg View Post
Yeah, get a FR IDB, open it in IDA, search for repel, find the script, modify it, same with 100 steps.
Sorry but i didnt get the short-forms can you tell in detsils pls ....
__________________
My works:
TOOL: TL's Quick Enhancer
TUTORIAL: Fire red habitat editing
TUTORIAL: Fire red Transparent text-box


| |
Reply With Quote
  #4   Link to this post, but load the entire thread.  
Old October 20th, 2016 (8:41 AM).
Sea Dragon Sea Dragon is offline
 
Join Date: Mar 2016
Location: Maine
Gender: Male
Nature: Quiet
Posts: 22
You might find something by looking into how the BW repel system was done.
http://www.pokecommunity.com/showthread.php?t=291023
Reply With Quote
  #5   Link to this post, but load the entire thread.  
Old October 20th, 2016 (1:07 PM).
Blah's Avatar
Blah Blah is offline
Free supporter
 
Join Date: Jan 2013
Location: Unknown Island
Gender: Male
Posts: 1,924
Repoint the script at 08083100 to your new script.

In your new script, checkitem for repels you want to use. Setvar 0x4020 the amount of steps for the repel to be active. It's that easy, no need to use external ASM and further changes. :)

Setting var 0x4020 to the amount of repel steps is also useful for other things, because a Pokemon can't be encountered while it's not zero. Though it's decremented when you take a step, anway.
__________________
...
Reply With Quote
  #6   Link to this post, but load the entire thread.  
Old October 20th, 2016 (1:23 PM).
DizzyEgg's Avatar
DizzyEgg DizzyEgg is offline
 
Join Date: Feb 2014
Location: Poland
Age: 25
Gender: Male
Nature: Quiet
Posts: 794
Quote:
Originally Posted by FBI View Post
Setting var 0x4020 to the amount of repel steps is also useful for other things, because a Pokemon can't be encountered while it's not zero.
Actually it can when it has higher level than the one your party leading poke has.
Don't mind that remark tho. I'm just bored.
Reply With Quote
  #7   Link to this post, but load the entire thread.  
Old October 20th, 2016 (9:12 PM).
Froosty's Avatar
Froosty Froosty is offline
The_Learner
 
Join Date: Sep 2014
Location: Somewhere in this world.
Age: 25
Gender: Male
Nature: Brave
Posts: 535
Quote:
Originally Posted by Sea Dragon View Post
You might find something by looking into how the BW repel system was done.
http://www.pokecommunity.com/showthread.php?t=291023
Searched this whole thread and posts already... no working information
:(

Quote:
Originally Posted by FBI View Post
Repoint the script at 08083100 to your new script.

In your new script, checkitem for repels you want to use. Setvar 0x4020 the amount of steps for the repel to be active. It's that easy, no need to use external ASM and further changes. :)

Setting var 0x4020 to the amount of repel steps is also useful for other things, because a can't be encountered while it's not zero. Though it's decremented when you take a step, anway.
I tried this method already but seems like not working ....


Quote:
Originally Posted by DizzyEgg View Post
Actually it can when it has higher level than the one your party leading poke has.
Don't mind that remark tho. I'm just bored.
It must be the case to setvar command..... any else method ???
__________________
My works:
TOOL: TL's Quick Enhancer
TUTORIAL: Fire red habitat editing
TUTORIAL: Fire red Transparent text-box


| |
Reply With Quote
  #8   Link to this post, but load the entire thread.  
Old October 21st, 2016 (4:57 AM).
Blah's Avatar
Blah Blah is offline
Free supporter
 
Join Date: Jan 2013
Location: Unknown Island
Gender: Male
Posts: 1,924
It is working, that's the way we did it in the community hack. You are probably doing something incorrectly.

1) Make your repel script
2) Compile it in the ROM
3) Instead of giving the address to an NPC in A-map write the address in "reverse-hex", without adding +1, to 0x8083100
__________________
...
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:14 AM.