Jump to content

Guides:Mail Writer GS (non-EN): Difference between revisions

m
no edit summary
mNo edit summary
Line 3:
The Mail writer is an arbitrary code execution program that allows the user to quickly and accurately write and execute arbitrary code payloads of up to a maximum size of 428 bytes. Payloads are written from wOtPartyCount onward, where enemy trainer's parties are usually buffered.
 
This guide is applicable to the French, German, Italian and Spanish versions of Gold & Silver only. It is part of the [[Guides:TimoVM's_gen_2_ACE_setups|TimoVM's genGen 2 ACE setups]] set of guides.
 
'''Using the Mail writer requires an ACE setup that redirects execution to the start of box names. For this guide, it is assumed that you've previously set up [[Guides:Wrong Pocket TM ACE setup (non-EN)|Wrong Pocket TM25 ACE]] instead.'''
 
If you encounter any issues when going through this guide or would like to provide feedback, please contact TimoVM on the [https://discord.gg/EA7jxJ6 Glitch City Research Institute Discord].
 
=How the mail writer works=
Line 313:
 
Box 7: $D8F5
7E F5 ld hl, $F57EwTMsHMs
01 32 00 ld bc, $0032
DC 5E 31 call c, byteFill
Line 340:
Party pokémon #3's stat experience, starting from $DA9A
3E 04 ld a, $04
C3 7E F5 jp $F57EwTMsHMs
</pre>
 
Line 351:
Box 1: $D8BF
C0
21 F4 F8 ld hl, $F8F4 ; correspondsCorresponds to terminator of box #9's name
C4 BE F8 call nz, $F8BE ; dueDue to mail, a = $21
96 sub (hl) ; a = $7E
50 ld d, b
Line 392:
 
Box 7: $D8F5
7E F5 ld hl, $F57EwTMsHMs
0E 32 ld c, $32
C4 5E 31 call nz, byteFill
Line 424:
Party pokémon #3's stat experience, starting from $DA9A
3E 04 ld a, $04
C2 7E F5 jp nz, $F57EwTMsHMs ; carryCarry and zero flag are both reset when using TM25
</pre>
 
Line 471:
 
Box 7: $D8F5
7E F5 ld hl, $F57EwTMsHMs
01 32 00 ld bc, $0032
D4 71 31 call nc, byteFill
Line 495:
Party pokémon #3's stat experience, starting from $DA9A
3E 04 ld a, $04
C3 7E F5 jp $F57EwTMsHMs
</pre>
 
Line 512:
EA F7 F8 ld ($F8F7), a
D6 FD sub $FD ; a = $04
EA 9B FA ld ($FA 9BFA9B), a
50 ld d; b
 
Line 542:
 
Box 7: $D8F5
7E F5 ld hl, $F57EwTMsHms
01 32 00 ld bc, $0032
D4 70 31 call nc, byteFill
Line 566:
Party pokémon #3's stat experience, starting from $DA9A
3E 04 ld a, $04
C3 7E F5 jp $F57EwTMsHMs
</pre>
 
Line 758:
Party pokémon #3's stat experience, starting from $DA9A
3E 04 ld a, $04
C3 7E F5 jp $F57EwTMsHMs
</pre>
 
Line 802:
Party pokémon #3's stat experience, starting from $DA9A
3E 04 ld a, $04
C2 7E F5 jp $F57EwTMsHMs ; carry and zero flag are both reset when using TM25
</pre>
 
Line 836:
Party pokémon #3's stat experience, starting from $DA9A
3E 04 ld a, $04
C3 7E F5 jp $F57EwTMsHMs
</pre>
 
1,540

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.