aboutsummaryrefslogtreecommitdiffstats
path: root/engine
diff options
context:
space:
mode:
authorVortyne <104168801+Vortyne@users.noreply.github.com>2024-09-25 23:02:15 -0400
committerGitHub <noreply@github.com>2024-09-25 22:02:15 -0500
commitaf36156a5bbd571f97378f10d1357b1da8f555cd (patch)
treefdf65e83ab6357514042a9f6e9ba568711bd8cb3 /engine
parentUse `const_skip` (diff)
downloadpokeyellow-af36156a5bbd571f97378f10d1357b1da8f555cd.tar.gz
pokeyellow-af36156a5bbd571f97378f10d1357b1da8f555cd.tar.xz
pokeyellow-af36156a5bbd571f97378f10d1357b1da8f555cd.zip
This byte is written to, but not used (#471)
it's written to in init_player_data.asm ``` ld hl, wObtainedBadges ld [hli], a ld [hl], a ```
Diffstat (limited to 'engine')
-rw-r--r--engine/movie/oak_speech/init_player_data.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/movie/oak_speech/init_player_data.asm b/engine/movie/oak_speech/init_player_data.asm
index 492e8068..6b0a1a11 100644
--- a/engine/movie/oak_speech/init_player_data.asm
+++ b/engine/movie/oak_speech/init_player_data.asm
@@ -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