Crystal box name codes: Difference between revisions
TM counts are probably more convenient for long-term ACE.
>Bbbbbbbbba (Moved a large chunk from 0x1500 control code arbitrary code execution to here.) |
(TM counts are probably more convenient for long-term ACE.) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1:
'''Box name codes''' are assembly instructions encoded in the names of boxes. They are used as payloads of [[arbitrary code execution]] exploits, and are
For a list of hex values for all available characters in Generation II and their corresponding assembly instructions, see [[the Big HEX List]].
Line 31:
or a, d0
ld
pop hl
Line 43:
sub b9 ; 47
ld
xor a
Line 55:
sub 9a ;c3
ld
ei
Line 65:
sub b8 ; 48
ld
xor a
Line 75:
sub 8b ; 75
ld
xor a
Line 83:
ld d,b
ld
xor a
Line 95:
ld d,b
ld
or a
Line 115:
sub a8
ld
xor a
Line 125:
sub a9
ld
xor a
Line 133:
ld d,b
ld
ld
ld d,b
Line 156:
(Pk)x'd
<tt>xor a</tt>
<tt>or a, 93</tt>
<tt>sub 80</tt>
ld (fce1),a▼
<tt>ld d,b</tt>
<tt>pop hl</tt>
<tt>or a</tt>
<tt>ret nc</tt>
<tt>ld d,b</tt>
==Fly can go anywhere==
Line 181 ⟶ 187:
or a, ff
ld
ei
Line 189 ⟶ 195:
ld d,b
ld
ld
pop hl
Line 199 ⟶ 205:
ld d,b
ld
ld
or a
Line 240 ⟶ 246:
sub b2 ;a=4e
ld
xor a
Line 252 ⟶ 258:
sub 80 ;a=01
ld
ld d,b
Line 258 ⟶ 264:
ld d,b
ld
xor a
Line 268 ⟶ 274:
ld d,b
ld
xor a
Line 278 ⟶ 284:
ld d,b
ld
xor a
Line 288 ⟶ 294:
ld d,b
ld
xor a
Line 334 ⟶ 340:
ld d,b
ld
xor a
Line 344 ⟶ 350:
ld d,b
ld
xor a
Line 354 ⟶ 360:
ld d,b
ld
or a
Line 369 ⟶ 375:
ld a,01
ld
ld a, 0a
ld
ld a, 0b
ld
==Get Master Ball items slot 2==
Line 392 ⟶ 398:
sub 80
ld
ld d,b
Line 430 ⟶ 436:
ld d,b
ld
xor a
Line 440 ⟶ 446:
ld d,b
ld
or a
Line 466 ⟶ 472:
sub 80
ld
ld d,b
Line 492 ⟶ 498:
sub 80
ld
ld d,b
Line 528 ⟶ 534:
ld d,b
ld
xor a
Line 540 ⟶ 546:
ld d,b
ld
pop hl
Line 562 ⟶ 568:
sub 80
ld
ld d,b
Line 590 ⟶ 596:
sub 80
ld
ld d,b
Line 600 ⟶ 606:
sub a7 (;59)
ld
or a
|