ref: 36351fcc17cdecf78771e986f19eb14bf7af71ee
parent: 7e3394bb53bb9d20ff734316e9baa5945fd13c64
author: yenatch <[email protected]>
date: Thu Feb 27 09:37:34 EST 2014
A couple bank 5 incbins incl emote pointers
--- a/main.asm
+++ b/main.asm
@@ -21277,12 +21277,17 @@
db 10, MORN
db 18, DAY
db 24, NITE
-; 1404c
+ db -1, MORN
+; 1404e
+Unknown_1404e: ; 1404e
+ db 20, 2
+ db 40, 0
+ db 60, 1
+ db -1, 0
+; 14056
-INCBIN "baserom.gbc",$1404c,$14056 - $1404c
-
Function14056: ; 14056
call UpdateTime
ld hl, $d4ba
@@ -21442,9 +21447,31 @@
ret
; 14146
-INCBIN "baserom.gbc",$14146,$14168 - $14146
+Function14146: ; 14146
+ ld hl, $d13e
+ ld a, [hl]
+ push af
+ res 7, [hl]
+ set 6, [hl]
+ call Function14209
+ pop af
+ ld [$d13e], a
+ ret
+; 14157
+Function14157: ; 14157
+ ld hl, $d13e
+ ld a, [hl]
+ push af
+ set 7, [hl]
+ res 6, [hl]
+ call Function14209
+ pop af
+ ld [$d13e], a
+ ret
+; 14168
+
Function14168:: ; 14168
call Function1416f
call Function14209
@@ -22079,8 +22106,8 @@
Function1442f:: ; 1442f
ld a, c
- ld bc, $0006
- ld hl, $444d
+ ld bc, 6
+ ld hl, EmotesPointers
call AddNTimes
ld e, [hl]
inc hl
@@ -22101,7 +22128,13 @@
ret
; 1444d
+EmotesPointers: ; 144d
+; dw source address
+; db length, bank
+; dw dest address
+
INCBIN "baserom.gbc",$1444d,$14495 - $1444d
+; 14495
SpriteMons: ; 14495