Guides:SRAM Glitch ACE Setups (EN): Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
Line 498: | Line 498: | ||
<pre> |
<pre> |
||
3E 59 ld a, $59 ; 4F's item ID |
|||
21 1E D3 ld hl, wBagItems ; item #1's ID |
21 1E D3 ld hl, wBagItems ; item #1's ID |
||
36 59 ld (hl), $59 ; 4F's item ID |
|||
7C ld a, h ; a = $D3 |
|||
21 67 DA ld hl, 4F_Execution_Pointer_*2 |
|||
22 ldi (hl), a |
|||
32 ldd (hl), a |
|||
22 ldi (hl), a |
|||
22 ldi (hl), a ; clears a bunch of $FF values placed by swapping party pokémon |
|||
21 65 DA ld hl, 4F_Execution_Pointer |
|||
3E 21 ld a, $21 |
|||
22 ldi (hl), a |
|||
3E 28 ld a, $28 |
3E 28 ld a, $28 |
||
22 ldi (hl), a |
22 ldi (hl), a |
||
36 C3 ld (hl), $C3 |
|||
22 ldi (hl), a |
|||
36 E9 ld hl, $E9 |
|||
; The contents of the first nickname (see previous section) are written right after this, ensuring safe return. |
; The contents of the first nickname (see previous section) are written right after this, ensuring safe return. |
||
</pre> |
</pre> |
||
Line 520: | Line 512: | ||
<pre> |
<pre> |
||
21 1E D3 36 59 |
|||
7C 21 67 DA 32 |
|||
3E 28 32 36 C3 |
|||
21 22 3E 28 22 |
|||
3E D3 22 36 E9 |
|||
</pre> |
</pre> |
||