Minor fix in Makefile, add one PIKACHU_SPRITE_INDEX (#141)
Some checks failed
CI / build (push) Has been cancelled

This commit is contained in:
Narishma-gb 2025-11-22 18:13:55 +01:00 committed by GitHub
parent 123159cc39
commit 451b494284
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 2 deletions

1
.gitattributes vendored
View File

@ -6,6 +6,7 @@
*.asm text
# Denote all files that are truly binary and should not be modified.
*.bin binary
*.png binary
*.2bpp binary
*.1bpp binary

View File

@ -130,7 +130,7 @@ pokeyellow.gbc: RGBLINKFLAGS += -p 0x00
pokeyellow_debug.gbc: RGBLINKFLAGS += -p 0xff
pokeyellow_vc.gbc: RGBLINKFLAGS += -p 0x00
RGBFIXFLAGS += -cjsv -k 01 -l 0x33 -m MBC5+RAM+BATTERY -p 0 -r 03 -t "POKEMON YELLOW"
RGBFIXFLAGS += -cjsv -k 01 -l 0x33 -m MBC5+RAM+BATTERY -r 03 -t "POKEMON YELLOW"
pokeyellow.gbc: RGBFIXFLAGS += -p 0x00
pokeyellow_debug.gbc: RGBFIXFLAGS += -p 0xff
pokeyellow_vc.gbc: RGBFIXFLAGS += -p 0x00

View File

@ -38,7 +38,7 @@ VictoryRoad3FDefaultScript:
cp $1
jr nz, .handle_hole
ldh a, [hSpriteIndex]
cp $f ; Pikachu
cp PIKACHU_SPRITE_INDEX
jp z, .check_switch_hole
ld hl, wCurrentMapScriptFlags
set BIT_CUR_MAP_LOADED_1, [hl]