Skip to content

Commit

Permalink
This byte is written to, but not used (#471)
Browse files Browse the repository at this point in the history
it's written to in init_player_data.asm

```
	ld hl, wObtainedBadges
	ld [hli], a
	ld [hl], a
```
  • Loading branch information
Vortyne authored Sep 26, 2024
1 parent d5ee4fd commit af36156
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion engine/movie/oak_speech/init_player_data.asm
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ DEF START_MONEY EQU $3000

ld hl, wObtainedBadges
ld [hli], a

assert wObtainedBadges + 1 == wUnusedObtainedBadges
ld [hl], a

ld hl, wPlayerCoins
Expand Down
2 changes: 1 addition & 1 deletion ram/wram.asm
Original file line number Diff line number Diff line change
Expand Up @@ -1743,7 +1743,7 @@ wOptions:: db

wObtainedBadges:: flag_array NUM_BADGES

ds 1
wUnusedObtainedBadges:: db

wLetterPrintingDelayFlags:: db

Expand Down

0 comments on commit af36156

Please sign in to comment.