KazoWAR Posted May 25, 2009 Posted May 25, 2009 I am still very new at making AR codes and now I have been trying to convert my 34 different music codes in to one big code that you can use the calculator poketch to change them, like the USA Wild Pokemon, Level and Nature Modifier code by SCV. Now the problem I am having is that it seems that the location in RAM for the Calculator's display changes each time it boots the game. when i first began work, i mapped its location and made a test code, it consisted of 3 different music codes to pick and I was able to switch between them all. Then I finished it up for 14 other codes, all 16 battle themes and mute for trainer battles. I tested that and it was working still. I closed the emulator, I then made the last 17 for wild battles. I reopen the emulator and it was not working, even for the trainer codes. I then removed the wild battle codes and its still not working. I remove the rest of the codes and only had the original 3, still not working. I test with only one code and that if the calculator reads 1 and start is pressed then play this song at the start of a trainer battle, STILL NOT WORKING! Now I am all upset because I don't know what gives, it was working before. I then decide to go back one last step and remap the calculators display location. Its in a DIFFERENT location! I close and reopen the emulator again and remapped, and its in a 3rd location. Rinse and repeat and its in a 4th, 5th, and 6th location! They are very close to each other, in my 5 remappings, they all resided in 0238FExx, xx being that in each mapping the last 2 values where different. Here is a sample of my code, remember that in my original mapping, 238FE0C was the location of the calculators display location. 94000130 FFF70000 5238FE0C 00000002 0210B76C 00103DE0 1210B770 00002050 D2000000 00000000 How does his code now where to read for the poketch calculator's display location when it changes ever time the game loads?
Jiggy-Ninja Posted May 26, 2009 Posted May 26, 2009 94000130 FDFF0000 94000130 FDFF0000 B2101D40 00000000 D9000000 00111D10 C0000000 0000000C DC000000 00000004 D6000000 000233E8 D1000000 00000000 C0000000 0000000A D6000000 000233E8 D2000000 00000000 94000130 FEFF0000 B2101D40 00000000 D9000000 00111D10 C0000000 0000000C D6000000 000233E8 DC000000 00000004 D2000000 00000000 94000130 FFFB0000 B2101D40 00000000 DA000000 00111D10 D4000000 00002400 D3000000 00000000 D7000000 0207404C D2000000 00000000 Relevant areas are bolded. 5 is one of those "If" statements, so to do what you want to do, you'll need this: B2101D40 00000000 DC000000 00111D10 50000000 YYYYYYYY If those 0 and 1 statements never change location, you'll need to wipe the offset register with D3000000 00000000 before writing those. So, in the end, your code is: 94000130 FFF70000 B2101D40 00000000 DC000000 00111D10 50000000 00000002 D3000000 00000000 0210B76C 00103DE0 1210B770 00002050 D2000000 00000000 I look forward to this. :kikkoman:
KazoWAR Posted May 26, 2009 Author Posted May 26, 2009 94000130 FDFF000094000130 FDFF0000 B2101D40 00000000 D9000000 00111D10 C0000000 0000000C DC000000 00000004 D6000000 000233E8 D1000000 00000000 C0000000 0000000A D6000000 000233E8 D2000000 00000000 94000130 FEFF0000 B2101D40 00000000 D9000000 00111D10 C0000000 0000000C D6000000 000233E8 DC000000 00000004 D2000000 00000000 94000130 FFFB0000 B2101D40 00000000 DA000000 00111D10 D4000000 00002400 D3000000 00000000 D7000000 0207404C D2000000 00000000 Relevant areas are bolded. 5 is one of those "If" statements, so to do what you want to do, you'll need this: B2101D40 00000000 DC000000 00111D10 50000000 YYYYYYYY If those 0 and 1 statements never change location, you'll need to wipe the offset register with D3000000 00000000 before writing those. So, in the end, your code is: 94000130 FFF70000 B2101D40 00000000 DC000000 00111D10 50000000 00000002 D3000000 00000000 0210B76C 00103DE0 1210B770 00002050 D2000000 00000000 I look forward to this. :kikkoman: Thanks! SCV help me out a little bit on the IRC, but what you showed me here help me make the code alot smaller! Its completed and a BEAST I made it user friendly so instead of entering the decimal value for the music's hex value, you just enter in 0-17 and press start.
KazoWAR Posted May 27, 2009 Author Posted May 27, 2009 I submitted the code to be added to the list of codes in the USA Platinum OFFICIAL AR Codes thread, but so far its not been added yet. I will post it here for the mean time. Made by KazoWAR Battle Music Modifier 94000130 FFF70000 B2101D40 00000000 DA000000 00111D10 D3000000 00000000 D7000000 023B5CD0 D2000000 00000000 94000130 FFF70000 523B5CD0 00000000 0210B73C 000EE580 1210B740 00001E08 0210B76C 000F6880 1210B770 00002324 D2000000 00000000 94000130 FFF70000 523B5CD0 00000001 0210B73C 00000000 1210B740 00000000 0210B76C 00000000 1210B770 00000000 D2000000 00000000 94000130 FFF70000 523B5CD0 00000002 0210B73C 00103DE0 1210B740 00002050 0210B76C 00103DE0 1210B770 00002050 D2000000 00000000 94000130 FFF70000 523B5CD0 00000003 0210B73C 000EE580 1210B740 00001E08 0210B76C 000EE580 1210B770 00001E08 D2000000 00000000 94000130 FFF70000 523B5CD0 00000004 0210B73C 000F6880 1210B740 00002324 0210B76C 000F6880 1210B770 00002324 D2000000 00000000 94000130 FFF70000 523B5CD0 00000005 0210B73C 000F03A0 1210B740 0000360C 0210B76C 000F03A0 1210B770 0000360C D2000000 00000000 94000130 FFF70000 523B5CD0 00000006 0210B73C 00102140 1210B740 00001C90 0210B76C 00102140 1210B770 00001C90 D2000000 00000000 94000130 FFF70000 523B5CD0 00000007 0210B73C 0010F340 1210B740 0000201C 0210B76C 0010F340 1210B770 0000201C D2000000 00000000 94000130 FFF70000 523B5CD0 00000008 0210B73C 000F8BC0 1210B740 000033B8 0210B76C 000F8BC0 1210B770 000033B8 D2000000 00000000 94000130 FFF70000 523B5CD0 00000009 0210B73C 0017A440 1210B740 00006094 0210B76C 0017A440 1210B770 00006094 D2000000 00000000 94000130 FFF70000 523B5CD0 0000000A 0210B73C 000F39C0 1210B740 00002EAC 0210B76C 000F39C0 1210B770 00002EAC D2000000 00000000 94000130 FFF70000 523B5CD0 0000000B 0210B73C 00113C60 1210B740 0000360C 0210B76C 00113C60 1210B770 0000360C D2000000 00000000 94000130 FFF70000 523B5CD0 0000000C 0210B73C 000FF3A0 1210B740 00002D98 0210B76C 000FF3A0 1210B770 00002D98 D2000000 00000000 94000130 FFF70000 523B5CD0 0000000D 0210B73C 000FBF80 1210B740 00003404 0210B76C 000FBF80 1210B770 00003404 D2000000 00000000 94000130 FFF70000 523B5CD0 0000000E 0210B73C 00106B20 1210B740 00000820 0210B76C 00106B20 1210B770 00000820 D2000000 00000000 94000130 FFF70000 523B5CD0 0000000F 0210B73C 00184260 1210B740 00001570 0210B76C 00184260 1210B770 00001570 D2000000 00000000 94000130 FFF70000 523B5CD0 00000010 0210B73C 001804E0 1210B740 00003104 0210B76C 001804E0 1210B770 00003104 D2000000 00000000 94000130 FFF70000 523B5CD0 00000011 0210B73C 00105E40 1210B740 00000CD4 0210B76C 00105E40 1210B770 00000CD4 D2000000 00000000 Type in the calculator a number ranging from 0-17 and press Start. What Theme plays for each number: 0) Default Themes 1) Mute (sound effects remain) 2) Rival Theme 3) Wild Theme 4) Trainer Theme 5) Gym Theme 6) Grunt Theme 7) Commander Theme 8) Boss Theme 9) Origin Giratina Theme 10) Uixe/Azelf/Mesprit Theme 11) Elite Four Theme 12) Champion Theme 13) Dialga/Palkia Theme 14) Ledgendary Theme 15) Regi Theme 16) Tycoon Theme 17) Arceus Theme
derrick Posted July 10, 2009 Posted July 10, 2009 is this for the us and japanese verson???? i really want it!! for the japanese one! ---------- Post added at 02:37 PM ---------- Previous post was at 02:35 PM ---------- if you need someone to test it for the japanese verson i will gladly do it but only if you respond to this.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now