Skip to content

Commit 451b494

Browse files
authored
Minor fix in Makefile, add one PIKACHU_SPRITE_INDEX (#141)
1 parent 123159c commit 451b494

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
*.asm text
77

88
# Denote all files that are truly binary and should not be modified.
9+
*.bin binary
910
*.png binary
1011
*.2bpp binary
1112
*.1bpp binary

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ pokeyellow.gbc: RGBLINKFLAGS += -p 0x00
130130
pokeyellow_debug.gbc: RGBLINKFLAGS += -p 0xff
131131
pokeyellow_vc.gbc: RGBLINKFLAGS += -p 0x00
132132

133-
RGBFIXFLAGS += -cjsv -k 01 -l 0x33 -m MBC5+RAM+BATTERY -p 0 -r 03 -t "POKEMON YELLOW"
133+
RGBFIXFLAGS += -cjsv -k 01 -l 0x33 -m MBC5+RAM+BATTERY -r 03 -t "POKEMON YELLOW"
134134
pokeyellow.gbc: RGBFIXFLAGS += -p 0x00
135135
pokeyellow_debug.gbc: RGBFIXFLAGS += -p 0xff
136136
pokeyellow_vc.gbc: RGBFIXFLAGS += -p 0x00

scripts/VictoryRoad3F.asm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ VictoryRoad3FDefaultScript:
3838
cp $1
3939
jr nz, .handle_hole
4040
ldh a, [hSpriteIndex]
41-
cp $f ; Pikachu
41+
cp PIKACHU_SPRITE_INDEX
4242
jp z, .check_switch_hole
4343
ld hl, wCurrentMapScriptFlags
4444
set BIT_CUR_MAP_LOADED_1, [hl]

0 commit comments

Comments
 (0)