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.
This signature has been disabled.
over 350px high
Please review and fix the issues by reading the
You must edit it to meet the limits set by the rules before you may remove the [sig-reason] code from your signature. Removing this tag will re-enable it.
Do not remove the tag until you fix the issues in your signature. You may be infracted for removing this tag if you do not fix the specified issues. Do not use this tag for decoration purposes.
Show disabled signature.
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