From d4d7b91aecf651b06d1f466ecc22b65da234a299 Mon Sep 17 00:00:00 2001 From: vulcandth Date: Wed, 22 Nov 2023 15:12:40 +0000 Subject: [PATCH] Convert a couple ds 2 to dw --- macros/ram.asm | 4 ++-- ram/hram.asm | 2 +- ram/wram.asm | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/macros/ram.asm b/macros/ram.asm index df5dcf909..5f2b8a6f5 100644 --- a/macros/ram.asm +++ b/macros/ram.asm @@ -23,7 +23,7 @@ MACRO box_struct \1DefenseExp:: dw \1SpeedExp:: dw \1SpecialExp:: dw -\1DVs:: ds 2 +\1DVs:: dw \1PP:: ds NUM_MOVES ENDM @@ -49,7 +49,7 @@ MACRO battle_struct \1Type2:: db \1CatchRate:: db \1Moves:: ds NUM_MOVES -\1DVs:: ds 2 +\1DVs:: dw \1Level:: db \1Stats:: \1MaxHP:: dw diff --git a/ram/hram.asm b/ram/hram.asm index 72e9e13a2..fc2f45bc3 100644 --- a/ram/hram.asm +++ b/ram/hram.asm @@ -173,7 +173,7 @@ hMoney:: ds 3 ; BCD number NEXTU ; some code zeroes this for no reason when writing a coin amount hUnusedCoinsByte:: db -hCoins:: ds 2 ; BCD number +hCoins:: dw ; BCD number ENDU hDivideBCDDivisor:: diff --git a/ram/wram.asm b/ram/wram.asm index 3deb114ac..ecd0602bc 100644 --- a/ram/wram.asm +++ b/ram/wram.asm @@ -1904,7 +1904,7 @@ wNumHoFTeams:: db wUnusedD5A3:: db -wPlayerCoins:: ds 2 ; BCD +wPlayerCoins:: dw ; BCD ; bit array of missable objects. set = removed wMissableObjectFlags:: flag_array $100