summaryrefslogtreecommitdiff
path: root/home/double_speed.asm
diff options
context:
space:
mode:
Diffstat (limited to 'home/double_speed.asm')
-rw-r--r--home/double_speed.asm9
1 files changed, 3 insertions, 6 deletions
diff --git a/home/double_speed.asm b/home/double_speed.asm
index c07dc9cee..de075e65e 100644
--- a/home/double_speed.asm
+++ b/home/double_speed.asm
@@ -5,20 +5,18 @@
; and double speed at any time, but LCD output
; collapses during the switch.
-DoubleSpeed:: ; 2fef
+DoubleSpeed::
ld hl, rKEY1
bit 7, [hl]
jr z, SwitchSpeed
ret
-; 2ff7
-NormalSpeed:: ; 2ff7
+NormalSpeed::
ld hl, rKEY1
bit 7, [hl]
ret z
-; 2ffd
-SwitchSpeed:: ; 2ffd
+SwitchSpeed::
set 0, [hl]
xor a
ld [rIF], a
@@ -27,4 +25,3 @@ SwitchSpeed:: ; 2ffd
ld [rJOYP], a
stop ; rgbasm adds a nop after this instruction by default
ret
-; 300b