Guides:Coin Case ACE: Difference between revisions
m
→Appendix: in-depth explanation of the setup
Line 149:
AF xor a ; Set a to $00, set carry flag to 0.
D2 B9 F8 jp nc, $F8B9 ; Jump to echo ram copy of $D8B9, which lies a few bytes before box data.
</pre>
===Effect of the box name===
Box name data starts from $D8BF onward. Converting the provided mail code to assembly results in the following:
<pre>
F6 FF or $FF ; Set a to $FF, set carry flag to 0.
EA 80 F5 ld (F580), a ; $F580 is an echo ram copy of $D580, which corresponds to TM03's quantity.
D0 ret nc
</pre>
|