mirror of
https://github.com/a2-4am/4cade.git
synced 2024-12-25 13:33:13 +00:00
.
This commit is contained in:
parent
2f302ce8b0
commit
a5f2b91785
@ -9,8 +9,8 @@
|
|||||||
|
|
||||||
ToggleCheat
|
ToggleCheat
|
||||||
; in: none
|
; in: none
|
||||||
; out: all registers clobbered
|
; out: X = 0, Z = 1 (guaranteed by pref_set)
|
||||||
; X = 0, Z = 1 (guaranteed by pref_set)
|
; all other registers and flags clobbered
|
||||||
ldx #$B0
|
ldx #$B0
|
||||||
lda gCheatsEnabled
|
lda gCheatsEnabled
|
||||||
eor #$80
|
eor #$80
|
||||||
|
Loading…
Reference in New Issue
Block a user