diff options
author | yenatch <yenatch@gmail.com> | 2013-09-15 18:17:02 -0400 |
---|---|---|
committer | yenatch <yenatch@gmail.com> | 2013-09-15 18:17:02 -0400 |
commit | 013c6fc368ecedc8ea00e031503ed56ef6427772 (patch) | |
tree | c26f93917b537f79e489263956fc6abcec41c625 /main.asm | |
parent | 3370a04d9edce3b9ab28c9970ce7658e66fbcac0 (diff) |
some time-dependent function
Diffstat (limited to 'main.asm')
-rw-r--r-- | main.asm | 14 |
1 files changed, 10 insertions, 4 deletions
@@ -12071,19 +12071,25 @@ SECTION "bank3",ROMX,BANK[$3] Functionc000: ; c000 ld a, [TimeOfDay] - ld hl, $4012 - ld de, $0002 + ld hl, Datac012 + ld de, 2 call IsInArray inc hl ld c, [hl] ret c + xor a ld c, a ret ; c012 -INCBIN "baserom.gbc", $c012, $c01b - $c012 - +Datac012: ; c012 + db MORN, 1 + db DAY, 2 + db NITE, 4 + db NITE, 4 + db $ff +; c01b Functionc01b: ; c01b ld hl, SpecialsPointers |