Jump to content

User:TimoVM/RAM Writer setups: Difference between revisions

Line 1,332:
CD 1A 31 call CopyBytes ; install TM33 bootstrap to D418
3E E1 ld a, E1
EA B8 D5 ld (D5B8), a ; change item slot #1 to TM33
C9 ret ; due to earlier push, jump to Deployer
 
RAM writer A
Line 1,381:
CD 4C C7 call .firstHex
F1 pop af
.firstHex CC6C
E6 0F and 0F
C6 F6 add a, F6
Line 1,387:
22 ldi (hl), a
C9 ret
sampleDpad CC74
CD 90 37 call JoyTextDelay_ForcehJoyDown
F0 AB ldh a, (AB)
Line 1,426:
E0 FE ldh (FE), a
C9 ret
.noSelectButton 41 37 79
07 rlca
30 03 jr nc, .noBButton
Line 1,471:
FA AB CE ld a, (CEAB)
FE E1 cp E1
C0 ret nz ; is current selected item TM33? If yes, continue
FA C2 CE ld a, (CEC2)
FE 90 cp 90
C0 ret nz ; Is TM33 chosen while in battle? If yes, continue
3E 0D ld a, 0D
EA E0 CE ld (CEE0); a ; Force cursor to position #13, enabling use of TM33
Line 1,480:
 
OAM DMA Hijack B
C3 01 DF jp DF01 ; jump to OAM DMA hijack B
 
Deployer located at D418
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.