pokecrystal-board/engine/battle/check_battle_scene.asm

13 lines
145 B
NASM
Raw Normal View History

2018-06-24 07:09:41 -07:00
CheckBattleScene:
; Return carry if battle scene is turned off.
2018-01-23 14:39:09 -08:00
ld a, [wOptions]
bit BATTLE_SCENE, a
jr nz, .off
and a
ret
.off
scf
ret