Unionize wSwitchMonBuffer

This commit is contained in:
mid-kid 2023-03-30 12:47:02 +02:00
parent c8e9a82190
commit 2fc7d17851

View File

@ -2002,8 +2002,15 @@ wSwitchItemBuffer:: ds 2 ; may store 1 or 2 bytes
SECTION UNION "Miscellaneous WRAM 1", WRAMX SECTION UNION "Miscellaneous WRAM 1", WRAMX
; switching pokemon in party ; switching pokemon in party
; may store NAME_LENGTH, PARTYMON_STRUCT_LENGTH, or MAIL_STRUCT_LENGTH bytes ; may store a name, partymon, or mail
wSwitchMonBuffer:: ds 48 wSwitchMonBuffer::
UNION
ds NAME_LENGTH
NEXTU
ds PARTYMON_STRUCT_LENGTH
NEXTU
ds MAIL_STRUCT_LENGTH
ENDU
SECTION UNION "Miscellaneous WRAM 1", WRAMX SECTION UNION "Miscellaneous WRAM 1", WRAMX