The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Creative Discussions > Emulation & ROM Hacking > Research & Development
Sign Up Rules/FAQ Live Battle Blogs Mark Forums Read

Notices

Research & Development Got a well-founded knack with ROM hacking? Love reverse-engineering the Pokémon games? Or perhaps you love your assembly language. This is the spot for polling and gathering your ideas, and then implementing them! Share your hypothesis, get ideas from others, and collaborate to create!
New threads in this forum are to be approved by a moderator before they are displayed. The thread revival limit does not apply here.


Reply
 
Thread Tools
  #51    
Old March 30th, 2013, 10:59 PM
dkp
Unhatched Egg
 
Join Date: Sep 2012
Gender: Male
Sorry to keep polluting this - I think I figured it out.

My clean rom seems to have some weird permission/write errors from getting shared between multiple users (me and me and also me). Effectively it seems I have permissions over some sectors within the directory but not others; I don't even know how that works, I'm guessing. It wasn't returning errors due to the fact that the actual rwx flags are true for me but it seems some parts are read-only. It's... nonsense, absolute nonsense. I made a copy into my current working directory and it seems to have done the job. I'm going to pave over the directory, maybe the partition. So... yay? For the record, this is something that's usually the result of improper mounting and unmounting; always eject your cards at the software level, kids!

The hack base obviously I should have known. The mistake was stupidity on my end. I'm "borrowing" (for private use) an item hack from someone else, and somewhere along the line the effects were repointed, and the author (at absolutely no fault of his own) neglected to say so in his patch. I'm simply a huge idiot. So huge. Sorry about this.

tl;dr its all my fault folks


EDIT: Actually, no, that makes no sense. The items are the same - they're read from the table just the same. It points to the right asm routine (I know this because JPAN here: http://www.pokecommunity.com/showthread.php?t=204861 ); and that asm routine is as posted. All of the edits are positively correct. I know it's reading that item as repel, so then... What? I know for a fact that the only changes to the wild pokemon come from A Map... it makes no sense why I'm still having wild encounters.

I mean it is reading the asm, and I actually do know for a fact nothing has been done to the wild encounter code. So there is no reason it should malfunction, dirty rom or not.


@gogojjtech below; Oh wow. Wow wow. You learn something new everyday.

tl;dr still all my fault folks. But wow.. amazing.
__________________
Hey! If you're a tool maker or you have a resource to contribute, but you're not up to trying to make a guide, I'll be happy to try and write one up for you if you want. All I need is a pm and the offsets.

Last edited by dkp; March 31st, 2013 at 01:27 PM. Reason: wat and other developements
Reply With Quote
  #52    
Old March 31st, 2013, 05:05 AM
gogojjtech's Avatar
gogojjtech
 
Join Date: Nov 2012
Location: Earth
Age: 15
Gender: Male
Nature: Quiet
The repel slows the rate of WEAK wild pokemon, so the first pokemon in your party must be a HIGHER level than the wild pokemon or they will just keep coming out. This is not a result of the byte changes but thats how the repel is supposed to act.
__________________
I believe in Jesus Christ my Savior. If you do too, and aren't scared to admit it, then copy and paste this in your signature.
My Music Hacking Videos
Proof that I'm the third best Temple Run player in the Universe "You callin' me a liar?" "I ain't callin' ya for dinner."
The SoulSilver Music Patch - The Black Music Patch - Mega-Huge Sappy Tutorial - Time-Based Events - Yet Another Sprite Resource
­
Pokémon Platinum Red
Pokémon Platinum Blue
Pokémon Platinum Red
Pokémon Platinum Blue
Pokémon Platinum Red
Pokémon Platinum Blue
Pokémon Platinum Red
Pokémon Platinum Blue
­

Join me in the chat! Get help or just talk, I really don't care :D | Click here: http://chat.linkandzelda.com:9090/?c...omhacking,GoGo
Reply With Quote
  #53    
Old March 31st, 2013, 10:50 PM
robin22gongon's Avatar
robin22gongon
 
Join Date: Sep 2012
Location: Want to know? VM me.
Age: 16
Gender: Male
Nature: Quirky
Send a message via Windows Live Messenger to robin22gongon
For anyone who will try to do this, I modified the script a bit for errors.
Code:
#org @Main
lock
checkitem 0x800E 1
compare LASTRESULT 0x1
if b_>= goto @ThereAreMore
msgbox @RepelExpired 0x3
release
end

#org @ThereAreMore
msgbox @UseAnother 0x5
closeonkeypress
compare LASTRESULT 0x1
if b_true goto @CallASM
end

#org @CallASM
callasm 0x081BFB69
end

#org @RepelExpired
= Repel's effect wore off.

#org @UseAnother
= Repel's effect wore off...\nUse another?
And here's the compiled version of it
Code:
6A 47 0E 80 01 00 21 0D 80 01 00 06 04 6C A2 71 08 0F 00 89 A2 71 08 09 03 6C 02 FF 0F 00 A4 A2 71 08 09 05 68 21 0D 80 01 00 06 01 82 A2 71 08 02 FF 23 69 FB 1B 08 02 FF CC D9 E4 D9 E0 B4 E7 00 D9 DA DA D9 D7 E8 00 EB E3 E6 D9 00 E3 DA DA AD FF 00 FF CC D9 E4 D9 E0 B4 E7 00 D9 DA DA D9 D7 E8 00 EB E3 E6 D9 00 E3 DA DA AD AD AD FE CF E7 D9 00 D5 E2 E3 E8 DC D9 E6 AC FF 00 FF FF FF FF
__________________
LET'S PARTY!

Last edited by robin22gongon; April 1st, 2013 at 01:00 AM. Reason: Added the compiled version
Reply With Quote
  #54    
Old May 20th, 2013, 01:42 PM
joexv's Avatar
joexv
The True XV
 
Join Date: Oct 2012
Location: Oregon
Age: 16
Gender: Male
Nature: Brave
Send a message via Skype™ to joexv
Omg thank you!!!!!!!!! This is really nice in the fire red rom I play on my ipod!!! Thanks!!!!!!!
__________________
75% of Pokemon gamers use cheats and specially made codes to make their pokemon battle-worthy. If you are one of the 25% percent that level their Pokemon up legally, put this in your signature.
-Started by SkittyLover77
I believe in Jesus Christ my Savior. If you do too, and aren't scared to admit it, then copy and paste this in your signature.
Reply With Quote
  #55    
Old August 13th, 2013, 10:33 AM
SSJ4 Furanki's Avatar
SSJ4 Furanki
Got my Zoroark and everything!
 
Join Date: Jul 2006
Age: 20
Nature: Hasty
I've tried putting these scripts into both my hack and an unedited ROM, I keep ending up with the script technically working in XSE, but in game it's still only goes to "Repel's effect wore off." without the option to choose whether you want to use it.
__________________
Hacks I'm currently working on:
DarkCopper (Only at 1st Gym Area)

My X/Y Team:

Reply With Quote
  #56    
Old November 23rd, 2013, 12:13 PM
Tide's Avatar
Tide
Nocturnal ROM Hacker
 
Join Date: Jul 2011
Location: Florida, United States
Gender: Male
Nature: Careful
Send a message via Skype™ to Tide
So, this new feature really fascinated me, as it was one of my favorite aspects of convenience in Black and White. I gave this process a few tries, and I came up with the same result. I use a Repel, and when I run enough for the repel to expire, no script pops up at all.


(http://www.youtube.com/watch?v=JVnRVfGm4Tk)

I figured it'd be most efficient to just capture everything I did, that way anyone can see my mistake rather than me misinterpreting in a tedious conversation on knowledge I am unfamiliar with. Therefore, I made a 3 day conversation to a 12 minute video.
Reply With Quote
  #57    
Old December 9th, 2013, 09:11 PM
The Shiny Ho-Oh's Avatar
The Shiny Ho-Oh
Golden Bird
 
Join Date: Sep 2010
Location: In the Blazing Skies
Age: 20
Gender: Male
Nature: Bold
I need some help with this. I have everything done, but I don't know how to put a pointer at 08083100.
Currently, when I use a repel, I can run for a while, then it ends without giving me any message boxes.
So, I've been getting a little bit of help with this. Turns out, I wasn't doing the pointer correctly. I needed to write it 67 45 23 01 as opposed to 01 23 45 67, however, even after doing this correctly, it appears that things aren't going right. I still get no popup, and Pokemon start appearing after the repel runs out.


Jesus. I talked to my programming teacher about this today, and he and I spent about an hour getting this working. Worth it.
__________________

Last edited by The Shiny Ho-Oh; December 13th, 2013 at 04:02 PM.
Reply With Quote
  #58    
Old December 23rd, 2013, 04:51 AM
vizor
 
Join Date: Dec 2011
Gender: Female
I had some Problems researching the offests for a german Fire Red Version, even though i was pretty sure i got them (i was not sure at two or three offsets), the game resets every time after i use a Repel.
Could you post the Offest for a german rom, too?

Vizor
Reply With Quote
  #59    
Old January 27th, 2014, 07:30 PM
SSJ4 Furanki's Avatar
SSJ4 Furanki
Got my Zoroark and everything!
 
Join Date: Jul 2006
Age: 20
Nature: Hasty
This is the most recent attempt I have at this, I attempted editing it. I changed all the necessary parts and the message doesn't pop up. I have the pointer at 083100 as cbba1b to reflect the offset but in reverse.

'-----------------------
#org 0x1BABCB
lock
checkitem 0x800E 0x1
compare LASTRESULT 0x1
if 0x4 goto 0x880001C
msgbox 0x8800039 '"Repel's effect wore off."
callstd 0x3
release
end

'-----------------------
#org 0x80001C
msgbox 0x81C68F2 '"Repel's effect wore off...\nUse ano..."
closeonkeypress
compare LASTRESULT 0x1
if 0x1 goto 0x81C6A02
end

'-----------------------
#org 0x1C6A02
callasm 0x81BFB69
end

'---------
' Strings
'---------
#org 0x800039
= Repel's effect wore off.

#org 0x1C68F2
= Repel's effect wore off...\nUse another?

EDIT: Did it again, when the steps are up instead of the message popping up, it sends me to the Union Room, I get an error message and the game restarts.

EDIT 2: Pointed it somewhere else. It's almost there. It works sort of, if forces me to use the next Repel instead of giving me the choice.
__________________
Hacks I'm currently working on:
DarkCopper (Only at 1st Gym Area)

My X/Y Team:


Last edited by SSJ4 Furanki; February 6th, 2014 at 03:09 PM.
Reply With Quote
  #60    
Old 4 Weeks Ago, 07:24 PM
rhettz_emboar's Avatar
rhettz_emboar
Did you just pee??
 
Join Date: Mar 2013
Location: Philippines
Gender: Male
I may sound too noob here, but how can I do this?? >_<
Quote:
Finally, replace the pointer at 08083100 with the pointer to the script. TADA! It's done. It works a treat. Let me know if you guys have any trouble, or if you find an issue with it.
I went to 083100 on HxD but I dont know what to do next. If how can I replace the pointer with the pointer on my script.

Also, where should I paste this?
Quote:
Here's a compiled version of the script for anyone having problems:
Code:
6A 47 0E 80 01 00 21 0D 80 01 00 06 04 1C 00 80 08 0F 00 39 00 80 08 09 03 6C 02 FF 0F 00 54 00 80 08 09 05 68 21 0D 80 01 00 06 01 32 00 80 08 02 FF 23 69 FB 1B 08 02 FF CC D9 E4 D9 E0 B4 E7 00 D9 DA DA D9 D7 E8 00 EB E3 E6 D9 00 E3 DA DA AD FF 00 FF CC D9 E4 D9 E0 B4 E7 00 D9 DA DA D9 D7 E8 00 EB E3 E6 D9 00 E3 DA DA AD AD AD FE CF E7 D9 00 D5 E2 E3 E8 DC D9 E6 AC FF 00 FF FF FF FF
__________________


I hate people like you..
[/SIZE]
Reply With Quote
  #61    
Old 4 Weeks Ago, 11:56 PM
ShyRayq's Avatar
ShyRayq
Unprofessional Unprofessional
 
Join Date: Aug 2007
Gender: Male
Nature: Adamant
Quote:
Originally Posted by rhettz_emboar View Post
I may sound too noob here, but how can I do this?? >_<


I went to 083100 on HxD but I dont know what to do next. If how can I replace the pointer with the pointer on my script.

Also, where should I paste this?
Okay, so you paste the script into free space, basically anywhere that has loads of FFs.
Now, take the offset that you put the script in. For this example it will be 0xABCDEF.

Now go to 0x8083100, and replace that pointer with your pointer.
In this case, you split your offset into parts of 2: AB CD EF
Swap the first and last terms: EF CD AB
Then slap 08 on the end. That's your pointer: EFCDAB08
Replace what is at 0x8083100 with your pointer and it should work.
__________________
3DS Friend Code: 5069-3944-3902
IGN: Peter, Pokemon Y
Friend Safari: (Fighting) Throh, Meditite, Breloom
Live Pokedex Completed as of 02/03/14
Big thanks especially to DestinedJagold, Xerneas_X and Elements1

PM me if you want to trade, or add my FC.
Reply With Quote
  #62    
Old 3 Weeks Ago, 07:59 PM
Lucariokid13's Avatar
Lucariokid13
 
Join Date: Aug 2011
Gender: Male
Nature: Calm
I have a problem too it's extremely weird, I got the script to show up but when I select the yes option it resets
__________________
I'm the power of the Aura

Lucariokid13 c:
Reply With Quote
Reply
Quick Reply

Sponsored Links


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
Minimum Characters Per Post: 25



All times are UTC -8. The time now is 09:51 AM.


Style by Nymphadora, artwork by Sa-Dui.
Like our Facebook Page Follow us on Twitter © 2002 - 2014 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2014 The PokéCommunity / PokéCommunity.com.
PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator.