View Single Post
May 4th, 2011, 01:41 PM
ASM is my life now...
Join Date: May 2008
Well now you would need to search where is the routine (the part of it) that sets the byte at 02022B4C to 00. In case you haven't noticed yet, the routine writes values to that adress (Which i usually call Battle Flag, so lets call it for now on) 2 times. The first time its for resetting the flag to 00 and the second time is to
!! <--IMPORTANT!) a value depending the original event (trainer or wild battle).
To help you, here's the offset of the final write (the one that's going to decide what type of battle it is): 0801065C. At this location you're going to find an asm command "str r1 [r2, #0x0]". This is when the routine sets the the value for the battle. Make a branch there and change r1 into the value whatever A0 or whatever the value you need to put the ghost battle before that command is executed.
My Site (UNDER CONSTRUCTION):
(mage by Xryo)
Sou o Dark rayquaza da antiga myutsu.net
My Laptop SPECS
Credits to Eagledelt for the wonderfull sign :D
View Public Profile
Send a private message to sonic1
Find all posts by sonic1
Find threads started by sonic1
Ignore Posts by sonic1