00コード
Example
00100205
00000067
The byte value 67 is repeatedly written to memory location 100205.
01コード
Example
01100204
00002367
The byte value 2367 is repeatedly written to memory location 100204
02コード
Example
02100204
01022367
The byte value 01022367 is repeatedly written to memory location 100204.
04コード
05コード
Example
05100204
8C100004
00000064
複写元アドレス8c100204hから複写先アドレス8C100004hへ64hバイト
(手元の資料には64 bytesと書かれており
10進数のように解釈できるのですが恐らく16進数だと思われます)
分のデータを複写します。
071コード
Functionality
It changes the encryption in the usage of encrypted codes only.
XX can be anything from 00 to FF,
but only 00-07 will produce different results,
00 and 08 will produce the same results, as will 00 and F8, etc..
Example
07100005
Uses method 05 to decrypt the next codes.
0Eコード
Condition Types:
0 = If Equal To
1 = If Different To
2 = If Less Than
3 = If Greater Than
Functionality
It copies checks the condition type,
and then does a comparison with
the value at the address XXXXXX & YYYY.
If the condition is false, it skips over the next WW lines of codes.
(Use this code type with 04 codes
because you can specify an odd value for WW.)
Example
0E030204
03100204
If the value at 100204 is greater than 0204
then dont skip the next 3 lines of codes.
0Dコード
Condition Types:
0 = If Equal To
1 = If Different To
2 = If Less Than
3 = If Greater Than
Functionality
It checks the condition type,
and then does a comparison with the value
at the address XXXXXX & YYYY.
If the condition is false, it skips over the next 2 lines of codes.
(Yes this is a bug in DC CDX,
it should really in fact be able to be 100% compatible
with using 04 codes types below a 0D code type.
It might still work,
but it is lazy coding to not skip the full 3 lines of code instead of 2.)
Example
0D100204
00010004
If the value at 100204 is not equal to 0004,
then dont skip the next 2 lines of codes.
0Fコード
Functionality
This is one of the least common code types.
It simply writes the given 16 bit value, YYYY,
to the given address, XXXXXX
BEFORE anything is run for the game.
Used for games like PSO that require Enable Codes and such.
(The address MUST be even.)
Example
0F100204
00002367
The byte value 2367 is written once to memory location 100204.