Guides:SRAM Glitch ACE Setups (Yellow): Difference between revisions
Jump to navigation
Jump to search
Guides:SRAM Glitch ACE Setups (Yellow) (view source)
Revision as of 00:08, 27 February 2024
, 3 months ago→Addendum: technical explanation of the setup
Line 581:
===Explanation===
The item code itself consists of two components. The first 10 items are used to write a program that takes text characters from the nicknames of characters currently within the active box, converts them, then writes the resulting values to unused memory starting from $
Pairs of text characters are converted to single values through a [(2a + b)%256] formula, where a is the value of the first character and b the value of the second. text terminators are skipped, the code will stop and execute the newly written code once it either reads a $00 value or if values are being read past $DEFF.
<pre>
11
D5 push de
21
.loop
2A ldi a, (hl)
Line 604:
</pre>
The last item, the
===Raw Assembly===
<pre>
11
D6 D5 TM14 x213
21
DA 2A TM22 x42
03 87 Great Ball x135
Line 620:
F4 C9 TM44 x201
</pre>
|