Points of Required Attention™
Please chime in on a proposed restructuring of the ROM hacking sections.
Views: 88,478,036
Main | FAQ | Uploader | IRC chat | Radio | Memberlist | Active users | Latest posts | Calendar | Stats | Online users | Search 04-24-24 02:50 PM
Guest: Register | Login

0 users currently in ROM Hacking | 1 guest | 3 bots

Main - ROM Hacking - How to hack Pokemon Advance New thread | New reply


score_under
Posted on 08-24-07 12:17 AM Link | Quote | ID: 63502

Newcomer
Level: 7

Posts: 4/6
EXP: 1150
Next: 298

Since: 07-15-07

Last post: 5831 days
Last view: 5831 days
Pokemon advance hacking - Table of contents


  1. Introduction
  2. The tools
  3. Map hacks
  4. Script editing


IntroductionTop
Hi, this is score_under, only Lvl 3 at the moment (lol).
Anyway, to start hacking pokemon, you will need a rom.
(I'm using pokemon Fire Red version.)
You can find a rom with this strange, enigmatic tool: Google

Now, after that brief intro, move on...


The ToolsTop

  • A brain
  • Advancemap
  • Elitemap
  • VisualBoyAdvance
  • The aforementioned rom.



Map hacksTop

Ok, time to begin a basic hack.
Open Advance Map and load your rom.
Choose "Sort by Map name" from the toolbar's drop-down menu.
Double-click "By Header"
Double-click "PALLET TOWN"
Double-click "PALLET TOWN (3.0)"

-----A BASIC MAP EDIT-----

So, you think Pallet Town is in desperate need of rain?
No?
Oh, well, let's give it some for the hell of it.

First, add some puddles using the tiles available (just about halfway down the scrollbar).
Next, so that the corners don't look so tacky, copy the next image by taking away most of the pale grass and changing the corners of the water.
Yes, it's quite a long job, but great for starting out.

(sorry for large filesize)

Now, to make it rain in-game.
Go to header view and set the weather to rain (or thunderstorm for extra drama).



Now, save the rom.

You can now test it in VisualBoyAdvance.

Success!

Script EditingTop
Go to event view in advancemap.
See that girl on the left? Click on her.
Now, press the SPACE finder on the toolbar, and click OK.
Mine got $71a23c as the first result.
Write it down.
Now, open Scripted (in the elitemap folder) and type

#org 0x71a23c ' The number you wrote down
copyvarifnotzero 0x8000 4
copyvarifnotzero 0x8001 1
callstd 0x1
end


Now, click compile and save it to your rom.

Back in advance map, click the girl again and edit the script offset to what you wrote down.
Save and test.

Now, that girl gives you a pokeball instead of speaking to you!

Now, about that script:

copyvarifnotzero 0x8000 4
copyvarifnotzero 0x8001 1
callstd 0x1

It's not too complicated.

copyvarifnotzero 0x8000 4

This copies 4 (pokeball) into 0x8000 (item to give)

copyvarifnotzero 0x8001 1

This copies 1 into 0x8001 (amount of items)

callstd 0x1

"Got one* Poke ball"
*always says one, no matter what amount, but still gives you the right amount...

PS. Masterball's item ID is 1 (pokeball's is 4, greatball is 3, ultraball is 2)
Happy Hacking



____________________
Roxharis: wake up you lazy ass programmer
Is that wake up you lazy-ass programmer?
Because you're a lazy ass-programmer.

GreyMaria
Posted on 08-24-07 03:45 AM Link | Quote | ID: 63536

>implying even the Japanese understand the Japanese
Level: 105

Posts: 312/2851
EXP: 11919024
Next: 343236

Since: 07-13-07

Last post: 4495 days
Last view: 4465 days
Posted by score_under


  • A brain




I added the tags you forgot. D:


And the images are not lolhueg.

____________________
we're currently experiencing some technical difficulties

Main - ROM Hacking - How to hack Pokemon Advance New thread | New reply

Acmlmboard 2.1+4δ (2023-01-15)
© 2005-2023 Acmlm, blackhole89, Xkeeper et al.

Page rendered in 0.040 seconds. (349KB of memory used)
MySQL - queries: 37, rows: 59/59, time: 0.037 seconds.