You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
macros/wram.asm uses db for one-byte values (like box_struct Species) and dw for two-byte values (like box_struct HPExp), leaving ds for larger values (like ds 3 for box_struct Exp) and free space. Meanwhile, wram.asm never uses dw and only uses db for wWaterRate and wWaterMons.
It could also use more UNIONs for overlapping values (like $60-byte wMonPartySpritesSavedOAM, $40-byte wTrainerCardBlkPacket, and many subsequent single bytes).
The text was updated successfully, but these errors were encountered:
macros/wram.asm uses
db
for one-byte values (likebox_struct Species
) anddw
for two-byte values (likebox_struct HPExp
), leavingds
for larger values (likeds 3
forbox_struct Exp
) and free space. Meanwhile, wram.asm never usesdw
and only usesdb
forwWaterRate
andwWaterMons
.It could also use more
UNION
s for overlapping values (like $60-bytewMonPartySpritesSavedOAM
, $40-bytewTrainerCardBlkPacket
, and many subsequent single bytes).The text was updated successfully, but these errors were encountered: