Jump to content

Guides:Coin Case ACE: Difference between revisions

m
Line 143:
80 add a, b
AF xor a ; Located at $CF00, all values before this address are filler and will not be executed.
D6 FD sub $FD ; setSet a to $03.
E0 9F ld (hRomBank), a; Set current ROM bank to bank 3. This ROM bank contains item and pack data and ensures safe return.
E8 FF add sp, $FF ; $FF is interpreted as a singed integer, stack pointer gets decremented and the stack is now properly aligned again.
1,553

edits

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