Jump to content

Guides:TMless 0x1500 ACE (JP): Difference between revisions

m
Line 318:
E1 filler
E1 pop hl ; Entry point of execution
C3 8883 DB jp nc, $DB88DB83
</pre>
 
This address corresponds with the 6th1st character of box #4's name. Once it arrives here, the first 4 box names will be executed as follows:
 
<pre>
Line 336:
3E C3 ld a, $C3 ; a = $C3
32 ldd (hl), a
C6D6 0B8B addsub $0B8B ; a = $CE38
50 ld d, b
 
Box 3: $DB7A
EA 86A1 D8DB ld(wItems$DBA1), a
EA B1 DB ld($DBB1), a
D6 96D1 sub $96D1 ; a = $3867, Carry flag set
EA A1 DB
50 ld d, b
 
Box 4: $DB83
30 DEE3 jr nc, .boxNameStart
EA B1 DB ld($DBB1), a
87 add a ; a = $CE
EA 86 D8 ld(wItems), a
E1 pop hl
C9 ret
30 DE jr nc, .boxNameStart
50 ld d, b
</pre>
1,540

edits

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