Consistently format WRAM values (#476)

* Use `db` instead of `ds 1`

* Use a `UNION` for overlapping `db`/`dw`
This commit is contained in:
Sylvie 2024-10-07 12:03:48 -04:00 committed by GitHub
parent 678d014aef
commit a8f26148e3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -496,10 +496,13 @@ wPlayerMonMinimized:: db
ds 13
; number of hits by enemy in attacks like Double Slap, etc.
wEnemyNumHits:: ; db
UNION
; the amount of damage accumulated by the enemy while biding
wEnemyBideAccumulatedDamage:: dw
NEXTU
; number of hits by enemy in attacks like Double Slap, etc.
wEnemyNumHits:: db
ENDU
ds 8
wMiscBattleDataEnd::
@ -2137,7 +2140,7 @@ wSerialEnemyDataBlock:: ; ds $1a8
ds 9
wEnemyPartyCount:: ds 1
wEnemyPartyCount:: db
wEnemyPartySpecies:: ds PARTY_LENGTH + 1
wEnemyMons::