Guides:SRAM Glitch ACE Setups (EN): Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
mNo edit summary |
m (→Explanation) |
||
Line 585: | Line 585: | ||
D1 pop de |
D1 pop de |
||
F0 B5 ld a, (hJoy5) |
F0 B5 ld a, (hJoy5) |
||
A7 and a ; Check if no buttons are pressed |
A7 and a ; Check if no buttons are pressed |
||
28 EE jp z, .terminator ; If no buttons pressed, keep displaying checksum |
28 EE jp z, .terminator ; If no buttons pressed, keep displaying checksum |
||
1F rra ; Shift all bits to the right, transfer former bit 7 to bit 1 and store status of this bit in c flag |
1F rra ; Shift all bits to the right, transfer former bit 7 to bit 1 and store status of this bit in c flag |
||
38 CF jp c, .loop ; Is A is pressed, start new nickname |
38 CF jp c, .loop ; Is A is pressed, start new nickname |
||
1B dec de ; If another button outside of A is pressed, either we're using the correction function, executing or stopping |
1B dec de ; If another button outside of A is pressed, either we're using the correction function, executing or stopping |
||
1F rra ; is B pressed? |
1F rra ; is B pressed? |
||
38 E7 jp c, .terminator ; If B is pressed, de has been decremented once so continue just displaying the new value de points towards |
38 E7 jp c, .terminator ; If B is pressed, de has been decremented once so continue just displaying the new value de points towards |
||
1F rra |
1F rra |
||
1F rra ; Is START pressed? |
1F rra ; Is START pressed? |