diff options
Diffstat (limited to 'home/flag.asm')
-rw-r--r-- | home/flag.asm | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/home/flag.asm b/home/flag.asm index 2b455439..5eef8fe1 100644 --- a/home/flag.asm +++ b/home/flag.asm @@ -103,3 +103,30 @@ CheckReceivedDex:: ld a, c and a ret + +Unreferenced_CheckBPressedDebug:: +; Used in debug ROMs to walk through walls and avoid encounters. + + ld a, [wDebugFlags] + bit 1, a + ret z + + ldh a, [hJoyDown] + bit 1, a + ret + +xor_a:: + xor a + ret + +xor_a_dec_a:: + xor a + dec a + ret + +Unreferenced_CheckFieldDebug:: + push hl + ld hl, wDebugFlags + bit DEBUG_FIELD_F, [hl] + pop hl + ret
\ No newline at end of file |