ref: beec27ef52469df673b75cc327b1aafd6693507a
parent: d363e2bbfad8cb14dc255c5216817fd4e89ef7f6
author: IIMarckus <[email protected]>
date: Sat Jul 31 09:30:42 EDT 2010
add map pointers These are currently static values. Next would be to start disassembling maps, I guess. Step 1: Disassemble maps until all of these pointers have been replaced with labels. Step 2: Move all the map data to a different file (seems like it would fit). Step 3: Make an editor that outputs blockdata to a separate file? hg-commit-id: 4d6f657603b1
--- a/pokered.asm
+++ b/pokered.asm
@@ -441,7 +441,259 @@
Section "start",HOME[$150]
Start:
-INCBIN "baserom.gbc",$150,$1627 - $150
+INCBIN "baserom.gbc",$150,$1AE - $150
+; map header pointers
+MapHeaderPointers: ; $01AE
+ dw $42a1
+ dw $4357
+ dw $4554
+ dw $474e
+ dw $4000
+ dw $4998
+ dw $4000
+ dw $4ba7
+ dw $4000
+ dw $491e
+ dw $49a4
+ dw $49a4
+ dw $40c3
+ dw $4000
+ dw $41e6
+ dw $4390
+ dw $4581
+ dw $4000
+ dw $4000
+ dw $412d
+ dw $4686
+ dw $42d4
+ dw $44be
+ dw $466d
+ dw $480c
+ dw $4999
+ dw $492c
+ dw $4ada
+ dw $4b20
+ dw $4c38
+ dw $4e78
+ dw $40f1
+ dw $4fff
+ dw $4000
+ dw $433f
+ dw $4682
+ dw $479b
+ dw $415c
+ dw $40a4
+ dw $5b2f
+ dw $4b02
+ dw $4251
+ dw $5462
+ dw $5540
+ dw $557d
+ dw $4897
+ dw $5ea4
+ dw $557b
+ dw $5ee1
+ dw $55c8
+ dw $5650
+ dw $5101
+ dw $40eb
+ dw $430b
+ dw $437b
+ dw $55e7
+ dw $4ca1
+ dw $563c
+ dw $457b
+ dw $59bc
+ dw $5a36
+ dw $5cff
+ dw $5679
+ dw $56ea
+ dw $4639
+ dw $46a7
+ dw $5730
+ dw $4889
+ dw $52c3
+ dw $5679
+ dw $5f27
+ dw $569d
+ dw $6243
+ dw $6031
+ dw $56e3
+ dw $56e3
+ dw $60f4
+ dw $5720
+ dw $575d
+ dw $61bb
+ dw $627d
+ dw $53ae
+ dw $44d0
+ dw $62ba
+ dw $5400
+ dw $65ae
+ dw $5448
+ dw $54f8
+ dw $675e
+ dw $4983
+ dw $5b64
+ dw $49d5
+ dw $4a1a
+ dw $5af0
+ dw $5b46
+ dw $5259
+ dw $5393
+ dw $4926
+ dw $5622
+ dw $56a2
+ dw $57a7
+ dw $5889
+ dw $596a
+ dw $5b3f
+ dw $5d49
+ dw $62a2
+ dw $62a2
+ dw $62a2
+ dw $59fe
+ dw $62a2
+ dw $62a2
+ dw $62a2
+ dw $62a2
+ dw $62a2
+ dw $62a2
+ dw $62a2
+ dw $62a2
+ dw $62a2
+ dw $6492
+ dw $5f1a
+ dw $5f11
+ dw $5f3e
+ dw $4f7a
+ dw $60e9
+ dw $4219
+ dw $434a
+ dw $43c9
+ dw $45f4
+ dw $4688
+ dw $472e
+ dw $4784
+ dw $485f
+ dw $5d2e
+ dw $48ac
+ dw $48fe
+ dw $4bb1
+ dw $505d
+ dw $50e4
+ dw $5145
+ dw $5202
+ dw $525d
+ dw $48ce
+ dw $4420
+ dw $44e6
+ dw $46c0
+ dw $47ea
+ dw $4926
+ dw $4ae3
+ dw $4cf9
+ dw $589c
+ dw $4920
+ dw $59a2
+ dw $5d7c
+ dw $500c
+ dw $5057
+ dw $50a9
+ dw $51c1
+ dw $5431
+ dw $56d7
+ dw $6309
+ dw $6445
+ dw $6581
+ dw $678d
+ dw $6064
+ dw $6170
+ dw $42a3
+ dw $573e
+ dw $5b80
+ dw $5c15
+ dw $5c7b
+ dw $5d25
+ dw $5e20
+ dw $5e72
+ dw $5e72
+ dw $5c4f
+ dw $5eb7
+ dw $4c65
+ dw $4d51
+ dw $5001
+ dw $5dd1
+ dw $53fd
+ dw $5442
+ dw $5529
+ dw $5e30
+ dw $55f6
+ dw $563e
+ dw $56b2
+ dw $57ff
+ dw $65ec
+ dw $6473
+ dw $586a
+ dw $5969
+ dw $47dd
+ dw $6677
+ dw $5791
+ dw $5554
+ dw $5c06
+ dw $5f62
+ dw $4974
+ dw $4bbe
+ dw $4e1b
+ dw $5219
+ dw $5451
+ dw $5704
+ dw $5704
+ dw $5704
+ dw $5704
+ dw $5ce5
+ dw $5f4f
+ dw $5cff
+ dw $5f2b
+ dw $619d
+ dw $5b55
+ dw $64f8
+ dw $5fcc
+ dw $61e2
+ dw $63ad
+ dw $585f
+ dw $599f
+ dw $61a9
+ dw $5ba6
+ dw $5ce1
+ dw $630b
+ dw $5d1e
+ dw $5d69
+ dw $5db4
+ dw $5dff
+ dw $5ee4
+ dw $4d00
+ dw $5a06
+ dw $4dfd
+ dw $56b2
+ dw $5fdf
+ dw $57af
+ dw $612d
+ dw $60ee
+ dw $57b4
+ dw $5ce5
+ dw $5ce5
+ dw $7d04
+ dw $7d71
+ dw $5CE5
+ dw $5CE5
+ dw $5CE5
+ dw $5CE5
+ dw $616F
+ dw $62CA
+ dw $6421
+
+incbin "baserom.gbc",$39E,$1627 - $39E
;XXX what does this do