View Single Post
  #63    
Old March 6th, 2013 (04:19 AM). Edited March 7th, 2013 by MrDollSteak.
MrDollSteak's Avatar
MrDollSteak
Formerly known as 11bayerf1
 
Join Date: Dec 2008
Location: Hong Kong
Age: 20
Gender: Male
Quote originally posted by takeKopter:
just wondering, can you change the TM moves with the new (created) moves??
You can do this very easily with a hex editor.
You need to go to the offsets 45A5A4 and 45A80C
These are the offsets for the TM data. Each TM is made up of two bytes
eg. 08 01
This is equivalent to the index number 108, which is for Focus Punch.
All you need to do is change the two bytes of the TMs that you want to
replace with the index number of your move in the form YYXX.
Eg. 19B will become 9B 01

On an unrelated note I've found fixes for Coil and Quiver Dance that use 0 effect accuracy and 0 actual accuracy

It also allowed me to create Shell Smash.

Here are the codes:


Coil
Spoiler:
00 02 03 09 2E 85 3E 02 02 CF 15 2E 85 3E 02 02
D0 15 2E 85 3E 02 02 D4 15 28 47 69 1D 08


Quiver Dance
Spoiler:
00 02 03 09 2E 85 3E 02 02 D2 15 2E 85 3E 02 02
D3 15 2E 85 3E 02 02 D1 15 28 47 69 1D 08


Shell Smash
Spoiler:
00 02 03 09 2E 85 3E 02 02 E7 15 2E 85 3E 02 02
EA 15 2E 85 3E 02 02 E9 15 2E 85 3E 02 02 D7 15
2E 85 3E 02 02 DA 15 28 47 69 1D 08


Using this style of code in conjunction with Solarbeam's code I've found a way to make the Gen 5 growth,
where it raises ATK and SPATK by 1 stage in normal weather and 2 stages in Sunny Weather.

Growth
Spoiler:
43 0D XX YY ZZ 08 43 4D XX YY ZZ 08 2A 04 1C 3F 02 02 60 00 XX2 YY2 ZZ2 08

Offset ZZYYXX

00 02 03 09 2E 85 3E 02 02 CF 15 2E 85 3E 02 02 D2 15 28 47 69 1D 08

Offset ZZ2YY2XX2

00 02 03 09 2E 85 3E 02 02 E7 15 2E 85 3E 02 02 EA 15 28 47 69 1D 08


The bytes ZZ YY XX and ZZ2 YY2 XX2 point to the execution of the code under the weather,
wherein ZZ YY XX is normal weather, and ZZ2 YY2 XX2 is Sunny Weather.
I normally place them right behind eachother for conveniences sake.
It will use ZZ YY XX in Rain and Sandstorm as well.
__________________
Reply With Quote