Skip to content

Commit a55bc33

Browse files
authored
Use features of RGBDS 1.0.0 (#1204)
- Use single-quoted character literals or `CHARVAL` when you need a character's numeric value; using strings as numbers is deprecated - Use `?` to silence a node in warning/error location backtraces - Use `===` and `!==` instead of `STRCMP`, and `++` instead of `STRCAT` - Use `__SCOPE__` instead of checking for `..` and `.` separately - Use `#string` instead of `"{string}"` - All programs (rgbasm, rgblink, rgbfix, rgbgfx) support `-W` warnings - `rgbgfx --colors dmg` is short for `rgbgfx --colors dmg=e4`
1 parent b91ba4f commit a55bc33

File tree

132 files changed

+829
-828
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

132 files changed

+829
-828
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
uses: actions/checkout@master
1717
with:
1818
path: rgbds
19-
ref: v0.9.3
19+
ref: v1.0.0
2020
repository: gbdev/rgbds
2121

2222
- name: Install rgbds

.rgbds-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.9.3
1+
1.0.0

FAQ.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,15 @@ You need to install `gcc`. If you're using Cygwin, re-run its setup, and at "Sel
4141

4242
### "ERROR: `UNION` already defined"
4343

44-
Download [**rgbds 0.9.3**][rgbds] or newer. Older versions will not work.
44+
Download [**rgbds 1.0.0**][rgbds] or newer. Older versions will not work.
4545

4646
### "ERROR: Macro not defined"
4747

48-
Download [**rgbds 0.9.3**][rgbds] or newer. Older versions will not work.
48+
Download [**rgbds 1.0.0**][rgbds] or newer. Older versions will not work.
4949

5050
### "Expression must be 8-bit"
5151

52-
Download [**rgbds 0.9.3**][rgbds] or newer. Older versions will not work.
52+
Download [**rgbds 1.0.0**][rgbds] or newer. Older versions will not work.
5353

5454
### "Segmentation fault" from `rgbgfx`
5555

INSTALL.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ Run setup and leave the default settings. At the "**Select Packages**" step, cho
4242

4343
Double click on the text that says "**Skip**" next to each package to select the most recent version to install.
4444

45-
Then follow the [**rgbds** instructions](https://rgbds.gbdev.io/install#pre-built) for Windows with Cygwin to install **rgbds 0.9.3**.
45+
Then follow the [**rgbds** instructions](https://rgbds.gbdev.io/install#pre-built) for Windows with Cygwin to install **rgbds 1.0.0**.
4646

47-
**Note:** If you already have an installed rgbds older than 0.9.3, you will need to update to 0.9.3. Ignore this if you have never installed rgbds before. If a version newer than 0.9.3 does not work, try downloading 0.9.3.
47+
**Note:** If you already have an installed rgbds older than 1.0.0, you will need to update to 1.0.0. Ignore this if you have never installed rgbds before. If a version newer than 1.0.0 does not work, try downloading 1.0.0.
4848

4949
Now open the **Cygwin terminal** and enter the following commands.
5050

@@ -67,7 +67,7 @@ Install [**Homebrew**](https://brew.sh/). Follow the official instructions.
6767

6868
Open **Terminal** and prepare to enter commands.
6969

70-
Then follow the [**rgbds** instructions](https://rgbds.gbdev.io/install#pre-built) for macOS to install **rgbds 0.9.3**.
70+
Then follow the [**rgbds** instructions](https://rgbds.gbdev.io/install#pre-built) for macOS to install **rgbds 1.0.0**.
7171

7272
Now you're ready to [build **pokecrystal**](#build-pokecrystal).
7373

@@ -84,7 +84,7 @@ To install the software required for **pokecrystal**:
8484
sudo apt-get install make gcc git
8585
```
8686

87-
Then follow the [**rgbds** instructions](https://rgbds.gbdev.io/install#building-from-source) to build **rgbds 0.9.3** from source.
87+
Then follow the [**rgbds** instructions](https://rgbds.gbdev.io/install#building-from-source) to build **rgbds 1.0.0** from source.
8888

8989
### OpenSUSE
9090

@@ -94,7 +94,7 @@ To install the software required for **pokecrystal**:
9494
sudo zypper install make gcc git
9595
```
9696

97-
Then follow the [**rgbds** instructions](https://rgbds.gbdev.io/install#building-from-source) to build **rgbds 0.9.3** from source.
97+
Then follow the [**rgbds** instructions](https://rgbds.gbdev.io/install#building-from-source) to build **rgbds 1.0.0** from source.
9898

9999
### Arch Linux
100100

@@ -104,7 +104,7 @@ To install the software required for **pokecrystal**:
104104
sudo pacman -S make gcc git rgbds
105105
```
106106

107-
If you want to compile and install **rgbds** yourself instead, then follow the [**rgbds** instructions](https://rgbds.gbdev.io/install#building-from-source) to build **rgbds 0.9.3** from source.
107+
If you want to compile and install **rgbds** yourself instead, then follow the [**rgbds** instructions](https://rgbds.gbdev.io/install#building-from-source) to build **rgbds 1.0.0** from source.
108108

109109
### Termux
110110

@@ -120,7 +120,7 @@ To install **rgbds**:
120120
pkg install rgbds
121121
```
122122

123-
If you want to compile and install **rgbds** yourself instead, then follow the [**rgbds** instructions](https://rgbds.gbdev.io/install#building-from-source) to build **rgbds 0.9.3** from source.
123+
If you want to compile and install **rgbds** yourself instead, then follow the [**rgbds** instructions](https://rgbds.gbdev.io/install#building-from-source) to build **rgbds 1.0.0** from source.
124124

125125
### Other distros
126126

@@ -131,7 +131,7 @@ If your distro is not listed here, try to find the required software in its repo
131131
- `git`
132132
- `rgbds`
133133

134-
If `rgbds` is not available, you'll need to follow the [**rgbds** instructions](https://rgbds.gbdev.io/install#building-from-source) to build **rgbds 0.9.3** from source.
134+
If `rgbds` is not available, you'll need to follow the [**rgbds** instructions](https://rgbds.gbdev.io/install#building-from-source) to build **rgbds 1.0.0** from source.
135135

136136
Now you're ready to [build **pokecrystal**](#build-pokecrystal).
137137

@@ -159,12 +159,12 @@ make crystal11
159159

160160
### Build with a local rgbds version
161161

162-
If you have different projects that require different versions of `rgbds`, it might not be convenient to install rgbds 0.9.3 globally. Instead, you can put its files in a directory within pokecrystal, such as `pokecrystal/rgbds-0.9.3/`. Then specify it when you run `make`:
162+
If you have different projects that require different versions of `rgbds`, it might not be convenient to install rgbds 1.0.0 globally. Instead, you can put its files in a directory within pokecrystal, such as `pokecrystal/rgbds-1.0.0/`. Then specify it when you run `make`:
163163

164164
```bash
165-
make RGBDS=rgbds-0.9.3/
165+
make RGBDS=rgbds-1.0.0/
166166
```
167167

168168
```bash
169-
make RGBDS=rgbds-0.9.3/ crystal11
169+
make RGBDS=rgbds-1.0.0/ crystal11
170170
```

Makefile

Lines changed: 38 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,11 @@ RGBFIX ?= $(RGBDS)rgbfix
4747
RGBGFX ?= $(RGBDS)rgbgfx
4848
RGBLINK ?= $(RGBDS)rgblink
4949

50+
RGBASMFLAGS ?= -Weverything -Wtruncation=1
51+
RGBLINKFLAGS ?= -Weverything -Wtruncation=1
52+
RGBFIXFLAGS ?= -Weverything
53+
RGBGFXFLAGS ?= -Weverything
54+
5055

5156
### Build targets
5257

@@ -104,7 +109,7 @@ tools:
104109
$(MAKE) -C tools/
105110

106111

107-
RGBASMFLAGS = -Q8 -P includes.asm -Weverything -Wtruncation=1
112+
RGBASMFLAGS += -Q8 -P includes.asm
108113
# Create a sym/map for debug purposes if `make` run with `DEBUG=1`
109114
ifeq ($(DEBUG),1)
110115
RGBASMFLAGS += -E
@@ -150,16 +155,17 @@ $(foreach obj, $(pokecrystal11_vc_obj), $(eval $(call DEP,$(obj),$(obj:11_vc.o=.
150155
endif
151156

152157

153-
pokecrystal_opt = -Cjv -t PM_CRYSTAL -i BYTE -n 0 -k 01 -l 0x33 -m MBC3+TIMER+RAM+BATTERY -r 3 -p 0
154-
pokecrystal11_opt = -Cjv -t PM_CRYSTAL -i BYTE -n 1 -k 01 -l 0x33 -m MBC3+TIMER+RAM+BATTERY -r 3 -p 0
155-
pokecrystal_au_opt = -Cjv -t PM_CRYSTAL -i BYTU -n 0 -k 01 -l 0x33 -m MBC3+TIMER+RAM+BATTERY -r 3 -p 0
156-
pokecrystal_debug_opt = -Cjv -t PM_CRYSTAL -i BYTE -n 0 -k 01 -l 0x33 -m MBC3+TIMER+RAM+BATTERY -r 3 -p 0
157-
pokecrystal11_debug_opt = -Cjv -t PM_CRYSTAL -i BYTE -n 1 -k 01 -l 0x33 -m MBC3+TIMER+RAM+BATTERY -r 3 -p 0
158-
pokecrystal11_vc_opt = -Cjv -t PM_CRYSTAL -i BYTE -n 1 -k 01 -l 0x33 -m MBC3+TIMER+RAM+BATTERY -r 3 -p 0
158+
RGBFIXFLAGS += -Cjv -t PM_CRYSTAL -k 01 -l 0x33 -m MBC3+TIMER+RAM+BATTERY -r 3 -p 0
159+
pokecrystal.gbc: RGBFIXFLAGS += -i BYTE -n 0
160+
pokecrystal11.gbc: RGBFIXFLAGS += -i BYTE -n 1
161+
pokecrystal_au.gbc: RGBFIXFLAGS += -i BYTU -n 0
162+
pokecrystal_debug.gbc: RGBFIXFLAGS += -i BYTE -n 0
163+
pokecrystal11_debug.gbc: RGBFIXFLAGS += -i BYTE -n 1
164+
pokecrystal11_vc.gbc: RGBFIXFLAGS += -i BYTE -n 1
159165

160166
%.gbc: $$(%_obj) layout.link
161-
$(RGBLINK) -n $*.sym -m $*.map -l layout.link -o $@ $(filter %.o,$^)
162-
$(RGBFIX) $($*_opt) $@
167+
$(RGBLINK) $(RGBLINKFLAGS) -l layout.link -n $*.sym -m $*.map -o $@ $(filter %.o,$^)
168+
$(RGBFIX) $(RGBFIXFLAGS) $@
163169
tools/stadium $@
164170

165171

@@ -206,35 +212,35 @@ gfx/pokemon/girafarig/front.animated.tilemap: gfx/pokemon/girafarig/front.2bpp g
206212

207213
### Pokemon and trainer sprite rules
208214

209-
gfx/pokemon/%/back.2bpp: rgbgfx += --columns
215+
gfx/pokemon/%/back.2bpp: RGBGFXFLAGS += --columns
210216
gfx/pokemon/%/back.2bpp: gfx/pokemon/%/back.png gfx/pokemon/%/normal.gbcpal
211-
$(RGBGFX) $(rgbgfx) --colors gbc:$(word 2,$^) -o $@ $<
217+
$(RGBGFX) $(RGBGFXFLAGS) --colors gbc:$(word 2,$^) -o $@ $<
212218
gfx/pokemon/%/front.2bpp: gfx/pokemon/%/front.png gfx/pokemon/%/normal.gbcpal
213-
$(RGBGFX) $(rgbgfx) --colors gbc:$(word 2,$^) -o $@ $<
219+
$(RGBGFX) $(RGBGFXFLAGS) --colors gbc:$(word 2,$^) -o $@ $<
214220
gfx/pokemon/%/normal.gbcpal: gfx/pokemon/%/front.gbcpal gfx/pokemon/%/back.gbcpal
215221
tools/gbcpal $(tools/gbcpal) $@ $^
216222

217-
gfx/trainers/%.2bpp: rgbgfx += --columns
223+
gfx/trainers/%.2bpp: RGBGFXFLAGS += --columns
218224
gfx/trainers/%.2bpp: gfx/trainers/%.png gfx/trainers/%.gbcpal
219-
$(RGBGFX) $(rgbgfx) --colors gbc:$(word 2,$^) -o $@ $<
225+
$(RGBGFX) $(RGBGFXFLAGS) --colors gbc:$(word 2,$^) -o $@ $<
220226

221227
# Egg does not have a back sprite, so it only uses front.gbcpal
222228
gfx/pokemon/egg/front.2bpp: gfx/pokemon/egg/front.png gfx/pokemon/egg/front.gbcpal
223-
gfx/pokemon/egg/front.2bpp: rgbgfx += --colors gbc:$(word 2,$^)
229+
gfx/pokemon/egg/front.2bpp: RGBGFXFLAGS += --colors gbc:$(word 2,$^)
224230

225231
# Unown letters share one normal.gbcpal
226232
unown_pngs := $(wildcard gfx/pokemon/unown_*/front.png) $(wildcard gfx/pokemon/unown_*/back.png)
227233
$(foreach png, $(unown_pngs),\
228234
$(eval $(png:.png=.2bpp): $(png) gfx/pokemon/unown/normal.gbcpal))
229-
gfx/pokemon/unown_%/back.2bpp: rgbgfx += --colors gbc:$(word 2,$^)
230-
gfx/pokemon/unown_%/front.2bpp: rgbgfx += --colors gbc:$(word 2,$^)
235+
gfx/pokemon/unown_%/back.2bpp: RGBGFXFLAGS += --colors gbc:$(word 2,$^)
236+
gfx/pokemon/unown_%/front.2bpp: RGBGFXFLAGS += --colors gbc:$(word 2,$^)
231237
gfx/pokemon/unown/normal.gbcpal: $(subst .png,.gbcpal,$(unown_pngs))
232238
tools/gbcpal $(tools/gbcpal) $@ $^
233239

234240

235241
### Misc file-specific graphics rules
236242

237-
gfx/pokemon/egg/unused_front.2bpp: rgbgfx += --columns
243+
gfx/pokemon/egg/unused_front.2bpp: RGBGFXFLAGS += --columns
238244

239245
gfx/pokemon/spearow/normal.gbcpal: tools/gbcpal += --reverse
240246
gfx/pokemon/fearow/normal.gbcpal: tools/gbcpal += --reverse
@@ -247,8 +253,8 @@ gfx/pokemon/porygon2/normal.gbcpal: tools/gbcpal += --reverse
247253

248254
gfx/trainers/swimmer_m.gbcpal: tools/gbcpal += --reverse
249255

250-
gfx/new_game/shrink1.2bpp: rgbgfx += --columns
251-
gfx/new_game/shrink2.2bpp: rgbgfx += --columns
256+
gfx/new_game/shrink1.2bpp: RGBGFXFLAGS += --columns
257+
gfx/new_game/shrink2.2bpp: RGBGFXFLAGS += --columns
252258

253259
gfx/mail/dragonite.1bpp: tools/gfx += --remove-whitespace
254260
gfx/mail/large_note.1bpp: tools/gfx += --remove-whitespace
@@ -258,17 +264,17 @@ gfx/mail/litebluemail_border.1bpp: tools/gfx += --remove-whitespace
258264

259265
gfx/pokedex/pokedex.2bpp: tools/gfx += --trim-whitespace
260266
gfx/pokedex/pokedex_sgb.2bpp: tools/gfx += --trim-whitespace
261-
gfx/pokedex/question_mark.2bpp: rgbgfx += --columns
267+
gfx/pokedex/question_mark.2bpp: RGBGFXFLAGS += --columns
262268
gfx/pokedex/slowpoke.2bpp: tools/gfx += --trim-whitespace
263269

264-
gfx/pokegear/pokegear.2bpp: rgbgfx += --trim-end 2
270+
gfx/pokegear/pokegear.2bpp: RGBGFXFLAGS += --trim-end 2
265271
gfx/pokegear/pokegear_sprites.2bpp: tools/gfx += --trim-whitespace
266272

267273
gfx/mystery_gift/mystery_gift.2bpp: tools/gfx += --trim-whitespace
268274

269275
gfx/title/crystal.2bpp: tools/gfx += --interleave --png=$<
270276
gfx/title/old_fg.2bpp: tools/gfx += --interleave --png=$<
271-
gfx/title/logo.2bpp: rgbgfx += --trim-end 4
277+
gfx/title/logo.2bpp: RGBGFXFLAGS += --trim-end 4
272278

273279
gfx/trade/ball.2bpp: tools/gfx += --remove-whitespace
274280
gfx/trade/game_boy.2bpp: tools/gfx += --remove-duplicates --preserve=0x23,0x27
@@ -299,21 +305,21 @@ gfx/battle_anims/rocks.2bpp: tools/gfx += --remove-whitespace
299305
gfx/battle_anims/skyattack.2bpp: tools/gfx += --remove-whitespace
300306
gfx/battle_anims/status.2bpp: tools/gfx += --remove-whitespace
301307

302-
gfx/player/chris.2bpp: rgbgfx += --columns
303-
gfx/player/chris_back.2bpp: rgbgfx += --columns
304-
gfx/player/kris.2bpp: rgbgfx += --columns
305-
gfx/player/kris_back.2bpp: rgbgfx += --columns
308+
gfx/player/chris.2bpp: RGBGFXFLAGS += --columns
309+
gfx/player/chris_back.2bpp: RGBGFXFLAGS += --columns
310+
gfx/player/kris.2bpp: RGBGFXFLAGS += --columns
311+
gfx/player/kris_back.2bpp: RGBGFXFLAGS += --columns
306312

307-
gfx/trainer_card/chris_card.2bpp: rgbgfx += --columns
308-
gfx/trainer_card/kris_card.2bpp: rgbgfx += --columns
313+
gfx/trainer_card/chris_card.2bpp: RGBGFXFLAGS += --columns
314+
gfx/trainer_card/kris_card.2bpp: RGBGFXFLAGS += --columns
309315
gfx/trainer_card/leaders.2bpp: tools/gfx += --trim-whitespace
310316

311317
gfx/overworld/chris_fish.2bpp: tools/gfx += --trim-whitespace
312318
gfx/overworld/kris_fish.2bpp: tools/gfx += --trim-whitespace
313319

314320
gfx/sprites/big_onix.2bpp: tools/gfx += --remove-whitespace --remove-xflip
315321

316-
gfx/battle/dude.2bpp: rgbgfx += --columns
322+
gfx/battle/dude.2bpp: RGBGFXFLAGS += --columns
317323

318324
gfx/font/unused_bold_font.1bpp: tools/gfx += --trim-whitespace
319325

@@ -336,12 +342,12 @@ gfx/mobile/stadium2_n64.2bpp: tools/gfx += --trim-whitespace
336342
### Catch-all graphics rules
337343

338344
%.2bpp: %.png
339-
$(RGBGFX) --colors dmg=e4 $(rgbgfx) -o $@ $<
345+
$(RGBGFX) --colors dmg $(RGBGFXFLAGS) -o $@ $<
340346
$(if $(tools/gfx),\
341347
tools/gfx $(tools/gfx) -o $@ $@ || $$($(RM) $@ && false))
342348

343349
%.1bpp: %.png
344-
$(RGBGFX) --colors dmg=e4 $(rgbgfx) --depth 1 -o $@ $<
350+
$(RGBGFX) --colors dmg $(RGBGFXFLAGS) --depth 1 -o $@ $<
345351
$(if $(tools/gfx),\
346352
tools/gfx $(tools/gfx) --depth 1 -o $@ $@ || $$($(RM) $@ && false))
347353

data/events/unown_walls.asm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ UnownWalls:
88
; entries correspond to UNOWNWORDS_* constants
99
list_start
1010
for x, NUM_UNOWN_WALLS
11-
li "{UNOWNWORD_{d:x}}"
11+
li #UNOWNWORD_{d:x}
1212
endr
1313
assert_list_length NUM_UNOWN_WALLS
1414

1515
MenuHeaders_UnownWalls:
1616
; entries correspond to UNOWNWORDS_* constants
1717
table_width UNOWN_WALL_MENU_HEADER_SIZE
1818
for x, NUM_UNOWN_WALLS
19-
DEF n = CHARLEN("{UNOWNWORD_{d:x}}")
19+
DEF n = CHARLEN(#UNOWNWORD_{d:x})
2020
db MENU_BACKUP_TILES ; flags
2121
menu_coords 9 - n, 4, 10 + n, 9
2222
endr

data/maps/attributes.asm

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ MACRO connection
3737
DEF _tgt = 0
3838
endc
3939

40-
if !STRCMP("\1", "north")
40+
if "\1" === "north"
4141
DEF _blk = \3_WIDTH * (\3_HEIGHT - MAP_CONNECTION_PADDING_WIDTH) + _src
4242
DEF _map = _tgt
4343
DEF _win = (\3_WIDTH + MAP_CONNECTION_PADDING_WIDTH * 2) * \3_HEIGHT + 1
@@ -48,7 +48,7 @@ MACRO connection
4848
DEF _len = \3_WIDTH
4949
endc
5050

51-
elif !STRCMP("\1", "south")
51+
elif "\1" === "south"
5252
DEF _blk = _src
5353
DEF _map = (CURRENT_MAP_WIDTH + MAP_CONNECTION_PADDING_WIDTH * 2) * (CURRENT_MAP_HEIGHT + MAP_CONNECTION_PADDING_WIDTH) + _tgt
5454
DEF _win = \3_WIDTH + MAP_CONNECTION_PADDING_WIDTH * 2 + 1
@@ -59,7 +59,7 @@ MACRO connection
5959
DEF _len = \3_WIDTH
6060
endc
6161

62-
elif !STRCMP("\1", "west")
62+
elif "\1" === "west"
6363
DEF _blk = (\3_WIDTH * _src) + \3_WIDTH - MAP_CONNECTION_PADDING_WIDTH
6464
DEF _map = (CURRENT_MAP_WIDTH + MAP_CONNECTION_PADDING_WIDTH * 2) * _tgt
6565
DEF _win = (\3_WIDTH + MAP_CONNECTION_PADDING_WIDTH * 2) * 2 - MAP_CONNECTION_PADDING_WIDTH * 2
@@ -70,7 +70,7 @@ MACRO connection
7070
DEF _len = \3_HEIGHT
7171
endc
7272

73-
elif !STRCMP("\1", "east")
73+
elif "\1" === "east"
7474
DEF _blk = (\3_WIDTH * _src)
7575
DEF _map = (CURRENT_MAP_WIDTH + MAP_CONNECTION_PADDING_WIDTH * 2) * _tgt + CURRENT_MAP_WIDTH + MAP_CONNECTION_PADDING_WIDTH
7676
DEF _win = \3_WIDTH + MAP_CONNECTION_PADDING_WIDTH * 2 + 1

data/pokemon/unown_words.asm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MACRO unownword
22
for n, CHARLEN(\1)
3-
db STRCHAR(\1, n) - "A" + FIRST_UNOWN_CHAR
3+
db CHARVAL(STRCHAR(\1, n)) - 'A' + FIRST_UNOWN_CHAR
44
endr
55
db -1
66
ENDM

engine/battle/anim_hp_bar.asm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ HPBarAnim_UpdateHPRemaining:
257257
.loaded_de
258258
push hl
259259
add hl, de
260-
ld a, " "
260+
ld a, ' '
261261
ld [hli], a
262262
ld [hli], a
263263
ld [hld], a

engine/battle/battle_transition.asm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ DEF BATTLETRANSITION_NO_CAVE EQU $10
55
DEF BATTLETRANSITION_NO_CAVE_STRONGER EQU $18
66
DEF BATTLETRANSITION_FINISH EQU $20
77

8-
DEF BATTLETRANSITION_SQUARE EQU "8" ; $fe
9-
DEF BATTLETRANSITION_BLACK EQU "9" ; $ff
8+
DEF BATTLETRANSITION_SQUARE EQU '8' ; $fe
9+
DEF BATTLETRANSITION_BLACK EQU '9' ; $ff
1010

1111
DoBattleTransition:
1212
call .InitGFX

0 commit comments

Comments
 (0)