Guides:SRAM Glitch ACE Setups (EN): Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
Line 498:
 
<pre>
3E 59 ld a, $59 ; 4F's item ID
21 1E D3 ld hl, wBagItems ; item #1's ID
2236 59 ldild (hl), a$59 ; 4F's item ID
AF7C xorld a, h ; a = $00D3
21 67 DA ld hl, 4F_Execution_Pointer_*2
22 ldi (hl), a
2232 ldildd (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
22 ldi (hl), a
3E36 D3C3 ld a(hl), $D3C3
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.
</pre>
Line 520 ⟶ 512:
 
<pre>
3E 59 21 1E D3 36 59
227C AF21 2267 22DA 2232
223E 2128 6532 DA36 3EC3
21 22 3E 28 22
3E D3 22 36 E9
</pre>