ref: 75ba97a039796bbecf1390edbe71c73dc52f124f
parent: 411335983e2d5be7dfebd802bbe57ec715c30461
author: yenatch <[email protected]>
date: Wed Mar 11 18:23:30 EDT 2015
no more incbins
--- a/lib/mobile/main.asm
+++ b/lib/mobile/main.asm
@@ -4866,58 +4866,65 @@
ds 14
Unknown_112000: ; 112000
-INCBIN "baserom.gbc", $112000, $112001 - $112000
+ db $4b
Unknown_112001: ; 112001
-INCBIN "baserom.gbc", $112001, $112006 - $112001
+ db $99, $66, $10, $00, $00
Unknown_112006: ; 112006
-INCBIN "baserom.gbc", $112006, $112013 - $112006
+ db $08, "NINTENDO", $02, $77, $80, $00
Unknown_112013: ; 112013
-INCBIN "baserom.gbc", $112013, $11201d - $112013
+ db $99, $66, $11, $00, $00, $00, $00, $11, $80, $00
Unknown_11201d: ; 11201d
-INCBIN "baserom.gbc", $11201d, $112023 - $11201d
+ db $99, $66, $12, $00, $00, $00
Unknown_112023: ; 112023
-INCBIN "baserom.gbc", $112023, $11202d - $112023
+ db $99, $66, $13, $00, $00, $00, $00, $13, $80, $00
Unknown_11202d: ; 11202d
-INCBIN "baserom.gbc", $11202d, $112037 - $11202d
+ db $99, $66, $17, $00, $00, $00, $00, $17, $80, $00
Unknown_112037: ; 112037
-INCBIN "baserom.gbc", $112037, $11203c - $112037
+ db $99, $66, $21, $00, $00
Unknown_11203c: ; 11203c
-INCBIN "baserom.gbc", $11203c, $112046 - $11203c
+ db $99, $66, $22, $00, $00, $00, $00, $22, $80, $00
Unknown_112046: ; 112046
-INCBIN "baserom.gbc", $112046, $112052 - $112046
+ db $99, $66, $19, $00, $00, $02, $00, $60, $00, $7b, $80, $00
Unknown_112052: ; 112052
-INCBIN "baserom.gbc", $112052, $11205e - $112052
+ db $99, $66, $19, $00, $00, $02, $60, $60, $00, $db, $80, $00
Unknown_11205e: ; 11205e
-INCBIN "baserom.gbc", $11205e, $112063 - $11205e
+ db $99, $66, $1a, $00, $00
Unknown_112063: ; 112063
-INCBIN "baserom.gbc", $112063, $112068 - $112063
+ db $99, $66, $28, $00, $00
Unknown_112068: ; 112068
-INCBIN "baserom.gbc", $112068, $112072 - $112068
+ db $99, $66, $14, $00, $00, $00, $00, $14, $80, $00
Unknown_112072: ; 112072
-INCBIN "baserom.gbc", $112072, $11207d - $112072
+ db $99, $66, $15, $00, $00, $01, $ff, $01, $15, $80, $00
Unknown_11207d: ; 11207d
-INCBIN "baserom.gbc", $11207d, $112083 - $11207d
+ db $99, $66, $23, $00, $00, $06
Unknown_112083: ; 112083
-INCBIN "baserom.gbc", $112083, $112089 - $112083
+ db $99, $66, $24, $00, $00, $01
Unknown_112089: ; 112089
-INCBIN "baserom.gbc", $112089, $11209e - $112089
+ db $ec, $14, $c9
+ db $e4, $0f, $0e
+ db $e0, $0c, $53
+ db $c4, $07, $94
+ db $b0, $05, $ee
+ db $ec, $10, $b4
+ db $e4, $0c, $dd
+; 11209e
Unknown_11209e:
db "HELO ", 0
@@ -8496,14 +8503,14 @@
.asm_113734
ld hl, $cc0c
- ld a, $8e
+ ld a, Unknown_113b8e % $100
ld [hli], a
- ld a, $7b
+ ld a, Unknown_113b8e / $100
ld [hl], a
ld hl, $cc0e
- ld a, $70
+ ld a, Unknown_113a70 % $100
ld [hli], a
- ld a, $7a
+ ld a, Unknown_113a70 / $100
ld [hl], a
ld hl, $cbe7
ld de, $cc18
@@ -8586,7 +8593,7 @@
ld [$cc0d], a
ld a, l
ld [$cc0c], a
- cp $8e
+ cp $8e ; XXX (Unknown_113b8e + $100) % $100 ???
jp nz, .asm_113751
ld de, $cc18
ld hl, $cbe7
@@ -9020,13 +9027,55 @@
db "Authorization: GB00 name=", $22, 0
; 113a70
-INCBIN "baserom.gbc", $113a70, $113b70 - $113a70
+Unknown_113a70:
+ db $00, $00, $00, $07, $06, $04, $00, $0c, $04, $08, $00, $11, $02, $0c, $00, $16
+ db $00, $10, $00, $07, $06, $14, $00, $0c, $04, $18, $00, $11, $02, $1c, $00, $16
+ db $00, $20, $00, $07, $06, $24, $00, $0c, $04, $28, $00, $11, $02, $2c, $00, $16
+ db $00, $30, $00, $07, $06, $34, $00, $0c, $04, $38, $00, $11, $02, $3c, $00, $16
+ db $10, $04, $00, $05, $16, $18, $00, $09, $14, $2c, $00, $0e, $12, $00, $00, $14
+ db $10, $14, $00, $05, $16, $28, $00, $09, $14, $3c, $00, $0e, $12, $10, $00, $14
+ db $10, $24, $00, $05, $16, $38, $00, $09, $14, $0c, $00, $0e, $12, $20, $00, $14
+ db $10, $34, $00, $05, $16, $08, $00, $09, $14, $1c, $00, $0e, $12, $30, $00, $14
+ db $20, $14, $00, $04, $26, $20, $00, $0b, $24, $2c, $00, $10, $22, $38, $00, $17
+ db $20, $04, $00, $04, $26, $10, $00, $0b, $24, $1c, $00, $10, $22, $28, $00, $17
+ db $20, $34, $00, $04, $26, $00, $00, $0b, $24, $0c, $00, $10, $22, $18, $00, $17
+ db $20, $24, $00, $04, $26, $30, $00, $0b, $24, $3c, $00, $10, $22, $08, $00, $17
+ db $30, $00, $00, $06, $36, $1c, $00, $0a, $34, $38, $00, $0f, $32, $14, $00, $15
+ db $30, $30, $00, $06, $36, $0c, $00, $0a, $34, $28, $00, $0f, $32, $04, $00, $15
+ db $30, $20, $00, $06, $36, $3c, $00, $0a, $34, $18, $00, $0f, $32, $34, $00, $15
+ db $30, $10, $00, $06, $36, $2c, $00, $0a, $34, $08, $00, $0f, $32, $24, $00, $15
+; 113b70
Unknown_113b70: ; 113b70
-INCBIN "baserom.gbc", $113b70, $113b7e - $113b70
+ dw $cbe7
+ dw $cbeb
+ dw $cbef
+ dw $cbf3
+ dw $cbe7
+ dw $cbeb
+ dw $cbef
Unknown_113b7e: ; 113b7e
-INCBIN "baserom.gbc", $113b7e, $113c8e - $113b7e
+ db $01,$23,$45,$67,$89,$ab,$cd,$ef
+ db $fe,$dc,$ba,$98,$76,$54,$32,$10
+
+Unknown_113b8e:
+ db $78, $a4, $6a, $d7, $56, $b7, $c7, $e8, $db, $70, $20, $24, $ee, $ce, $bd, $c1
+ db $af, $0f, $7c, $f5, $2a, $c6, $87, $47, $13, $46, $30, $a8, $01, $95, $46, $fd
+ db $d8, $98, $80, $69, $af, $f7, $44, $8b, $b1, $5b, $ff, $ff, $be, $d7, $5c, $89
+ db $22, $11, $90, $6b, $93, $71, $98, $fd, $8e, $43, $79, $a6, $21, $08, $b4, $49
+ db $62, $25, $1e, $f6, $40, $b3, $40, $c0, $51, $5a, $5e, $26, $aa, $c7, $b6, $e9
+ db $5d, $10, $2f, $d6, $53, $14, $44, $02, $81, $e6, $a1, $d8, $c8, $fb, $d3, $e7
+ db $e6, $cd, $e1, $21, $d6, $07, $37, $c3, $87, $0d, $d5, $f4, $ed, $14, $5a, $45
+ db $05, $e9, $e3, $a9, $f8, $a3, $ef, $fc, $d9, $02, $6f, $67, $8a, $4c, $2a, $8d
+ db $42, $39, $fa, $ff, $81, $f6, $71, $87, $22, $61, $9d, $6d, $0c, $38, $e5, $fd
+ db $44, $ea, $be, $a4, $a9, $cf, $de, $4b, $60, $4b, $bb, $f6, $70, $bc, $bf, $be
+ db $c6, $7e, $9b, $28, $fa, $27, $a1, $ea, $85, $30, $ef, $d4, $05, $1d, $88, $04
+ db $39, $d0, $d4, $d9, $e5, $99, $db, $e6, $f8, $7c, $a2, $1f, $65, $56, $ac, $c4
+ db $44, $22, $29, $f4, $97, $ff, $2a, $43, $a7, $23, $94, $ab, $39, $a0, $93, $fc
+ db $c3, $59, $5b, $65, $92, $cc, $0c, $8f, $7d, $f4, $ef, $ff, $d1, $5d, $84, $85
+ db $4f, $7e, $a8, $6f, $e0, $e6, $2c, $fe, $14, $43, $01, $a3, $a1, $11, $08, $4e
+ db $82, $7e, $53, $f7, $35, $f2, $3a, $bd, $bb, $d2, $d7, $2a, $91, $d3, $86, $eb
Function113c8e: ; 113c8e
ld a, c