aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Unnebäck <linus@folkdatorn.se>2023-05-10 22:49:45 +0800
committerGitHub <noreply@github.com>2023-05-10 10:49:45 -0400
commitd3128b9a7ffab9d4d9b615acf9527ee2f1744749 (patch)
tree8072093df3146c9ea7ba7145f3cc74ec7277f253
parentUpdate `EndBug` to v9. (diff)
downloadpokeyellow-d3128b9a7ffab9d4d9b615acf9527ee2f1744749.tar.gz
pokeyellow-d3128b9a7ffab9d4d9b615acf9527ee2f1744749.tar.xz
pokeyellow-d3128b9a7ffab9d4d9b615acf9527ee2f1744749.zip
Make wCurrentBoxNum a byte instead of word (#414)
-rw-r--r--ram/wram.asm4
1 files changed, 3 insertions, 1 deletions
diff --git a/ram/wram.asm b/ram/wram.asm
index 4923ebca..ac382f79 100644
--- a/ram/wram.asm
+++ b/ram/wram.asm
@@ -1896,7 +1896,9 @@ wBoxItems:: ds PC_ITEM_CAPACITY * 2 + 1
; bits 0-6: box number
; bit 7: whether the player has changed boxes before
-wCurrentBoxNum:: dw
+wCurrentBoxNum:: db
+
+ ds 1
; number of HOF teams
wNumHoFTeams:: db