|
Generation 3 (Traditional) Traditionally, Generation 3 is hacked using tools, hex editors and patches. This is for you if you do that. |
![]() |
|
Thread Tools | Display Modes |
![]() |
#1 |
Random Uruguayan Guy
Join Date: Jan 2015
Location: Montevideo (Uruguay)
Posts: 12
![]() |
![]() Hi.
In the past few days, I've been working on a Wonder Trade script after seeing the one that the user Harlee Quinn came up with. Since it has some pretty nasty flaws and it can't be used in serious projects, I've decided to share it. So without further ado, let's do this. For this tutorial we'll need: -A Pokémon Fire Red (USA) v1.0 ROM or a Pokémon Emerald (USA) ROM. -A GBA Emulator -Whichever text and hex editors you prefer to use. -HackMew's Assembler which you can find right here -HackMew's "Take Pokémon" ASM Routine which you can find right here -Advance Map and XSE, obviously. Instructions: 1) Compile the "Take Pokémon" Routine made by HackMew which I linked up there. Use the Fire Red or the Emerald version depending on which ROM you're modifying. Here's a video showing the process. Here's the compiled routines for those who are lazy: Fire Red:
Spoiler:
Emerald:
Spoiler:
Then paste the compiled routine in an offset with at least 50 bytes of free space. You can search one using Free Space Finder or your Hex Editor itself (lots of FF Bytes = Free Space). Since I like to play things safe, I also suggest you to use an offset that ends in 0, 4, 8 o C. I've put it the Routine for Fire Red in 71A250 and the one for Emerald in E3CF80. 2) Go to Advance Map, choose a map and add a NPC on it with the following script, again, depending on which ROM you're modifying Fire Red:
Spoiler:
Emerald:
Spoiler:
Note: FFFFFF+1 = Offset where you've put HackMew's Routine, +1. As I said before I dropped it in 71A250, which means that I'll have to use "callasm 0x871A251". In the case of Emerald I've put it in E3CF80, that means that I'll have to use "callasm 0x8E3CF81". 3) Test. Credits -Harlee Quinn, because her/his script inspired me to make this. -Bela, because he told me how to check if the Player decides to cancel the special 0x9F by using the B Button. -HackMew for all the contributions that she has made to the Pokémon ROM Hacking Community. -Dani_SR_17 from Wahack for his suggestion to optimize the filter in #org @snippet4. -BluRose for helping me to understand an incredibly stupid mistake that I was having while implementing said filter. -Anonymous tester from Pokémon Shiny Gold Sigma for noticing that Eggs were tradable. -LuHo for creating Advance Map. Here's a quick video showcasing the result in Fire Red. Here's a quick video showcasing the result in Emerald. And that's it.
__________________
![]() Last edited by Alice; 2nd March 2018 at 10:35 PM. |
![]() |
![]() |
|
Sponsored Links |
![]() |
Tags |
gen, iii, lunos, system, trade, [Tutorial] |
Thread Tools | |
Display Modes | |
|
|