pause on the start button
This commit is contained in:
@@ -15,6 +15,7 @@ EXPORT Buffer1
|
||||
SECTION "Automata buffer 1", WRAM0, ALIGN[9]
|
||||
Buffer1: ds 20 * 18
|
||||
|
||||
EXPORT Old
|
||||
SECTION "Automata data", HRAM
|
||||
New: ds 1 ; high byte of pointer to bufferX
|
||||
Old: ds 1 ; high byte of pointer to bufferX
|
||||
@@ -261,6 +262,12 @@ UpdateAutomata:
|
||||
.bottomright
|
||||
ConwayGroup -19, -359, -340, -341, -1, -21, -20, -39
|
||||
|
||||
; move buffer address back to beginning
|
||||
ld hl, Old
|
||||
dec [hl]
|
||||
xor a
|
||||
ldh [Progress], a
|
||||
|
||||
ret
|
||||
|
||||
EXPORT SwapBuffers, InitAutomata
|
||||
|
||||
Reference in New Issue
Block a user