mirror of
https://github.com/pret/pokegold-spaceworld.git
synced 2026-10-02 06:40:29 -04:00
e88fe24e15
This uses catch-all files like main.asm to reduce the total quantity and size of build objects (from 1.1 GB to 70 MB). --------- Co-authored-by: Rangi <35663410+Rangi42@users.noreply.github.com>
23 lines
346 B
NASM
23 lines
346 B
NASM
SECTION "Entry point", ROM0
|
|
nop
|
|
jp Init
|
|
|
|
|
|
SECTION "Global check value", ROM0
|
|
; The ROMs have incorrect global checksums, so set them here.
|
|
; RGBFIX only calculates checksums for the "correctheader" ROMs.
|
|
if DEF(_GOLD)
|
|
if DEF(_DEBUG)
|
|
dw $C621
|
|
else
|
|
dw $497E
|
|
endc
|
|
endc
|
|
if DEF(_SILVER)
|
|
if DEF(_DEBUG)
|
|
dw $2FC9
|
|
else
|
|
dw $7AB1
|
|
endc
|
|
endc
|