Teddiursa™
Never Give up
- 185
- Posts
- 17
- Years
- Age 32
- Mt. Silver, i somtimes battle RED!
- Seen Sep 26, 2012
Works for me! i think it was very smart to do this, makes the game cool
(Read my Signiture)
(Read my Signiture)
The improved version doesn't work for me... (the first one does).
I just copied byte by byte the routine under the epigraph "Second issue: The infinity of shinys", permuting the words (ABCD ->CD AB), the only difference is that instead of 71b700 I wrote it at 742300, and in 0x406d0 I wrote 00 23 74 instead of 00 b7 71 (for obvious reasons).
I just opened the memory viewer at the location where I wrote the stuff in 16-bit mode and assured that I haven't commited a mistake copying the words. They're identical.
Am I the only one having issues with this? Because I just don't understand where's the mistake.
Works now! Great success!
First, you should test if it works:Um...I tried the bugfixed version, this time the rom doesnt crash, but how do you make a shiny ecounter...I've been trying for almost one hour, can anyone help??? Sorry for being a loser at ASM,
First, you should test if it works:
In VBA, go to tools/memory viewer and go to 02022000 (there's a goto box in the corner). make the first byte be 01 and hit the box "automatic update". Encounter a pokemon. Shiny? success! the 01 you wrote is now a 00 again? Great success!
Now, if you haven't already done it, copy the asm script that automatically writes the 01 in the memory like you just did in the test:
0071b770h: 07 B5 03 48 01 68 01 22 51 40 01 60 07 BD 00 00 ; .µ.H.h."Q@.`.½..
0071b780h: 00 20 02 02 FF FF FF FF FF FF FF FF FF FF FF FF ; . ..ÿÿÿÿÿÿÿÿÿÿÿÿ
Then you make a common script, with the messages and all the stuff you wish.
Before the battle, use the command
callasm 0xA 'where A is the offset where you write the asm script above+1. In the example, callasm 0x71b771.
In the code you write at 0x04somewhat, there's a part that goes 01 b7 71 08, it's a pointer to 0x71b701. Write the code wherever you want and edit the pointer. Remember that you have to add 1 for the pointer. (ex: you write it at 0x765430, the pointer is 31 54 76 08)hi.
i have gotten this to work properly at last but the offest MMX used (0x71b700) i have things there and i dont want to over write them (because i dont know what it is). I cant seem to get this to work if i place the modified code anywhere else in the rom. please can sombody help me with this.
edit: i ve got it to work from another place in the rom but not without the bit at 0x71b700. i have copyed 0x71b700 to 0x83b700 and did callasm 0x83b771 and it works but not without the same thing at 0x71b700. any suggestions?
thanks in advance
link
In the code you write at 0x04somewhat, there's a part that goes 01 b7 71 08, it's a pointer to 0x71b701. Write the code wherever you want and edit the pointer. Remember that you have to add 1 for the pointer. (ex: you write it at 0x765430, the pointer is 31 54 76 08)