aboutsummaryrefslogtreecommitdiff
path: root/init.gbasm
diff options
context:
space:
mode:
authorAstatin <[email protected]>2025-04-29 11:40:31 +0200
committerAstatin <[email protected]>2025-04-29 11:40:31 +0200
commit7faf16e4453f935ee1159d32ddc2a6501ea91bbb (patch)
tree5719a1f712ec896e41b3e4773322ffb083d132d0 /init.gbasm
parentfb689cdc68b8d1da3d988da43671bd0ddb063e88 (diff)
Give a turn for the enemies to turn around when bunny is behind them
Diffstat (limited to 'init.gbasm')
-rw-r--r--init.gbasm24
1 files changed, 20 insertions, 4 deletions
diff --git a/init.gbasm b/init.gbasm
index e3296de..e4706e9 100644
--- a/init.gbasm
+++ b/init.gbasm
@@ -13,15 +13,31 @@ Start:
JP =Initialize_RAM
.PADTO 0x0104
-Nintendo_Logo: ; The Nintendo logo must be stored in bytes 0x104-133
+Header:
+.Nintendo_Logo: ; The Nintendo logo must be stored in bytes 0x104-133
.DB $CE,$ED,$66,$66,$CC,$0D,$00,$0B,$03,$73,$00,$83,$00,$0C,$00,$0D
.DB $00,$08,$11,$1F,$88,$89,$00,$0E,$DC,$CC,$6E,$E6,$DD,$DD,$D9,$99
.DB $BB,$BB,$67,$63,$6E,$0E,$EC,$CC,$DD,$DC,$99,$9F,$BB,$B9,$33,$3E
.PADTO 0x0134
-Checksum: ; The bytes 0x134-0x14d need to add up to 0xe7 (= 0xff - 0x19)
- .DB $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
- .DB $00,$00,$00,$00,$00,$00,$00,$00,$00,$e7
+
+.Title:
+.PADTO 0x13f
+
+.Manufacturer_code:
+.PADTO 0x142
+
+.CGB_Flag: .DB $69
+.Licensee_code_new: .DB $00, $00
+.SGB_Flag: .DB $00
+.MBC: .DB $01
+.ROM_size: .DB $00
+.RAM_size: .DB $00 ; The .sav cartridge kind of ram
+.Destination_code: .DB $01 ; Overseas
+.Licensee_code_old: .DB $00
+.Version_number: .DB $42
+.Header_checksum: .DB $00 ; Will be set after assembly by build scripts
+.Global_checksum: .DB $00, $00 ; Will be set after assembly by build scripts
Initialize_RAM:
; Disable Interrupts