Skip to content

Commit

Permalink
Convert a couple ds 2 to dw
Browse files Browse the repository at this point in the history
  • Loading branch information
vulcandth committed Nov 22, 2023
1 parent 1dcc16b commit d4d7b91
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions macros/ram.asm
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ MACRO box_struct
\1DefenseExp:: dw
\1SpeedExp:: dw
\1SpecialExp:: dw
\1DVs:: ds 2
\1DVs:: dw
\1PP:: ds NUM_MOVES
ENDM

Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion ram/hram.asm
Original file line number Diff line number Diff line change
Expand Up @@ -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::
Expand Down
2 changes: 1 addition & 1 deletion ram/wram.asm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d4d7b91

Please sign in to comment.