User talk:MrMissingNo72: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
Line 7: | Line 7: | ||
Naturally, only 56 trainers can be encountered via the trainer escape glitch (Special stats of 200-255, trainer IDs 0 to 55). |
Naturally, only 56 trainers can be encountered via the trainer escape glitch (Special stats of 200-255, trainer IDs 0 to 55). |
||
<br> |
|||
<nowiki><br></nowiki> |
|||
However, with arbitrary code execution, you can encounter artificial trainer classes with the routine at 3D:5FF2 with these very specific items: |
However, with arbitrary code execution, you can encounter artificial trainer classes with the routine at 3D:5FF2 with these very specific items: |
||
Line 57: | Line 57: | ||
23. Lemonade (0x3E), x201 |
23. Lemonade (0x3E), x201 |
||
<br> |
|||
<nowiki><br></nowiki> |
|||
Before you use ws m and 4F, make sure the bytes (C3, 21, D3) are located at DA7F and the bytes (C3 30 D3) are at DA64 (FA64). |
Before you use ws m and 4F, make sure the bytes (C3, 21, D3) are located at DA7F and the bytes (C3 30 D3) are at DA64 (FA64). |
||
<br> |
|||
<nowiki><br></nowiki> |
|||
Code: |
Code: |
||
Line 79: | Line 79: | ||
- ret |
- ret |
||
<br> |
|||
<nowiki><br></nowiki> |
|||
This code calls "FarCopyData" with its source being 3D:5FF2, the bytes to copy being 0x244, and the destination as DA7F. |
This code calls "FarCopyData" with its source being 3D:5FF2, the bytes to copy being 0x244, and the destination as DA7F. |
||
<br> |
|||
<nowiki><br></nowiki> |
|||
For "4F" (0x59): |
For "4F" (0x59): |
||
Line 117: | Line 117: | ||
- ret |
- ret |
||
<br> |
|||
<nowiki><br></nowiki> |
|||
bytes needed at D31C: |
bytes needed at D31C: |
||
Line 123: | Line 123: | ||
17 63 BE 59 BE 3E 3D 21 F2 5F 01 44 02 11 7F DA CD 9D 00 C9 21 BB DA 3E 3D 22 04 3E xx 22 04 3E FF EA 88 04 06 3D 21 7F DA CD 84 3E C9 FF |
17 63 BE 59 BE 3E 3D 21 F2 5F 01 44 02 11 7F DA CD 9D 00 C9 21 BB DA 3E 3D 22 04 3E xx 22 04 3E FF EA 88 04 06 3D 21 7F DA CD 84 3E C9 FF |
||
note: replace "xx" with the desired real trainer class ID in hexadecimal, for example, if you want to fight ゥ, A, replace "xx" with 37 (this value is hexadecimal). |
note: replace "xx" with the desired real trainer class ID in hexadecimal, for example, if you want to fight ゥ, A, replace "xx" with 37 (this value is hexadecimal). |
||
additional notes: |
|||
- the three bytes you placed at DA7F and DA64/FA64 are all saved with your save file. |