diff options
| author | Linus Unnebäck <linus@folkdatorn.se> | 2023-05-10 22:49:45 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-10 10:49:45 -0400 |
| commit | d3128b9a7ffab9d4d9b615acf9527ee2f1744749 (patch) | |
| tree | 8072093df3146c9ea7ba7145f3cc74ec7277f253 /ram | |
| parent | Update `EndBug` to v9. (diff) | |
| download | pokeyellow-d3128b9a7ffab9d4d9b615acf9527ee2f1744749.tar.gz pokeyellow-d3128b9a7ffab9d4d9b615acf9527ee2f1744749.tar.xz pokeyellow-d3128b9a7ffab9d4d9b615acf9527ee2f1744749.zip | |
Make wCurrentBoxNum a byte instead of word (#414)
Diffstat (limited to 'ram')
| -rw-r--r-- | ram/wram.asm | 4 |
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 |
